C++/C# Programming and
Game Development.
Jack Rittichier
A blog for current projects and to reflect on past works.
Asteroids-ish Game in C#/Windows Forms
Final project in a game programming class, with a development cycle of 4 weeks. It was created before I knew anything about Network programming so the server/client that was started in the source code does not do anything.
Our project was made is windows forms, and most other people created a turn based game. I decided that would be too easy, (lazy!), and made a real time old school clone of asteroids. I quickly found out that using windows forms is the wrong tool for real time graphics.
I learned how to make my own collision volumes on both circles and rectangles. I also learned about how graphics are rendered to the screen using the back buffers and that if I did not double buffer the graphics canvas in windows forms that there would be massive stutter.
First week I spent brainstorming ideas on what I wanted to do and preparing research. Second and third weeks were spent getting a working prototype and implementing technology. Last week was spent bug killing and optimizing. I kept this plan from week one and it helped alot. I was in need of almost a straight week of bug hunting to get it working properly.
I will remake this when I learn more about Direct X and/or OpenGL, and can use the correct tool for the job. Just because I can program a game into a platform does not mean that plaform is ment to run that software. I am also learning WPF intead of Windows Forms, since it is now used more in current OS's.

In Game Action

Collision checks for the laser and the player. Very simple code.