Click here to Skip to main content
15,885,981 members
Everything / Game Development

Game Development

game

Great Reads

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

Latest Articles

by honey the codewitch
Display automated (optionally controllable) Tetris on an LCD or Neopixel panel
by Member 10912276
How to control game elements based on predefined conditions
by Jo_vb.net
This article and the demo are about getting started using my Schafkopf_OOP VB.NET project.
by KrirkDev
Kaldoku - a Sudoku like puzzle game

All Articles

Sort by Title

Game Development 

3 Mar 2014 by PsykoTenshi
The game itself is Dawn of War: Soulstorm. Vanilla runs alright, but when running mods (which make a significant difference) framerates of even below 10 aren't unheard of. That's due in great part to the old game engine (dated 2004, which itself is a modified version of a 2001 game engine) and...
3 Mar 2014 by OriginalGriff
You can't make existing code multithreaded without significantly changing the original code: there is no way to "add a DLL" and have that "magically" affect existing compiled code - multithreading doesn't work like that.If you have the original source code for the game, you *may* be able to...
25 Mar 2013 by tharindutpd
Hi,For my university project i'm going to develop a system to translate English text into 3D animation to display sign language . so i was created some 3D character animation using Blender and export them into FBX file format. So now i want to know how to load this character animation using...
1 Feb 2024 by Orphraie
Study of 3D graphics in video games with minimal prior knowledge of mathematics
30 Jan 2012 by chaiein
Hi I need to develop 3D shooter game. I have knowledge on visual studio c++ mfc,dark gdk,little javascript . please give me resource of sample shooter game code using any of these tools to learn. Or Please suggest me if any good game development engines that can be learnt soon and where many...
31 Jan 2012 by 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.
6 Feb 2012 by chaiein
We can also develop games using Dark GDk whether its 3d or 2d and even the samples are provided which we can develop further.for more information check this site.www.thegamecreators.com
6 Feb 2022 by AGC Retrogaming
I wonder if Commando and/or Street Fighter 1 or other games from thoses boards can be port to CPS1, do you think is possible? What I have tried: those games has base 68K and Z80 code, understanding.
6 Feb 2022 by OriginalGriff
There are a lot of problems there, starting with copyright and license T&C infringements, and leading up to "it's not just the processors that are totally different". Then there is the fun that games of that vintage for those processors are...
14 Jul 2013 by Sudhir Tiwari
8/15 puzzle using A* (A Star) algorithm.
30 Jan 2015 by Adrian Ulland
Hello, I just want to make sure you are aware this is a beginners project I am having. I am not using XNA.Framework, DirectX, Unity or any game engines, I am making my own game completely from scratch using windows forms in VB.net, so far its alright- however:Question 1: When you move around...
30 Jan 2015 by Sergey Alexandrovich Kryukov
Please see my comments to the question.Second thing you need is to stop using PictureBox. In your case, it is not helpful at all, only creates problems. I'll explain what to do instead. Please see my past answers:Append a picture within picturebox[^],draw a rectangle in C#[^],How do I...
14 Jul 2021 by Mehedi Shams
An eye-teaser to tease your eyes, see if you can beat it!
18 Nov 2013 by Frank R. Haugen
Question/problem:I would like a kind of "version control" -system that looks for file-changes and saves copies, so that I don't have both backups and go back and "undue" the projects steps; or branch out from an earlier point in the project.Background:I've started developing in Unity3d,...
18 Nov 2013 by Dave Kreskowiak
This sounds like the standard functionality of any version (source) control server. Examples include SVN, Git, CVS, Mercurial, TFS, and many others.
18 Nov 2013 by Frank R. Haugen
http://beanland.net.au/AutoVer...
4 Nov 2010 by logicchild
An article that illustrates how to simulate a pendulum.
31 Aug 2011 by pierre poliakoff
A tutorial on how to write a Silverlight game based on the classical Pong game.
28 Oct 2017 by massimiliano aronica
Let's have a break with JavaScript and a Canvas
9 Feb 2011 by Okan Kocyigit
A simple snake game controllable both by joystick and keyboard, graphics using C#, joystick control using Directx
24 Jun 2019 by Thomas Daniels
This article describes the making of a tic tac toe player that uses neural networks and machine learning.
13 Dec 2011 by soccermiles
A-10 Cuba was made in 1996 by Activision and Parsoft. It was released primarily for Macintosh computers, although it was ported for Windows 95. It has been years since Parsoft dissolved. I was wondering, what are the chances that the source code is available somewhere? Can you direct me to any...
13 Dec 2011 by Sergey Alexandrovich Kryukov
First of all, I think this question is off-topic. I'm just curious: did you find out that A-10 Cuba for Windows is still sold? It was found in a second. The chances to find source code are miserable of course. I wonder why? What's so special?—SA
27 May 2014 by Mohd Akram
9 Feb 2010 by balaji gudipati
hi, i am looking for algorithm to develop chess game. i know depth first search and alpha-beta pruning. i am looking forward to know perfect algorithm to design chess game. so, could anyone help me please. i am not looking for code. i need kinda pseudo code(algorithm)ideas are...
9 Feb 2010 by Richard MacCutchan
This is hardly likely to be a Quick Answer; chess algorithms are quite complicated. Assuming you are a chess player yourself then you probably have a good idea about it already.
9 Feb 2010 by Xmen Real
Read the Rules[^] and think of all possible moves.btw, chess needs thousand of algorithms :D
9 Feb 2010 by CPallini
For sure you cannot find such a info on Google...[^] :)
3 Aug 2010 by VahanMaster
try this one - http://en.wikipedia.org/wiki/Minimax ;)
3 May 2016 by Member 12493644
I need solving algorithms TRAX game.The algorithm implement Fpga I want on board.What I have tried:i can alguethim Transform to vhdl source
3 May 2016 by George Jonsson
First of all, don't assume everyone knows what you are talking about. We can't see your monitor and we can't read your mind.Add an explanation of what it is you want to do and add references to inform people who is not familiar with your specific topic.You are the one who wants help, so...
20 Mar 2012 by Abbath1349
Hello. Can u say me alhoritms for find mate, stalemate and check in chess?
17 Dec 2014 by Simon Jackson
All Hail the Old and the New – The MonoGame Content Builder Tool
15 Jul 2021 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
4 Nov 2012 by #realJSOP
My Anagrams game ported to WPF.
1 May 2012 by larssy1
Hi guys,,Anyone who could explain to me how they handle android / iphone / windows phone games with those onscreen joysticks?example image:http://imageshack.us/photo/my-images/265/26616423.jpg/[^]Yours Sincerely,Lars
1 May 2012 by 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...
9 Oct 2014 by Pavel Durov
This article is explaining how to implement a basic game fundamentals on Android platform.
4 Mar 2016 by devonJones
So, I've been getting into App development in Android using Xamarin with the Visual Studio IDE but now I want to venture into the world of game app developmentWhere do I start? I should be able to keep using VS right?or do I need to move over to a game IDE such as Unreal Engine or...
4 Mar 2016 by Afzaal Ahmad Zeeshan
I won't recommend Xamarin as a game development engine, because just to make things work in Xamarin, you are again going to ask for help from another tool.Instead, I would recommend that you get a game development engine. Unreal, Unity or any other, doesn't matter. As long as that framework...
5 Oct 2011 by Rizwan Sohaib
Android Game:I am developing a Ludo game for android. For UI, I used xml and for game moves like displaying Ludo board, players and dice I have used java code in which I draw Bitmap images using canvas.drawBitmap() function.The classes I am using in my code...
19 Dec 2012 by s.oztrk
I have a project about android. I must programming pacman game for android. controls must be by microphone. when I told "left" or "rigt" it must go according that.How can I do it?Can someone help me about it...
3 Jan 2013 by 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...
1 May 2011 by Patrick Kalkman
This article describes how I developed Androng, a Pong clone for Android.
27 May 2020 by Theo Kand
An original AngularJS implementation of the most famous video game ever
27 Sep 2021 by OriginalGriff
Don't post this under Quick Answers - if you got the code from an article, then there is a "Add a Comment or Question" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to...
16 Feb 2012 by Tyler Elric
Consider the following code snippet( Python):class Task: def __init__(self,prev): self.threads = [] assert isinstance(prev,Task)or isinstance(prev,Game)or prev is None if isinstance(prev,Task): self.prev = prev self.game = prev.game else: self.prev,self.game =...
9 Jan 2011 by Elliot Harrison
Hi there, I've got a problem. I'm new to this site and a beginner so simple help would be great thanks!Object reference not set to an instance of an object and NullReferenceException was unhandled. that what comes up when my spaceship collides with a randomly generated asteroid, anyone?...
9 Jan 2011 by OriginalGriff
Yes we will probably need some code, but don't paste it all! Just the relevant bits - the method the error occurs in, say.Having said that, most of the time it is pretty simple to work out where the problem:The error says "Object reference not set to an instance of an object"That means...
9 Jan 2011 by Sergey Alexandrovich Kryukov
If you see the exception like this, the problem is already 90% solved. I used to see good amount of code where many exceptions were suppressed by writing exception handlers not re-throwing any exception up to the stack. (This can be done in some quite rare cases; in almost all cases an...
22 May 2019 by syed shanu
How to create a simple game development web application using ASP.NET Core Blazor, .NET Core 3.0 Preview and with Visual Studio 2019
2 Jul 2023 by Graeme_Grant
I don't do Unity, however, that error in C# usually means that you have not initialised the class before using it. Somewhere in your code you need to create a reference: private OceanE oceanE; and then initialise it: OceanE = new oceanE(); ...
2 Jul 2023 by Sandeep Mewara
As error shares, you are calling a non-static item as a static. You can solve this by: Option 1: Have OceanE as static class such that you can directly access it's properties. This depends on the design choice. Option 2: Initialize OceanE...
2 Jul 2023 by Eric Taylor 2023
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering.HighDefinition; public class Floating : MonoBehaviour { public Rigidbody rb; public float depthBefSub; public float...
2 May 2013 by Ihab ramadan
Demo illustrates how to make augmented reality program using irrlicht and newton
26 Oct 2020 by Matteo Prosperi
This post is the the second in a short series investigating somewhat exotic parts of .NET.
1 Mar 2024 by Member 10912276
How to control game elements based on predefined conditions
14 Jul 2010 by Abhinav S
A search engine is your best friend - see here.It is, however, unlikely that your are going to get the entire game's source code for free.
14 Jul 2010 by #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.
17 May 2017 by caf20012
Hi All, I'm having issues with my bejeweled bot picking up colors from my timer which is connected to a picturebox which is allowing me to select the rectangle based on the games location with the following code; Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles...
14 Nov 2014 by Member 11199542
Hi,I was just wondering if anyone knew some good tutorials for creating games for the Windows Store in Visual Basic .NET.Thanks,Jay
20 Feb 2023 by gggustafson
In this first part, we look at the random arrangement of numbers on a player's Bingo card.
27 Feb 2023 by gggustafson
Print_Cards to produce PDF file containing specified number of unique Bingo cards
29 Mar 2023 by gggustafson
This article is the third and final in the Bingo Game Suite series.
4 Oct 2017 by CMalcheski
Thinking outside the box can result in critical performance gains
14 Oct 2015 by Mitchell J.
Introducing Bob's Quest, a Flappy Bird clone (of sorts), in which Bob must avoid crashing into pillars as he leaps through space.
10 Apr 2018 by Member 13773138
Hello everyone. Is there any recommendation for a good books i can read about c++/c# game development? Also, if maybe c++ or c# is too old for games, would you recommend me some other programming language? Thanks. What I have tried: Ive heard about SFML, but i need something on lower...
10 Apr 2018 by Richard MacCutchan
game programming - Google Search[^]
10 Apr 2018 by 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...
2 Apr 2012 by Alexander Alekseyevich Fedoseev
Hello I am looking for books that are for beginners in C sharp game development.Games such as Breakout , Tetris , snake , etc.Looking for examples of breakout.Thank you!~
2 Apr 2012 by Manfred Rudolf Bihy
Here is an example of Breakout programmed in C#: Breakout Sharp [^]Hope that helps a bit! Regards,Manfred
2 Apr 2012 by 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...
5 Oct 2020 by Helin1
Program should print out the given values in array1 and print the second array as true or false. Array1 represents a boardgame where characters can stand at the different positions. The integers indicate how dangerous it is to stand at every...
4 Oct 2020 by OriginalGriff
Use nested loops, just as you do for array1, but instead of formatting a number as a string, use the java conditional (or ternary) operator: What is the conditional operator ?: in Java?[^] System.out.print(array2[row][col] ? "T" : "F");
5 Oct 2020 by CPallini
Try int sum_adjacent_values(int r, int c) { int sum = - position_array[r][c]; for (int i = -1; i = 0 &&...
12 Apr 2011 by Vinit Yadav
In this article we are going to develop a game using Farseer Physics Engine and XNA for Windows Phone 7. This article provides you base for your games to make game development easy and fast.
14 Mar 2012 by Darren_vms
why not look at Androng, a Pong clone for Android[^] here on CPThis uses what your looking for.Darren
13 Mar 2012 by Member 8727091
I am searching for moving a paddle left and right on touch or mouse move over a screen. But till I did not got any reference code ....I am searching for tutorial that help me to develop a game like break the bricks....Umesh Suryawanshi..
21 Feb 2012 by CRDave1988
Frankly Speaking I m not expert in this but I think XNA can help u.Here Are Some Link For XNA.http://en.wikipedia.org/wiki/Microsoft_XNA[^]http://msdn.microsoft.com/en-us/aa937791[^]http://create.msdn.com/en-US/[^]http://www.xnatutorial.com/[^]
21 Feb 2012 by krumia
Begin with requirement analysis. Write the things the game want to do in a piece of paper. And then you will realize if it needs one ore more technologies you have tagged in the question.But honestly, games like that are not easy to develop. It takes a quite large team to do that. So you...
21 Feb 2012 by Mhd Sami Almouhtasb
Anyone can tell me how can i start building game like those and do i need to learn new things btw i want to build it in MVC, and did this work for a junior project.Finally where should i begin..........
22 Feb 2012 by Mhd Sami Almouhtasb
thank alot to all of you................
1 Feb 2011 by DidierDs
Hi,I was wondering if anyone knows of a tutorial to create a Bubble Breaker game in Java? Or know of source code for the game that consists of just the game.Thanks either way!
1 Feb 2011 by 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.
12 Jun 2012 by bhagirathimfs
Hi,I am a developer in .NET and am crazy about games. :DI am curious to know about this, " can I develop games for android based cell phones using .NET framework ? ".If Yes, can anybody, please share with me any link giving walkthroughs. And, if No. :| . Please tell me know using...
12 Jun 2012 by 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...
7 Jan 2014 by Masoud Darvishian
In this simple tutorial, we want to create a scrolling sprite-based star field background using Xamarin Studio and MonoGame.
21 Apr 2013 by Ibrahim Sefa
Hello, I am making my master degree in Computer Enginnering, My lecturer wanted me to compare the codes between jezzball and ice hockey about ball movement. I found the source codes of ice hockey but I did not found the jezzball, If anyone can help me,I'll be so pleased. The game should be in...
21 Apr 2013 by 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.
14 Jan 2012 by Fapsterx
I am making a program for me and my friends to auto login to a game that we play. I can make the program send the keys to the game window, but I can't make it work properly. What I need it to do is take the text from the Username and Password text box and input it to the games Username and...
14 Jan 2012 by IKilledBambi
Try using SendKeys.SendWait instead of Send.private void button1_Click(object sender, EventArgs e) { // Find The Window Handle For Lineage 2 IntPtr handle = FindWindow("L2UnrealWWindowsViewportWindow", "Lineage II"); if...
15 Jan 2012 by 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?
17 Sep 2013 by User 9767265
Hello,i am trying to make some game, and i need your help. I have panel control and in that panel i put two images:Background image: black with one blue line on middleMovable image: Red image whick can be moved left,right,up,down.I want to move image throw black picture but when it...