iDevGames Forums
Define Random Integer (Best Way) - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Define Random Integer (Best Way) (/thread-728.html)



Define Random Integer (Best Way) - 9livesoftware - Sep 24, 2009 07:29 PM

Hey guys I was wondering if you could help me define a random integer. Im making a game that needs one. Im trying to connect it to a label(if that helps)


Define Random Integer (Best Way) - jeonghyunhan - Sep 24, 2009 07:37 PM

I use arc4random() % #


Define Random Integer (Best Way) - Bachus - Sep 24, 2009 11:09 PM

http://lmgtfy.com/?q=random+number