2
votes
2answers
901 views

Basic game architechture best practices in Cocos2D on iOS

Consider the following simple game: 20 squares floating around an iPhone's screen. Tapping a square causes that square to disappear. What's the "best practices" way to set this up in Cocos2D? Here's ...
0
votes
1answer
567 views

How to manage game components and their attributes?

Currently I am working with cocos2d for the iPhone. I want to make my game structured and consequential. How to manage all the game components? What do I mean with game components? A game component ...
3
votes
4answers
577 views

Who controls my player's movement?

In my game, does my player object control the movement, or does the map object control it? (Or some other object?) The player doesn't know about the map's contents to stop at solids, interact with ...