Archive For The “Cocos2D” Category

Objective C State Machine

By |

Im currently working on a game in which the user interface has quite a number of possible states, with certain sprites being enabled, disabled, visible or invisible depending on the what the user touches on screen. Rather than coding all of the UI state logic into a view controller or helper class, I decided to…

Read more »