Random Movment Tutorial
Loading...
1,063
Loading...
Uploader Comments (TheEagle1100)
see all
All Comments (12)
-
hey, i have a question do you know how to make random numbers exactly between 0.01 and 0.04.
please help me
-
@TheEagle1100 OMG! You're great, thank you very much!
-
I pretty much got all the code down down expect the part ball.center = CGPointMake(ball.center.x + ballVelocity.x, ball.center and the rest is cut off the screen.Whats the rest?
-
How to do this thing with 2 images???
Loading...
Hi, I need a little help, maybe you can help me.
How I can randomize two images?, I just want to display one, but random.
I hope I can help.
Thanks.
Sorry for my bad English
ulbricho 10 months ago
@ulbricho Use arc4random(), and get a random number between 0 and 1, and use image one if it is 0, or image 2 if it is 1.
TheEagle1100 10 months ago
Wheres the source code?
johnydee187 1 year ago
@johnydee187 I have it. If you pm me your email address, then I will send it to you.
TheEagle1100 1 year ago
@TheEagle1100 thanks for the response.i actually paused like crazy to get the code down.Would of been easier if you had xcode in full screen haha...And i figured out the missing code thats cut off the screen.But yeah you should do more xcode tut,maybe something like adding a timer to count down than after it reaches 0 it will go to the next scene..
johnydee187 1 year ago
@johnydee187 Yeah, I'll probably do some more tutorials at some point, but I'm really busy with school right now.
TheEagle1100 1 year ago