PDA

View Full Version : Game Engine


Lord Vader
2005.08.01, 10:59 PM
Ok, I have finally learned most of what I need to make a game.
Now I need to start writing my game.
I would like to make my own game engine for my game but am not sure were to start.

I am using C++/Carbon/OpenGL/OpenAL.

The game I am working first is a Galacian style game.

Any suggestions? Help?

Thanks

kodex
2005.08.01, 11:03 PM
Start with a window and go from there =).
Allow your app to launch and exit smoothly and correctly
Have your user pick his/her desired resoultion
If you game is going to run in a window get that all set up
Get your drawing loop working

Once all the basics work then you can start adding sounds and other fancy things.

Leisure Suit Lurie
2005.08.01, 11:15 PM
Galaxian was a lot of fun. I hope your enemies have some cool attack patterns.

Lord Vader
2005.08.01, 11:18 PM
Never thought of that...
How exactly would you program attack patterns?

Leisure Suit Lurie
2005.08.02, 12:15 AM
Welp, in my iDevil game (which is vaguely Galaxian-ish) the enemies moved in formations like figure 8s sine waves, etc. These are all pretty easy to do. You can just use some math formulas to position each.

I actually gave them all waypoints. They move from point a to b to c, etc etc. and then loop back to a when they run out of points is their path.

The Boss, for example, moved in an inverted star pattern.