Hi everyone,
I'm working on a boxing game with two players. I just recently started coding for the iPhone, (I have coded in other things before.)
I need to manage health, rounds, constantly update positions and score. I tried passing variables from the scene to the layer to the fighting classes, but that didn't work. Then I tried using an external class for positions and health etc. The only problem with that is I couldn't pass variables to muliple classes. I have thought about using a singleton, is that the right thing?
I can't really go any further until I get this worked out.
Thanks in advance,
- BlueberryPotato