From a modular game to OOD

Started by
1 comment, last by WildWest 22 years, 2 months ago
Hi! I''m still in the process of learning game developing. When I started to write my own game engine it was modular programming style. But the big number of functions started to become confusing, so I decided to rewrite my code to an object oriented design. Has anybody good ideas on how to arrange the classes so that the code becomes easy and clear? Thanks in advance!
The Wild Wild West - Desperado!
Advertisement
You are asking impossible question, since nobody here knows your code. If you want help in a issue like this, you should either describe your program and its functions very extensively or allow access to your code for other readers on this board.
It was more a general question...

Where do I put all the stuff like Initialising DirectX, drawing functions, window handling, function where i move my objects etc.?

And what things should I leave as global variables( e.g. for the state of the game)?


But I think I found all I wanted to know at:
http://nexe.gamedev.net/Tutorials/ViewTutorial.asp?tutorialfile=Pages/Tutorial6.5.myxml

The Wild Wild West - Desperado!
The Wild Wild West - Desperado!

This topic is closed to new replies.

Advertisement