I'm a student of Girona (Spain) and i'm working to do a game for iphone, I read documents and tutorials but i have problems that i don't understand.
I have a menu class with 3 menuItems (start, options and extras), when the user touch the start he goes to the Game class. This class is a scene with two class variables: ActionLayer and controlLayer. The first have the method tho load the map and move the sprite, and the second the events and the controllers to move the sprite (right, up, down and left).
My questions are:
- In a gameScene, i would like to have the map and the sprite (the layer of the class ActionLayer) and the controllers for the sprite (controlLayer). Is correct this approach with my classes?
- The game load the map correctly, but in the controlLayer the init i would like to add four labels or menuItems (the directions for the movement), and when i build up the project, i can't see this menuItems.
Thanks for all !