cocos2d-x - object creation and management in game design

Posted by Jason on Game Development See other posts from Game Development or by Jason
Published on 2013-05-25T17:27:42Z Indexed on 2013/06/25 16:30 UTC
Read the original article Hit count: 342

How do others keep track of everything going on in their games? I am working on a new game and I am quickly realizing everything that I need to keep track of.

Example:

Maybe a layerManager that keeps track of all the layers and what is happening for a particular scene.

Maybe a sceneManager for sharing objects among scenes

But then getting to game play itself, what if you have 100 objects on the screen each with its own state and happenings, there needs tobe a way to keep track of all of that.

Drawing everything out is really helping me.

Can anyone share with me how they go about object tracking/management? I am seeing a few different managers and then maybe even a parent object that manages the managers..is my thinking way off?

Any design patterns that may be useful for me to read about?

Update: doing some reading and maybe a Factory pattern might apply.

© Game Development or respective owner

Related posts about c++

Related posts about game-design