Making a simple iPhone game, part 9
Uploader Comments (TheEagle1100)
All Comments (33)
-
@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.
i need the code...
Ppaki420 9 months ago
@Ppaki420 Just PM me your email.
TheEagle1100 9 months ago
Hey, my platforms are falling, any reason for that?
Thanks for the Fantastic tutorials!
EpicPandaFTW 1 year ago
@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.
TheEagle1100 1 year ago
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 1 year ago
@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.
TheEagle1100 1 year ago