Click here to Skip to main content
14,977,910 members
Everything / Game Development

Game Development

game

Great Reads

by Adam David Hill
All the juicy tricks and scandalous shortcuts which helped us ship our competition game on time
by Marcelo Ricardo de Oliveira
A shoot'n'up HTML5 game made with Phaser game framework
by Petar Brkusanin
An example of how Decorator, Dependency Injection, and Composition Root patterns can be used to extend the base game functionality.
by CMalcheski
Thinking outside the box can result in critical performance gains

Latest Articles

by Steve Hoult
Creation of an Audio analysis framework to enable developers with little to no understanding of audio analysis to develop audio-driven games
by Mehedi Shams
An eye-teaser to tease your eyes, see if you can beat it!
by jespa007
Example game engine by using SDL2 and ZetScript
by VisualMonsters
Simple game "table football", you can easily create and play with your friends and family

All Articles

Sort by Score

Game Development 

Please Sign up or sign in to vote.
7 Jan 2013
Adam David Hill
All the juicy tricks and scandalous shortcuts which helped us ship our competition game on time
Please Sign up or sign in to vote.
26 Nov 2017
Marcelo Ricardo de Oliveira
A shoot'n'up HTML5 game made with Phaser game framework
Please Sign up or sign in to vote.
9 Dec 2013
Petar Brkusanin
An example of how Decorator, Dependency Injection, and Composition Root patterns can be used to extend the base game functionality.
Please Sign up or sign in to vote.
4 Oct 2017
CMalcheski
Thinking outside the box can result in critical performance gains
Please Sign up or sign in to vote.
12 Nov 2012
HoshiKata
Practical on the fly fast mesh generation from arbitrary points.
Please Sign up or sign in to vote.
14 Apr 2021
Anurag Gandhi
A group Sudoku game to demonstrate the usage of SignalR in AngularJs application
Please Sign up or sign in to vote.
27 May 2020
Theo Kand
An original AngularJS implementation of the most famous video game ever
Please Sign up or sign in to vote.
3 Jan 2013
WebMaster
hi s.oztrk,I think firstly u should research on how to recognize speech in Android.Try google with this keywords "sound recognition android"I've found some good...
Please Sign up or sign in to vote.
6 Jun 2021
KristianEkman
An online Angular, .NET 5 Web API, SQL Server on Azure backgammon game
Please Sign up or sign in to vote.
7 Apr 2017
Marco-Hans Van Der Willik
This article continues with the development of the SOLID Poker project, and covers functionality to Compare and Validate Poker Hands.
Please Sign up or sign in to vote.
24 Jun 2019
Thomas Daniels
This article describes the making of a tic tac toe player that uses neural networks and machine learning.
Please Sign up or sign in to vote.
27 May 2014
Mohd Akram
Java Tic Tac Toe (AI based)
Please Sign up or sign in to vote.
15 Jul 2021
Steve Hoult
Creation of an Audio analysis framework to enable developers with little to no understanding of audio analysis to develop audio-driven games
Please Sign up or sign in to vote.
8 Aug 2012
Tyler Forsythe
IceCream1945 is a demonstration of XNA and the IceCream 2D library in a 2D top-down scrolling shooter similar to 1942 for the NES.
Please Sign up or sign in to vote.
3 Dec 2012
Adam David Hill
Sensor-controlled XNA tunnel game with VR head-tracking.
Please Sign up or sign in to vote.
14 Nov 2013
Alexander SchuIze, Felix Herbst, Paul Kirsten
Multi-User game for AIO where players build their own spider's web
Please Sign up or sign in to vote.
6 Oct 2020
Christ Kennedy
A graphically bouncy and colorful version of the popular numbers tile-sliding game
Please Sign up or sign in to vote.
6 Jan 2019
Mehedi Shams
Crossword creator - with a touch of Unicode Logic!
Please Sign up or sign in to vote.
4 Jun 2012
Manas Bhardwaj
First part of an attempt to create Snake and Ladders using HTML5.
Please Sign up or sign in to vote.
26 May 2015
Vahe Karamian
This article will cover the basics of network programming using Network View in Unity 3D. We will be creating an Authoritative Server based networking environment showcasing the basics functions of network programming using Unity 3D and C#.
Please Sign up or sign in to vote.
21 Nov 2017
Tobs88
This article is about the Entity-Component-System (ECS). It is a design pattern which allows you great flexibility in designing your overall software architecture.
Please Sign up or sign in to vote.
24 Aug 2011
OriginalGriff
Look at the Socket class[^]"hey OriginalGriff can u please explain in a bit more detail ... . I'm new to programming ... not able to understand how can I make a Tic Tac Toe Game that can be played on LAN"It's a bit too detailed to go into here - but there is a good tutorial on it...
Please Sign up or sign in to vote.
13 Mar 2019
Oana Mancu
Any deterministic game can be broken down to its core functionalities. By understanding them, one can implement fundamental algorithms such as Minimax (with alpha beta pruning), thus paving the way towards a better AI opponent.
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Attacking enemies, health system and death animation in Unity
Please Sign up or sign in to vote.
11 Jan 2021
EgorYusov
An introduction to ray tracing API in Diligent Engine
Please Sign up or sign in to vote.
31 Jul 2012
Kenneth Haugland
How to calculate a reverbration time in a room
Please Sign up or sign in to vote.
8 Sep 2017
CoderGirl42
An extensible procedural generation framework
Please Sign up or sign in to vote.
21 Nov 2017
Tobs88
This article is about a game based on the ECS implementation from the first part of the series.
Please Sign up or sign in to vote.
2 Sep 2014
Simon Jackson
Mastering Unity 2D Game Development – AI and State Machines
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Going through the Unity Ball tutorial
Please Sign up or sign in to vote.
8 Feb 2021
Uzi Granot
If you are a programmer that tried to introduce a kid to programming with Scratch, this article is for you. Comparing a simple game between Scratch and C#.
Please Sign up or sign in to vote.
9 Jul 2010
Nanung
Developing a drag and drop technique in a simple puzzle game application.
Please Sign up or sign in to vote.
30 Jan 2011
Espen Harlinn
>> What language should is use? If you know C++, you'll probably be better of sticking with it, but c# is an option.>> What compiler should i use? Microsoft Visual C++ enjoys better support than any other compiler, even by open source projects>> Do i really have to learn a new...
Please Sign up or sign in to vote.
16 Jan 2013
Simon Jackson
Some of the other frameworks which use XNA as a baseline.
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to create weapon ammo in Unity
Please Sign up or sign in to vote.
24 Dec 2019
NickNs1991
Rapid Roll game in C#
Please Sign up or sign in to vote.
6 Jul 2021
VisualMonsters
Simple game "table football", you can easily create and play with your friends and family
Please Sign up or sign in to vote.
30 Jan 2011
OriginalGriff
What language should is use?Depends really: Games generally need speed, and to be portable to multiple platforms. If you are looking at Linux based systems to start off with, then C# is not a good choice - you would need Mono on each platform in order to play it. C++ is a good start.I would...
Please Sign up or sign in to vote.
30 Jan 2011
Henry Minute
It is certainly possible to write games in C++. It can be hard work though. One advantage of doing it is that you will, hopefully, learn a lot about Windows internals. Google for c++ writing games and you will get loads of useful tutorials as well as loads of advice, both for and against.You...
Please Sign up or sign in to vote.
20 Apr 2011
OriginalGriff
Don't use picture boxes at all. Handle the Paint event for your form or panel, and paint on the appropriate bitmaps or blobs. Picture boxes may seem to make it easier, but that's a lot of controls to play with - and it will slow things down.If you paint it yourself, collision detection...
Please Sign up or sign in to vote.
24 Aug 2011
Dalek Dave
In the name of all that is bacon, download vb.net or c#.net and use a current language!You may as well program in something that is used today as opposed to tech equivalent of cuniform.
Please Sign up or sign in to vote.
2 Dec 2011
Vasily Tserekh
Correctly managing screen resolutions in game programming
Please Sign up or sign in to vote.
18 Jul 2013
SoMad
You are fighting the classic Windows timer resolution issue. With a twist.By default, the timer resolution in Windows is 15.6ms, which means that when you start a periodic timer, specifying a 16.7ms interval, you might receive your next event exactly when you expect it or delayed by as much as...
Please Sign up or sign in to vote.
23 Jun 2015
Kel_
A game of life "MMO", with a persistent simulation running on the server.
Please Sign up or sign in to vote.
5 Dec 2014
Nabeel Saleem
Some ways to fix unity webplayer issue in chrome
Please Sign up or sign in to vote.
6 Dec 2019
Vahe Karamian
Programming in itself is no small task. Graphics programming complicate things a tab-bit more!
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to create a VERY simple first person shooter
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Fixing Game Object Collider in Unity
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to create game over UI in Unity
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to create the Game End state and Game Over animation
Please Sign up or sign in to vote.
14 Oct 2017
IAmJoshChang
How to add missing audio, UI, and create enemy victory state
Please Sign up or sign in to vote.
17 Mar 2010
Avi Berger
Your logic isn't right for what it appears you want to do. You are not iterating through the two lists the way that you think you are. Once I started in on your code, I ended up doing a bit more than I intended. You will want to compare what I did with your own and figure out the reason for all...
Please Sign up or sign in to vote.
30 Aug 2010
paladin_t
Use Twiggery as JavaME Game Scripting Language
Please Sign up or sign in to vote.
20 Apr 2011
musefan
Don't use picture boxes!Create a tile class and store a collection (Grid) of tile classes. Each one knows how to draw itself given a graphics object (which you will pass from the Paint event of your panel - the panel will be used to draw all graphics)Collision detection should then be...
Please Sign up or sign in to vote.
28 Apr 2011
Abhinav S
This discussion could help.
Please Sign up or sign in to vote.
28 Apr 2011
Sergey Alexandrovich Kryukov
Yes, SendKey is very limited.First of all, think why would you need to simulate a key input. Normal UI development never requires it. This is only used for creation of some system tricks, suck as playing back keyboard macro or Virtual Keyboard.The comprehensive way of simulation input is...
Please Sign up or sign in to vote.
14 Dec 2016
Simon Jackson
How to convert DirectX .X files for use in games
Please Sign up or sign in to vote.
17 Feb 2013
Sergey Alexandrovich Kryukov
It really depends on your UI library and what you call rendering. In WPF, for example, rendering is already a thread separate from UI thread. I don't think this is a correctly posed question. In all cases, you should separate the game scenario from UI. Then you just have to render the scene in...
Please Sign up or sign in to vote.
3 Sep 2013
xenotron
Collision detection is a very huge topic. Probably you would be okay with a very small and simple collision detector but currently it seems you can't write one for yourself and I doubt that you want to read a book on collision detection or want to learn the difficult math to solve your problem....
Please Sign up or sign in to vote.
12 Feb 2014
Simon Jackson
Unity Multiplayer Games - a review
Please Sign up or sign in to vote.
17 Jun 2014
Sergey Alexandrovich Kryukov
You are right; this is a more general thing: how to make common mathematical conceptions, structures/algorithms and design patterns in general programming and apply the same ideas to different projects; how to identify that the problem requires applications of some common patterns, structures,...
Please Sign up or sign in to vote.
24 Jun 2015
Sergey Alexandrovich Kryukov
There are too many language possibilities to discuss the selection of language seriously. Essentially, it could be any general-purpose universal language, plus there are some game-oriented domain-specific languages. You probably have to start with considering your experience and even personal...
Please Sign up or sign in to vote.
23 Jun 2015
Suvendu Shekhar Giri
Have you tried searching this in Google prior to post here?Thare are many laguages used develop games but I would rather prefer to use that language what I know already or the kind of language I already know. It also depend upons what kind of game you want to develop, what is your target...
Please Sign up or sign in to vote.
31 May 2017
Simon Jackson
How to get started with MonoGame using XML
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to create AI movements for enemies in Unity
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Survival shooter - tutorial II
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Survival Shooter - tutorial I
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Going through the Unity Space Shooter
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Going through the Unity space shooter tutorial
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to use a real gun model in Unity
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to create a spawning system for enemies in Unity
Please Sign up or sign in to vote.
29 Nov 2017
EgorYusov
This article describes Unity low-level plugin interface and the Unity graphics interface emulator that facilitates native plugin development.
Please Sign up or sign in to vote.
8 Apr 2021
CPallini
Change from Quote: int coumputerinput = r.nextInt(3); to int coumputerinput = r.nextInt(3) + 1; because r.nextInt(3) may return either 0, or 1, or 2. See Random (Java Platform SE 8 )[^].
Please Sign up or sign in to vote.
1 May 2016
Majdi Sobain
2D games programming simplicity using RingAllegro Library
Please Sign up or sign in to vote.
1 Apr 2010
CPallini
I suppose there isn't a university degree for 'Game Design'.Moreover, since, you know, game development is a broad activity the skills required may vary. A good IT engineering degree may be a start point. :)
Please Sign up or sign in to vote.
6 May 2010
William Winner
Here's what your design process could look like:Decide what you want the game to doFigure out how to do itImplement your solution
Please Sign up or sign in to vote.
19 May 2010
Dalek Dave
You already have.I am puzzled by your question.
Please Sign up or sign in to vote.
14 Jul 2010
#realJSOP
My question back to you is, why can't you harvest the links yourself? Coming here to ask us to google *for* you is pretty much the most idiotic thing I've witnessed here on CodeProject.
Please Sign up or sign in to vote.
30 Jan 2011
CPallini
Use C++ if you're developing games for desktop PC. As far as I know professional game developers doesn't like the possibility of a garbage collection cycle in midst of program execution (they don't like the unpredictability of it - They might be wrong and this attitude will probably change). The...
Please Sign up or sign in to vote.
22 Apr 2011
Awesomedudei
Hello there , I would like to know how to create an simple Overlay in C# , for example as in Fraps , Mumble , Teamspeak they have an Overlay when you are in a Fullscreen Game.I want to create an overlay but in C# , Iknow they use C++ for this measure but i cannot rebuild my whole program...
Please Sign up or sign in to vote.
29 Nov 2011
OriginalGriff
"this is hangman for one person and i need u to make it for 2 players the points will go like this : find a letter= 10 find the word= 50 every time the program asks who will play and at the end asks "want another match?" and when the answer is no then it stops and gives the result of...
Please Sign up or sign in to vote.
18 Jan 2012
Fapsterx
3 alternatives  
I am trying to send keys to a background application and I cannot seem to get it to work :(I can make my application send keys to another application, by making my application bring the other application to the front, but I can't seem to make is send it to a non active window. Could anyone...
Please Sign up or sign in to vote.
19 Jan 2012
johannesnestler
Hi Fapsterx,This should give you an idea. Your problem is: most times you can not send an input to the main window of an application. Most applications use some kind of child-window for editing (a TextBox, whatever).So you can only send input messages to those. But how to find them?...
Please Sign up or sign in to vote.
15 Feb 2012
aidin Tajadod
yes, look at this linkhttp://msdn.microsoft.com/en-us/library/system.codedom.compiler.codedomprovider.aspx[^]or search for "c# codedomprovider" in google.
Please Sign up or sign in to vote.
2 Apr 2012
Reza Ahmadi
hi,here is a simple source code and step-by-step creation of a simple break-out game using C#:http://garg.web.nowhere-else.org/web/tutorials/[^]another breakout game using C#:http://www.gamespp.com/directx/spaceBreakOutDirectXSourceCode.html[^]In order to learn more you can...
Please Sign up or sign in to vote.
7 Jul 2012
CJ Kent
Create an Interpolating Timer and use it to fade textures in and out in XNA 4.0
Please Sign up or sign in to vote.
11 Jul 2012
OriginalGriff
:laugh:Tha...
Please Sign up or sign in to vote.
13 Aug 2012
Dustin Halstead
Hark back to the days of text based adventure games, and simple PC, speaker sound.
Please Sign up or sign in to vote.
22 Sep 2012
Wes Aday
Plenty of resources to look at right here on CP[^]
Please Sign up or sign in to vote.
5 Nov 2012
Simon Jackson
XNA to UnityXNA and beyond
Please Sign up or sign in to vote.
8 Jan 2013
sandeepkumar.sgnr
Journey of Windows 8 game SkyWar for Intel App Up competition
Please Sign up or sign in to vote.
28 Jan 2013
Dave Kreskowiak
You don't store the movements of every frame. You store the positions, referred to as "keyframes" for various pieces to move to. Your animation engine then has to figure out the intermediate positions of the various parts based on the amount of time it should take to move the parts to those...
Please Sign up or sign in to vote.
18 Jul 2013
Alan N
Yes I can see this jittering effect on my computer too, or to be more accurate I could when a programme was being recorded from the USB digital TV tuner. Now that has stopped and the tuner has been unplugged the timer is quite regular. I was seeing SignalTime intervals of either 15.625ms or...
Please Sign up or sign in to vote.
20 Dec 2013
Sergey Alexandrovich Kryukov
Please see my comment to the question. If this is really a console, a text console in a standard console-only application type, there is no "refresh" or some usual even-oriented features. You should simply redraw the whole console "screen" again, the same way as you did it before modification of...
Please Sign up or sign in to vote.
20 Dec 2013
CPallini
In order to accomplish your task you might use the Console Functions[^] on Windows, and ncurses on Linux (see, for instance "NCURSES-Programming-HOWTO"[^].
Please Sign up or sign in to vote.
2 Jan 2014
Vidyasagar Machupalli
How my first game went from start to store
Please Sign up or sign in to vote.
25 Mar 2014
CPallini
Even if you limit yourself to the collision of rectangles, the actual physics is not simple, see, for instance this page: MyPhysicsLab – Rigid Body Collisions[^]. For more complex shapes things start becoming interesting...[^].
Please Sign up or sign in to vote.
13 Apr 2014
Simon Jackson
MonoGame 3.2 NuGet packages are GO!
Please Sign up or sign in to vote.
29 Apr 2014
Simon Jackson
Unity 2D Game Development - A Review
Please Sign up or sign in to vote.
17 Jun 2014
Sander Rossel
3 alternatives  
Hi all,I have a question on game programming. I am not a game programmer myself (and in fact I was never very interested in most of it), but I do have a question.Of course I would Google it, but I can't seem to find what I'm looking for (and that's actually the problem, I don't know what I'm...
Please Sign up or sign in to vote.
17 Jun 2014
PIEBALDconsult
"that kind of branching logic" "I can't imagine the source code of a game consists for 90% of if-statements"Correct. Some very simple games (like ones I've written) can be done like that, but not the type you describe.But think toward Object Oriented Programming...Let's say there is...
Please Sign up or sign in to vote.
17 Jun 2014
Paulo Zemek
Actually there are many ways to do that, but let's split things:1 - Where are the things stored?Maybe into a database. Maybe in memory. Maybe on a text file.Actually, if the game is multiplayer there are big chances that a database is used. If not, it is probably stored in a file (be it...
Please Sign up or sign in to vote.
4 Mar 2015
Stephen Hewison
There is no way to stop the user from viewing/debugging your JS code.You can obfuscate and minimise your code to make it harder to read but harder is not impossible.The only way to ensure the security of such a game is to make sure all the decisions about awards are done server...
Please Sign up or sign in to vote.
15 Apr 2016
Android on Intel
Whether you are looking for an entire game engine to develop your idea into a game, or an efficient easy-to-use video codec to deploy full motion video, this list will guide you to the best middleware to use while developing your game for Intel® architecture.
Please Sign up or sign in to vote.
28 Dec 2016
Ramza360
In the AI method, you're allowing multiple choices since there are more than one if blocks. So any of the if blocks can evaluate to true, setting the additional 'O'.You have potentially 10 points due to the 10 if blocks, most likely they all would not evaluate as true (this includes the else...
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to set up a weapon
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to create a character in a first person shooter
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Going through the Unity Space Shooter - tutorial II
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
Adding shooting, hit, and more walking sound effects!
Please Sign up or sign in to vote.
10 Oct 2017
IAmJoshChang
How to shoot with a gun in Unity
Please Sign up or sign in to vote.
11 Oct 2017
IAmJoshChang
How to create waves for spawning system in Unity
Please Sign up or sign in to vote.
10 Apr 2018
Richard MacCutchan
game programming - Google Search[^]
Please Sign up or sign in to vote.
10 Apr 2018
Member 13769169
Game development takes a lot more than just knowing the language. You'll hardly ever have one source to learn. There are books available to get you pretty far, but most require you to know something that isn't covered or require third-party components that could cost you money. Here's one: Game...
Please Sign up or sign in to vote.
12 Jun 2019
Thomas Daniels
That is a huge project. You'll have to do/write... Graphics design. In 3D, even. Start at the Unity manual[^] for this. I don't know how fancy you'd like your game to be, but there's a lot of Graphics material to go through. The game client code. Again the Unity manual can be your starting...
Please Sign up or sign in to vote.
21 Oct 2019
NickNs1991
An example of a simple sliding puzzle game in C#
Please Sign up or sign in to vote.
28 Mar 2020
OriginalGriff
Use the debugger and find out what numbers you are dealing with: what values are in this.Width, Resources.vhappy.Width, this.Height, and Resources.vhappy.Height while your code is running. When you know that, you can tell how large the values...
Please Sign up or sign in to vote.
23 Oct 2020
Mohssine EL HARFI
CheatCodeLite to trigger events when a cheat code is caught using keyboard
Please Sign up or sign in to vote.
10 Dec 2020
André Marcos, LaercioMBR
An overview of the development process of an online platform to facilitate community driven data cataloging and management.
Please Sign up or sign in to vote.
14 Apr 2019
Christ Kennedy
si latine discis ludum verborum habere debes
Please Sign up or sign in to vote.
29 Jul 2010
Sandeep Mewara
Well, don't you think it is a little vague question. Yet, here are few options:1. Silverlight2. Flash3. GameMaker, etcJust refer this link of Google[^] and you will find what all are possible....1 & 2 was necessary to mention, assuming this question was asked here in CodeProject :)
Please Sign up or sign in to vote.
16 Aug 2010
AspDotNetDev
You should read a book on WPF. What language are you using, VB.Net or C#? Assuming C#, you can download Visual C# Express 2010 for free. You can use that to get started creating a WPF application. You would use an Image control for an image. Move the nuts using UI events and animation logic.
Please Sign up or sign in to vote.
5 Sep 2010
CPallini
You may store the charachters in an array, e.g.const char col[]={'R','Y','G','B'};then use the rand function to select the index of the character:int r = rand() % sizeof(col); For instance:int i;for (i=0; i
Please Sign up or sign in to vote.
15 Sep 2010
E.F. Nijboer
Maybe this is something for youCustom Button with Color and Shape[^]Good luck!
Please Sign up or sign in to vote.
18 Nov 2010
JF2015
Hi,I would recommend you to use the XNA Game Studio. This allows you to create games with .NET and C#.Here are some articles:http://www.codeproject.com/KB/game/XNASnookerClub.aspx[^]http://www.codeproject.com/KB/game/xna1.aspx[^]For more information please use Google.
Please Sign up or sign in to vote.
4 Jan 2011
#realJSOP
Part of being a programmer is being able to analyze the problem, and then design and implement the solution. If you ask someone else what *they* would do, then it becomes that person's solution instead of yours. How are going to learn from doing what someone else would do?Lastly, you should...
Please Sign up or sign in to vote.
4 Feb 2011
Scott Philip Brown
This is an implementation of Conway's Game of Life using F# and SDL.NET
Please Sign up or sign in to vote.
11 Apr 2011
Henry Minute
Firstly, try to avoid using the PictureBox control if you can. You will be far better off drawing directly onto the surface of a control derived from a Panel or even a UserControl.Set the BackColor property to Transparent (From Web Colors not System Colors) then in the constructor for your...
Please Sign up or sign in to vote.
19 Apr 2011
Prerak Patel
You should post this on GameDev, or IndieGamer. Here not many are into game development.
Please Sign up or sign in to vote.
20 Apr 2011
Nish Nishant
As always there's an SO thread discussing just this:http://stackoverflow.com/questions/1901974/unreal-engine-3-vs-id-tech-3-vs-unity[^]
Please Sign up or sign in to vote.
22 Jul 2011
jsharrison
Hi, I the main bug I can find in your code is that in the timer tick routine you are not invalidating the form, which means the form will never be redrawn when the snake is moved. To fix this just add the line 'this.Invalidate()' after you've moved the snake.Here is what your timer_Tick...
Please Sign up or sign in to vote.
25 Jul 2011
OriginalGriff
That's going to depend on a number of things. If your screen is small, then you may be able just to set DoubleBuffered on your Form properties, and get away with it - if you don't get away with it, then the movement will all slow down.If that happens, then it gets a little more...
Please Sign up or sign in to vote.
25 Aug 2011
Keith Barrow
I just want to add my voice to those say don't use VB5, it is ancient (in IT terms), was replaced by VB6 and neither is a particularly good language to start with. You will also find newer languages easier to get to grips with.I suggest VB.NET (if you really want to use VB) or C#. If cost is...
Please Sign up or sign in to vote.
21 Dec 2011
Albert Holguin
From looking at this:http://dragonfiresdk.wikispaces.com/ImageAdd%28char+*filename%29[^]I can see what you're trying to accomplish, and you're doing it all wrong. I'm thinking you don't know C++? You can't declare and load an array dynamically like that, it doesn't work that way. You...
Please Sign up or sign in to vote.
21 Dec 2011
Pranit Kothari
Problem here is, you have not initialized value of i.Here is your updated code. int array1 [5] = {1,2,3,4,5};initialize(){int x;for(int i=0; i
Please Sign up or sign in to vote.
31 Dec 2011
ge-force
3 alternatives  
Hi everyone!First off, I found out the positive negative values problem. Reach did not support the negative values, but I git a sweet graphics card that fixed that.Now, I am making an role playing game in XNA, and I am almost finished (got the world, storyline, bonuses, etc working). But...
Please Sign up or sign in to vote.
9 Jan 2012
XPG Live
A walk through of using all of the features XPG Live has to offer
Please Sign up or sign in to vote.
15 Jan 2012
Fapsterx
So Sendkeys.Sendwait worked!!! Is there anyway I can do this without the window being active? Like if the game is in the background?
Please Sign up or sign in to vote.
31 Jan 2012
JackDingler
You might try Garage Games. The developers there used to work for Sierra Arts. They have a fairly mature development engine for a reasonable price.
Please Sign up or sign in to vote.
6 Feb 2012
CDP1802
SA, don't be so sarcastic :)Why don't you download this software[^]? With this you can make any 3D models you may need and export them to DirectX or many other formats.The dowside is, that you will have to read the manual and practice a while before you might come up with a model that is...
Please Sign up or sign in to vote.
6 Feb 2012
E.F. Nijboer
This is how it is done in c# for directx 9, 10 and 11:http://spazzarama.wordpress.com/2011/03/14/c-screen-capture-and-overlays-for-direct3d-9-10-and-11-using-api-hooks/[^]Here an article that also has a vb.net example:Capture Sample with DirectX and .NET[^]Good luck!
Please Sign up or sign in to vote.
16 Mar 2012
Richard MacCutchan
I would suggest you take a look at XNA[^] development.
Please Sign up or sign in to vote.
2 Apr 2012
Manfred Rudolf Bihy
Here is an example of Breakout programmed in C#: Breakout Sharp [^]Hope that helps a bit! Regards,Manfred
Please Sign up or sign in to vote.
11 Apr 2012
Richard MacCutchan
Is it possible: Yes.Google for OpenGL and MAYA for documentation and samples.
Please Sign up or sign in to vote.
1 May 2012
Ed Nutting
I implemented this one myself over the weekend from an adaptation of this[^] code:/*Copyright Edward Nutting. This may be adapted but all adaptations must at least credit myself and http://blog.trostalex.com/?p=114 as the original sources.*/import android.graphics.Point;import...
Please Sign up or sign in to vote.
12 Jun 2012
Jαved
Hi,Here are some links-HuaRongDao Puzzle Game in ASP.NET[^]Beginning-Game-Development-Part-I--Introduction[^]Here are some games developed using .Net's Silverlight technology-index-of-silverlight-games-most-with-source.aspx[^]Hangman game in asp.net with full source-Hangman game in...
Please Sign up or sign in to vote.
9 Jul 2012
Destiny777
There are many solutions to this problem.You want to keep it simple and easy to understand!Try writing the pseudo code first then walk through it on paper before you code it to see if you really understand how it works. If your pseudo code does not work, then clean it up until it does...
Please Sign up or sign in to vote.
11 Jul 2012
MR. AngelMendez
3 alternatives  
Hi, I want to make a hangman game where the player creates their own levels with their own words. When they are finished they can create some sort of game file that saves their game. That way they can give the file to their friends and they can load it on their computer(they will need a copy of...
Please Sign up or sign in to vote.
11 Jul 2012
lewax00
This is a very broad question, but I'll try to point you in the right direction:1) Figure out what values need to be saved. If it can be generated in code don't worry about it (e.g. if you want to save information about a rectangle, you don't need to save all three of height, width, and...
Please Sign up or sign in to vote.
14 Jul 2012
codiemorgan
When you want your Texture2D resource to download from the Internet
Please Sign up or sign in to vote.
25 Oct 2012
haitrieu749
1 alternative  
I want to check the collision of one model with another model.I use collision check function as follows://Built Bouding Sphere private void builtBoudingSphere() { BoundingSphere sphere = new BoundingSphere(Vector3.Zero, 0); foreach (ModelMesh mesh in...
Please Sign up or sign in to vote.
5 Nov 2012
Simon Jackson
XNA to MonoGame and beyond
Please Sign up or sign in to vote.
4 Nov 2012
Abhinav S
These links might help you get startedhttp://www.jeffblankenburg.com/2010/10/29/31-days-of-windows-phone-day-29-animations/[^]Windows Phone 7 Animations — Alternatives, Performance[^]http://mobile.dzone.com/articles/create-simple-animation-your[^]
Please Sign up or sign in to vote.
9 Nov 2012
haitrieu749
Plan to split into smaller pieces to review collision.It can be a solution acceptable. Use BoudingSphere to check that pieces.Example: the airplane, split: head airplane, tail airplane, wing airplane. And check each part for collision.
Please Sign up or sign in to vote.
7 Dec 2012
Richard MacCutchan
The issue is just the same as your existing code. For the up arrow you decrement the vertical position and for the down arrow you increment it. You also might find it easier to use more useful variable names than f and r.
Please Sign up or sign in to vote.
24 Dec 2012
Krunal Rohit
http://www.slideshare.net/ruiquelhas/qos-in-network-gaming[^]http://users.cs.cf.ac.uk/O.F.Rana/data-comms/gaming.pdf[^]http://www.amazon.com/End-End-QoS-Network-Design/dp/1587051761[^]
Please Sign up or sign in to vote.
6 Jan 2013
Simon Jackson
So far in this series I’ve covered: MonoGame – a raw XNA implementation allowing you to create games but you have to code everything yourself UnityXNA – a way to host your existing XNA projects (or new ones) and deploy them using the Unity3D engine, but without utilising the advanced …
Please Sign up or sign in to vote.
17 Apr 2013
Richard C Bishop
This is only an example of how to increment and not to be taken as a solution to the thread. Code is more readable here.public static void Kill(){ int killIncrementer = 0; killIncrementer++;}That just increments an int eachtime a kill happens. You will want to store that...
Please Sign up or sign in to vote.
21 Apr 2013
Matthew Faithfull
Look here[^] for a number of links to Jezzball clones. The Open Source ones should provide you with code to get your ice hockey comparison.
Please Sign up or sign in to vote.
6 Jul 2013
xenotron
You shouldn't write an executable exporter. You should export the game data of each game that can be used by the very same executable. After this you can pack the data for example into a zip file and you can append it to the executable if you want a single-file game. If you are concerned that...
Please Sign up or sign in to vote.
25 Sep 2013
Fredrik Bornander
You don't want to use BufferedImage.getSubImage for every frame, what you want to do with your sprite sheet is to render a portion of is rather than creating a new Image object.Something like this can help:public class SpriteSheet { private final BufferedImage image; public...
Please Sign up or sign in to vote.
18 Nov 2013
Dave Kreskowiak
This sounds like the standard functionality of any version (source) control server. Examples include SVN, Git, CVS, Mercurial, TFS, and many others.
Please Sign up or sign in to vote.
24 Apr 2014
Simon Jackson
Creating E-Learning Games with Unity – A Review
Please Sign up or sign in to vote.
2 May 2014
wikus70
It just so happens that I'm also making my first game in Java so I'll try to help you out as much as I can. I haven't read that book yet though. Most of my knowledge is from playing around and reading on forums. I don't understand your question though. Do you need help with the game loop or...
Please Sign up or sign in to vote.
8 Oct 2014
lukaszbl
Hi,What do you say about making your code more object oriented?Separating different entities into classes should do the trick, code will be easier to read and more open to new features:)I would base your game on something more or less like: class Ball{ Point Location; Point...
Please Sign up or sign in to vote.
1 Jan 2015
Eduardo Fonseca
Unity3D - Easily Handling Player's Objectives
Please Sign up or sign in to vote.
10 Jan 2015
Simon Jackson
A review of Unity AI programming essentials
Please Sign up or sign in to vote.
21 Oct 2015
Stylianos Polychroniadis
Let me tell you the story of my life... I started programming myself when I was 10, just like yourself. My father gotten me into it (he was working at CERN experiment in Switzerland at the time). So he taught me how to program in QBasic. Bang, that was it. I was hooked for the rest of my life I...
Please Sign up or sign in to vote.
29 Mar 2016
OriginalGriff
To be honest, I suspect you are trying to run before you can walk. Possibly before you can crawl! :laugh:A "facebook like app" is not a trivial task - and there is no automated code generator that is likely to give you what you want: a "one click facebook clone" because there is both a huge...
Please Sign up or sign in to vote.
30 May 2016
Maciej Los
I think, the answer depends on what kind of game you want to develop and what is destination platform... I'm sure that WinApi is still used in game developement (directly or indirectly).Please, read this: Video game development - Wikipedia, the free encyclopedia[^] and this: List of game...
Please Sign up or sign in to vote.
19 Jun 2016
W Balboos, GHB
1 - Open Debugger2 - Set Breakpoint at suspected problem3 - run program4 - step through loop and see what it fails exit condition.Remember: loops can be created by you explicitly (if,while, do, etc.) but they may also be the result of an event handlers, unintentionally. For...
Please Sign up or sign in to vote.
3 Jul 2016
OriginalGriff
It's possible, but...it's impractical.First off, you'd need to access the memory of that game - which isn't impossible, but isn't easy. Google will hep you there. Then the fun begins...you can't make it a "generic" application: not all games are the same. So you'd have to make it work...
Please Sign up or sign in to vote.
3 Jul 2016
Patrice T
A few possibilities:- The game have a published interface made just for this kind of things. You just have to find that documentation/library and start programming. Rather unlikely.- You have to hack in the game. This include gaining access to the game unshared memory, the OS may make your...
Please Sign up or sign in to vote.
28 Dec 2016
Patrice T
You should learn to use the debugger as soon as possible. Rather than guessing what your code is doing, It is time to see your code executing and ensuring that it does what you expect.Debugger - Wikipedia, the free encyclopedia[^]Mastering Debugging in Visual Studio 2010 - A Beginner's...
Please Sign up or sign in to vote.
12 Jan 2017
Andy Lanng
Quote:BTW sorry for using gotos please dont flame meHa - two days and you already know everyone's biggest bug-bear ;)The toggle here: l1finished = !l1finished; is unnecessary. Just use l1finished = true;In the 'LevelMenu:' segment, you write out the "Level Menu" + 27 clear lines but...
Please Sign up or sign in to vote.
27 Mar 2017
CPallini
Such code updates the ball position, using the following formula:new_position = current_position + current_speed * delta_timeThen it checks if the new position would cross a boundary, in such a case it makes the ball bounce, reverting the speed and updating its position.
Please Sign up or sign in to vote.
5 May 2017
Jochen Arndt
You are using the Graphics class which is GDI+ based. But games might use other rendering methods like DirectX or OpenGL. Especially with DirectX games you have usually no access to the video memory: Multiple-Monitor Operations[^]: When a device is successfully reset (with Device.Reset) or...
Please Sign up or sign in to vote.
29 Jul 2017
petter2012
1 alternative  
Hi, I've created a simple C# game engine and am now thinking of the OO structure of my code. All "bodies" - like player spaceships, enemy spaceships, asteroids, etc. - are put in a List, and resides in a class called Bodies. My gut says that most would make the Bodies class a "normal"...
Please Sign up or sign in to vote.
30 Oct 2017
OriginalGriff
If you get an "Index out of range" error, it means that you have tried to access an array or other collection, but the index number you tried to fetch is not in the collection - it's either negative, or larger than the number of elements in the collection minus one (because indexes start at...
Please Sign up or sign in to vote.
19 Sep 2018
OriginalGriff
Look at it: it's just a nested conditional. a == player_ ? a : (b == player_ ? b : 0) If a == player_ then it returns a. Otherwise if b == player_ then it returns b. If both tests fail it returns 0 Think of it as an "in place if": if (a == player_) return a; else if (b == player_) ...
Please Sign up or sign in to vote.
26 Oct 2018
OriginalGriff
Compiling does not mean your code is right! :laugh: Think of the development process as writing an email: compiling successfully means that you wrote the email in the right language - English, rather than German for example - not that the email contained the message you wanted to send. So now...
Please Sign up or sign in to vote.
7 Dec 2018
OriginalGriff
First off, mastermind has two different scores: Black and White. Black is where a letter is correct, and in the right place. White is where a letter is correct, but in the wrong place. So "this" and "that" would be 2 Black, 0 White. And "this" and "here" would be 0 Black, 1 White. So do this in...
Please Sign up or sign in to vote.
22 Dec 2018
EgorYusov
This article introduces the problem of resource state management and synchronization in modern graphics APIs such as Direct3D12 and Vulkan and describes a solution offered by Diligent Engine.
Please Sign up or sign in to vote.
14 Feb 2019
Gerry Schmitz
Based on your description: The "if" test on "PoliceScript" for active should be in the "if" for the "collider" (police) ... (active vs not active "police" collider). You should have a "switch" if dealing with multiple colliders to keep one's head straight.
Please Sign up or sign in to vote.
18 Feb 2019
OriginalGriff
Quote: I guess that's why I'm confused, I don't know how best to do this. I'm detecting that point to click (ScreenToWorldPoint) Input.mousePosition. This is the only code I have tried that has worked for me to get him to walk to point of click. No, not "how does you code know where that...
Please Sign up or sign in to vote.
12 Jun 2019
OriginalGriff
I have to agree with what Thomas has said - this is a massive project, and probably not something that will be "doable" within a reasonable timeframe by a single person. However, you may be able to get a start by going here: FPS Sample - A multiplayer shooter game project | Unity[^] But even...
Please Sign up or sign in to vote.
12 Jun 2019
RickZeeland
Unity is a good choice, but if you want something more simple take a look at: free-and-easy-game-engines-for-beginners[^]
Please Sign up or sign in to vote.
25 Sep 2019
OriginalGriff
I'd say go with C#: it's available for free as part of Visual Studio Community Edition, and thanks to Xamarin (also included in VS) and Mono it will run on Windows, Linux, Android, iOS, and as a website. PHP won't. It's also a lot closer to the Pascal / C++ / Java you have already met than PHP.
Please Sign up or sign in to vote.
25 Sep 2019
MadMyche
The main considerations for what you want to do is going to be made up of a few things: 1. Your comfort in any particular language will be a huge factor in which is best for you. I am not saying to not use what you don't know, because if you are willing to learn and put the time into a new...
Please Sign up or sign in to vote.
4 Feb 2020
Greg Utas
The Field could also exist without the Ball and Pins. But there's probably a Game that ties them all together. I wouldn't worry about which model is correct, and it's hard to answer your question without knowing what you actually have to code. One extreme would be simply coding the rules for...
Please Sign up or sign in to vote.
28 Mar 2020
OriginalGriff
Read the error message, it couldn't be any clearer: System.ArgumentOutOfRangeException: ''minValue' cannot be greater than 'maxvalue' The version of Random.Next you are calling takes two parameters: Random.Next Method (System) | Microsoft...
Please Sign up or sign in to vote.
29 Mar 2020
OriginalGriff
Unless your game is designed from scratch to support different sized screens, there is no real way to do this - screen resolution (and text size as well) varies from screen to screen. For example I have three, all with different resolutions: one...
Please Sign up or sign in to vote.
25 May 2020
Garth J Lancaster
Let's say node '0' is called the root node at the top of the 'tree', 'You are in the entrance hall' If you had a tree implementation, then, you could go root.AddChild node1 'Go to the saloon' root.AddChild node2 'Go to the general store'...
Please Sign up or sign in to vote.
23 Aug 2020
Richard MacCutchan
This is a good place to start: Unity Real-Time Development Platform | 3D, 2D VR & AR Engine[^]
Please Sign up or sign in to vote.
23 Aug 2020
Patrice T
Quote: What books or courses should you study to become a full-fledged game developer? To become a full-fledged game developer, you first need to become a full-fledged developer. Advices: - Start with an easy/safe language: VB, Java, C#, not C...
Please Sign up or sign in to vote.
23 Aug 2020
Rick York
I agree with previous posters - all of those listed are valuable resources. I think you should also consider starting with the basics. Linear algebra is extremely important for working with graphics. I highly recommend that you study it in...
Please Sign up or sign in to vote.
5 Oct 2020
CPallini
Try int sum_adjacent_values(int r, int c) { int sum = - position_array[r][c]; for (int i = -1; i = 0 &&...
Please Sign up or sign in to vote.
17 Oct 2020
Rick York
Actually you have two rather complex problems here. One is executing script code and the other is writing a game engine. I recommend tackling them separately. Many game engines use script languages for game play logic but very, very few use...
Please Sign up or sign in to vote.
3 Dec 2020
CPallini
I'm giving you a working version, albeit minimalistic, of your code. Note there aren't global variables (they are evil). #include const char Rock = 'r'; const char Scissors = 's'; const char Paper = 'p'; char get_input(int player_no)...
Please Sign up or sign in to vote.
10 Oct 2016
Ashley Davis
A look at version control from the game developers perspective
Please Sign up or sign in to vote.
17 Mar 2010
pnarayan
Hey Avi Berger,Thanks very much for the post. There was problem with my logic...working too late does slow down logical thinking. :-D Your code has resolved it but there is a small modification to the code. Perhaps, I did not explain the problem clearly. I am trying to burst the bubble and...
Please Sign up or sign in to vote.
19 Apr 2010
CPallini
Coding?Sta...
Please Sign up or sign in to vote.
21 Apr 2010
shahin.kiassat
1 alternative  
I'm gonna to design an small game so that users move on the images like Google earth flight mode. The location imported continuously from a GPS device, and related image of its location shown in approximately real-time. What resource and format do you suggest? and what technique do you...
Please Sign up or sign in to vote.
22 Apr 2010
LittleYellowBird
Sounds like a tricky project, but interesting. :) Have a look into what techniques / formats you think might work, then when you get stuck come back with a specific question.Good Luck :)
Please Sign up or sign in to vote.
14 May 2010
Ester Petrus
1 alternative  
Basical the question is about designing a cell conflict game using any kind of a language, I prefer using visual basic.Game requirements: The cell game should be played by 2 players on the grid, using N * N, both players start with one cell each placed on opposite corners of the board. One...
Please Sign up or sign in to vote.
14 May 2010
DaveAuld
You have basically written the rules above.You want a matrix of cells, you will need to know what cell you have selected, and then analyze the cells around for valid moves.Nobody will just write code for you, you will need to start yourself and when get stuck on a problem come back and...
Please Sign up or sign in to vote.
1 Jul 2010
#realJSOP
Quick Answers is for asking programming questions about code you're hacving a problem with, and is NOT a forum for diuscussion about projects you'd like to build. There's probably an appropriate forum on this site for this kind of thing, but Quick Answers is NOT it.
Please Sign up or sign in to vote.
19 Jul 2010
programmervb.netc++
1 alternative  
I would like to download and view one of the COD games source code does anyone know where I can get this or if it is even available I have searched quite alot with little success.
Please Sign up or sign in to vote.
29 Jul 2010
khalid khatri
1 alternative  
Hello i want to know which software is use for create a new gameplease give a some name please help methanks in advance
Please Sign up or sign in to vote.
3 Aug 2010
VahanMaster
try this one - http://en.wikipedia.org/wiki/Minimax ;)
Please Sign up or sign in to vote.
16 Aug 2010
shahin.kiassat
1 alternative  
I want to create a game, Backgammon.I used Photoshop design my nuts and board.I saved nut as .png and board as .jpg for each that I have in game I created a picture box and I bound .png picture to that.I know that this way is not correct.Please give me tips and guidelines.What...
Please Sign up or sign in to vote.
16 Aug 2010
shahin.kiassat
2 alternatives  
Hi. I am developing a simple backgammon. i Designed 3 picture for the game. 1) Black not as png format 2)white not ==>png format 3) board jpgi have sum question about designing game. i want to create it with .NET Framework 4. probably windows application. I'm a bit familiar with wpf but not...
Please Sign up or sign in to vote.
5 Sep 2010
Ryan Nair
2 alternatives  
please tell me how to randomize characters or words in C.Example:I will input R(red) Y(yellow) G(green) B(blue).The computer will randomize it and it can also be duplicated.for instance, it could be R R B G or G B B Y..please tell me how.. I need it to make a game called...
Please Sign up or sign in to vote.
5 Sep 2010
OriginalGriff
Try here:random numbers c[^]
Please Sign up or sign in to vote.
15 Sep 2010
geheimkot
2 alternatives  
I want to change the button color when i click on it but i don't know how i can realize this
Please Sign up or sign in to vote.
15 Sep 2010
Synct
1 alternative  
Okay let me starts out with saying that I am a beginner with coding, I have used source code to develop applications as well as change some of the functions but as far as writing my own programs I don't have a whole lot of experience. I am currently trying to decide on a language to go with,...
Please Sign up or sign in to vote.
15 Sep 2010
Richard MacCutchan
Take a look at these links[^], many developers use these tools or similar.
Please Sign up or sign in to vote.
18 Nov 2010
mohammadghaderian.bp
1 alternative  
I want to make a pc game. What kind of software do I need and what language like c# can I use?
Please Sign up or sign in to vote.
4 Jan 2011
AbnormalCreations
3 alternatives  
I am currently creating a small 2D game engine for my final year project at university, but when ever i think im going in the right direction i get stuck on things like real time rendering in c#, creating and rendering a BSP tree in c# which I have come to find is a difficult task.So i turn my...
Please Sign up or sign in to vote.
4 Jan 2011
Kythen
RE: #3I think the choice of data structure depends on how you intend to use the game engine. If you're thinking of games along the lines of a space shooter like Defender or Asteroids, then you may want to consider a quadtree for hit detection. If it's something with walls or a maze like...
Please Sign up or sign in to vote.
4 Jan 2011
Espen Harlinn
#3) I think demonstrating that you know how to use the right structures and algorithms for the various tasks your project has to perform will be fairly important. It's often equally important to show that you have thought your way through this, possibly showing more than one approach and...
Please Sign up or sign in to vote.
6 Jan 2011
Espen Harlinn
Try ogre3d communityAnd why not try ogre3d MOGRE?http://www.ogre3d.org/[^] ... the art of maximizing the amount of work not done--is essential.[^]RegardsEspen Harlinn
Please Sign up or sign in to vote.
10 Jan 2011
Elliot Harrison
4 alternatives  
Hi there, I've made a simple collision game, I have a spaceship and asteroids. Once there is a collision, the game is to reset, signalling a new game.However, I am wanting to make a timer with a simple font to appear at the top corner, alongside a "Best time" high score.To be more...
Please Sign up or sign in to vote.
30 Jan 2011
The_Real_Chubaka
4 alternatives  
Hello,I have never written codes for games. I am a very good (i think) C, C++, MATLAB and python programmer.I want to start writing codes for games. Apparently i have to learn C# and use Visual studio.I don't really like Windows tough (i use Linux: Ubuntu). However, if i have to use...
Please Sign up or sign in to vote.
1 Feb 2011
Henry Minute
A very quick internet search gave 5 hits on the first page alone that claimed to provide what you want.Why don't you give it a try.
Please Sign up or sign in to vote.
9 Feb 2011
Nish Nishant
You need to post more specific questions. What part are you stuck on? Which piece of code would you like someone to review?More importantly why did you wait till the day before the homework was due before starting on it? :~
Please Sign up or sign in to vote.
21 Feb 2011
Anirudh R
1 alternative  
anybody know how to go about making a scrollable background as the character sprite moves? Looking for both a 2d side scrolling motion as well as top down motion.
Please Sign up or sign in to vote.
21 Mar 2011
XNAndroid
3 alternatives  
HiI'm beginner in game programming and I need some good resources to start(some books or video tutorials and examples). I need the fastest way to learn it(XNA and DirectX games or even something else). So if you can give me something to start with fast I'll be grateful. Yeah and I would like...
Please Sign up or sign in to vote.
21 Mar 2011
fjdiewornncalwe
For XNA stuff I would go here. You can download sample games to learn from and has a pretty good user community as well.
Please Sign up or sign in to vote.
25 Mar 2011
Lasse TM
1 alternative  
I need a function that return if a certain point is inside a directx 3d model(.x)...I have tried but i can´t get it to work so i need some help.Something like this:public bool IsInsideModel(Vector3 point, Model model){ //This would of course be nice but i don't think such...
Please Sign up or sign in to vote.
21 Mar 2011
CDP1802
The good news: it can be done. The bad news: A precise test is computationally expensive and therefore probably too slow to be of any use in real time rendering.First off, it works only on convex objects. Concave objects would have to be broken down into two or more convex objects and then...
Please Sign up or sign in to vote.
21 Mar 2011
CDP1802
And another good link:http://www.riemers.net/[^]
Please Sign up or sign in to vote.
11 Apr 2011
lm0508
2 alternatives  
hello guys...sorry my english. i'm from portugali'm making a fight game in vb 2008, and i have picturebox 1 and picturebox 2 with2 fighters. when picbox 1 goes on top of picbox 2, the second picbox does not apearthe fighter inside. how to move 1 picbox on top of another and see the...
Please Sign up or sign in to vote.
11 Apr 2011
Sergey Alexandrovich Kryukov
You should never use PictireBox for rendering complicated moving scenes, especially animated. This is one of the typical design mistakes demonstrated in many CodeProject Questions. Most experts advised to avoid it. I personally saw a number of projects which went nowhere due to this design...
Please Sign up or sign in to vote.
14 Apr 2011
mohammadghaderian.bp
1 alternative  
Hi, I have many choice between game engines.What is your recommendation between my list ?UnityTorqueShivaXnaAnd...Can You Offer Me An IDE Fro Game Developing ?(For Example Visual Studio is IDE For Programing I Want IDE For Game such Importing 3d Moduls)
Please Sign up or sign in to vote.
15 Apr 2011
musefan
XNA with Visual Studio is my vote
Please Sign up or sign in to vote.
19 Apr 2011
mohammadghaderian.bp
3 alternatives  
Hi I Am Beginner in Game Developing Help Me To Choose Best Game Engine To Start Learning ?1 - Unreal2 - Unity
Please Sign up or sign in to vote.
20 Apr 2011
Bravo03
2 alternatives  
Trying to code Pacman in C# for programming class. For the map(classic design) I used picture boxes but there's like 50 of them, so collison detection is a pain.Is there an easier why to make the map and simplify the colision detection? { public Form1() { ...
Please Sign up or sign in to vote.
20 Apr 2011
Sergey Alexandrovich Kryukov
Consider this:class GameEngine { }class UnrealEngine : GameEngine { }class UnityEngine : GameEngine { }static void Main(string[] args) { GameEngine engine1 = new UnrealEngine(); GameEngine engine2 = new UnityEngine(); if (engine1 > engine2) ...
Please Sign up or sign in to vote.
28 Apr 2011
enggpedia
2 alternatives  
I am developing a game for which i wanted to press and hold up or down or left or right key for some time the game is racing.Normally we send keys through sendkey functions but for holding a particular value i don't know how to do it.
Please Sign up or sign in to vote.
29 Apr 2011
Patrick Kalkman
There are many possible solutions for scrolling a background using Android. You could take a look at Replica Island which is a game for Android that is open source and uses a scrolling background. You can find the source of Replica island here.
Please Sign up or sign in to vote.
2 May 2011
Bravo03
1 alternative  
Trying to get pacman to move in grid, only can move through ones, stops when he hits a 0(the wall). Have four separate timers for directions that activate on keypress. Have only started with him moving right at the moment, for some reason he moves 4 spaces(int move = 4), then stops and will no...
Please Sign up or sign in to vote.
2 May 2011
Dave Kreskowiak
First this is you do not use PictureBox to do your drawing for you. Scrap it and start handling the Paint event of a control, like a Panel, to hold your game image. You'll have far better control over the rendering than if you relied on PictureBox's to do it for you.
Please Sign up or sign in to vote.
23 May 2011
TorstenH.
edited the code.first of all 2 small points:- do not start variable names with capital letters! Your buttons don't even have a name it's just "A", "B" - change that! Capital letters are for class names.- extract all the actions and set up a controller-class aside of that GUI-class....
Please Sign up or sign in to vote.
23 May 2011
Nagy Vilmos
I have this:Random ran = new Random();int intRan = (int) (Math.floor(Math.random() * (str.length - 0 + 1)) + 1);ranWord = new String(str[intRan]);Should be:this.ranWord = str[new Random().nextInt(str.length)];
Please Sign up or sign in to vote.
3 Jun 2011
Rob Stortelers
When the username is unique, you can use it as a key in your database. You won't be allowed to have a double username in your database.But i don't think you wan't that.
Please Sign up or sign in to vote.
22 Jun 2011
Mahdi Nejadsahebi
look you shoud work with OpenGl or DirectX
Please Sign up or sign in to vote.
25 Jul 2011
Blind.Geek81
1 alternative  
This collision detection code is in my FRM_Snake form. The person who created the tutorial used an integer to serve as a "wall". I'd like to share this with classmates, so my question comes in two parts:A) How would I make the integers (height=480, width=480) act as a "wall" that will kill...
Please Sign up or sign in to vote.
25 Jul 2011
Blind.Geek81
3 alternatives  
My timer interval is set to 50 milliseconds; the snake moves quickly and smoothly, but it tends to flicker. I am not sure what would help you most, so here are my drawing methods and one MoveSnake() meethod:public void DrawSnake(Graphics g){ foreach (Rectangle rec in mySnake) {...
Please Sign up or sign in to vote.
25 Jul 2011
AspDotNetDev
Whenever a portion of your snake goes past 480, subtract 480 from the position (you can also use a mod function to handle this for you). Example:snake.MySnake[i].X = snake.MySnake[i].X % 480;Also, whenever the snake goes less than zero, add 480 (I am not sure how mod works with negative...
Please Sign up or sign in to vote.
25 Jul 2011
Sergey Alexandrovich Kryukov
I don't know what control do you use to render your animated graphics. If this is Form, you can use the property System.Windows.Forms.Form.DoubleBuffered and do it as Griff suggested. Very often this is some custom control of just panel.To do animation, you need to access...
Please Sign up or sign in to vote.
17 Aug 2011
ehanff
1 alternative  
How can i capture game/direct3d screen video using c#?Is it possible to use directshow? is there any filter available?I've searched all over the internet and found no sample code!
Please Sign up or sign in to vote.
17 Aug 2011
Simon Bang Terkildsen
Crap a camcorder point at your screen and press record.Seriously you can't expect an answer to that it's not simply, and you haven't search all over the internet that would take longer than ypou haveThis simple google search[^] gave good results the first two hits is even articles here...
Please Sign up or sign in to vote.
17 Aug 2011
ehanff
1 alternative  
Is there any directshow filter for capturing game video?
Please Sign up or sign in to vote.
17 Aug 2011
Anthony Mushrow
Interestingly, No[^]You basically have 2 options though, to do what was already suggested and just record the screen. Or go down the complicated route of hooking into DirectX and OpenGL to capture the rendered frames (which I believe is what Fraps does). I've no idea how you'd do that, and...
Please Sign up or sign in to vote.
24 Aug 2011
Prerak Patel
Convert this to VB.C# TicTacToe with AI and network support[^]