Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Making a simple iPhone game, part 9

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,802
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 18, 2010

This is part 9 in my series on making a simple iPhone game. Adding the menu.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (TheEagle1100)

  • i need the code...

  • @Ppaki420 Just PM me your email.

  • Hey, my platforms are falling, any reason for that?

    Thanks for the Fantastic tutorials!

  • @EpicPandaFTW In the code that I gave you? If you are talking about the cod that I gave you, it is because in one of the later tutorials I added the falling platforms. You can make them not fall, by changing some of the code where the game checks for a collision with the player and the platforms.

  • Hi, i've reviewed the code 100 times, but when i click 'play' the platforms do not appear and the buttons don't disapear. If i start clicking, the score goes up, so this means that the game is running but how I said, the platforms and ball don't appear on the screen and the buttons don't disapear. I can't find the error, i've the same code as you.

    I'll be waiting for your answer:D thanks for this amezing tutorials

  • @NihonBuru Sounds like you aren't setting the hidden value for the objects.

    The hidden value needs to be NO for everything that you want showing, and YES for everything that you don't want showing. If you want the code, pm me your email address, and I will send it to you.

see all

All Comments (33)

Sign In or Sign Up now to post a comment!
  • @TheEagle1100 hey man i have exactly the same problem i have checked the code for an hour and everything is perfect. does it have anything to do beacuse i didnt place the platforms exactly as you did?

  • hey i just sent you a PM asking for the code if you could get that for me please.

  • I'm knew to coding objective c and these tutorials really helped me learn the language better and actually understand what I am doing. Thank you so much for you posting these tutorials great job.

  • hey is it possible to make a menu on a different file and view.xib.  And if so, can you make a vid on it please?

  • @HamburgerSprenger under viewDidLoad instead of kStateRunning make it kStateMenu

  • this was my same exact problem.... had me thinking for a good 10minutes :p

  • HI, when i start my app i first go trough the game and then when i fall down i can go to my menu.But i want my menu first ?

  • If anyone cares, I figured out my problem. In the viewDidLoad implementation, gameState was set to kStateRunning. If you look carefully in this video, it's set to kStateMenu. I'm assuming that at some point my code was correct, but at some point later, Eagle11 changed it without bringing attention to it.

  • If anyone cares, I figured out my problem. In the viewDidLoad implementation, gameState was set to kStateRunning. If you look carefully in this video, it's set to kStateMenu. I'm assuming that at some point my code was correct, but at some point later, Eagle11 changed it without bringing attention to it.

  • @NihonBuru I'm getting a similar error. I don't have the score appearing, but if I click "play" really quickly, I'll get the Menu and Restart buttons to briefly show.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more