uikit - Create Multiple (similar) Levels based game in iphone sdk -


I have this game where the balloons are coming from below and the player has to first tap them by tapping: time ends

OR

10 balloons leave the screen unpopular depressed

Every level is the same, only the number of balloons in the change.

For this, I have the following view controllers:

Main LevelVC: The first one, when the BaloonPopViewController connects when the user selects to play the game.

LevelIntroVC: This shows an introduction screen for 2 seconds for each level, basically an image level compute is loaded on the basis of ef 1.png, 2.png etc

Level Astrovisi: The same as before but shows an outdoors screen. 1_outro.png etc.

Level playview: This is where game logic is actually implemented. A link to the main menu (play, high score, etc.) is available here.

I have done it for one level, the Global Variable in MENLELVC (originally implemented through a singleton) which defines maximum balloon allowing the screen to leave the unpop (left Balls) and the number of balloons in the next level (ballooncounten) At the end of each level, I have to increase the levelCount Global variable and also the level * TOUVC will have to facilitate their work easily.

What am I confused about is how to proceed at the end of each level? Should I want to add LevelOutro to that level of increment or reduce any value that I want, how can I connect back to LevelIntroVC to start at the next level?

How are you displaying visual controllers in the first place? If you are using a navigation controller, you can only popToViewController: animated: to get access to your code.

Otherwise, you might be at the top of the VC as you are currently VS To get out of the VC, the introduction to the VC is transitioning from the same kind of Vice-Chancellor. Just be careful about your memory usage - leave the "old" view controllers reaching as early as you can.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -