1
General / Question about game structure
« on: November 07, 2009, 02:58:15 am »
I have a question about making games using SFML. I'm already pretty familiar with C++ but I'm having trouble structuring my classes for a simple game (Nothing elaborate; just a simple ground image and a player sprite, to start). I only got as far as creating a CGame class and a run function for the game loop. But where do I go from here? Am I on the right track or am I totally off base? How are games usually structured?
I'm not asking for piles of code; I can (probably write the code myself, I just need to know how games are structured. Thanks for the help.
I'm not asking for piles of code; I can (probably write the code myself, I just need to know how games are structured. Thanks for the help.