Click here to Skip to main content
15,119,786 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to write a easy game with C#?
Thank you.
Posted
Updated 19-Apr-10 23:59pm
v2

Rather than reinventing the wheel yourself, you could download the XNA framework from Microsoft and use that. Basically, this is a framework that allows you to target Windows, XBox and soon, the Windows Phone 7. It allows you to use the .NET language of your choice to write games.

You can find more information here[^], and there are a number of excellent books/tutorials available for it.
   
Coding?

Start choosing the game. Have you already an idea about?
Then, as any other software project, the requirements must be identified.
Eventually you may end up designing your application and writing the actual code.
:)
   
It's totally possible to do simple games in C#, if you're new to this then start with something simple like Tetris, there's lots of example source out there

http://www.google.co.uk/search?q=c%23+tetris&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a[^]

More complex games will use the DirectX libraries, google 'DirectX C# Games'
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900