Architecture concerns
Hi,
I am developing a 2D game. My game architecture uses an OO design with each scene being a sub class of GameScene. I also use singletons for state management. So for the scenes, I funnel all the touches into the current scene. However, I am finding myself using several IF statements and BOOL variables to handle the dynamics of each scene such as touch locations, whether an item has been discovered, etc. I am wondering if anyone can reassure me that this will perform well or if it is a common problem that has been solved already. I am still early in development and want to get this architecture right.
Thanks in advance!
|