Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
FREE SOFTWARE GIVEAWAY
We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.
Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!
Posted 08 February 2013 - 01:07 PM
uhm... title. Please help me the source code is below:
Posted 08 February 2013 - 01:13 PM
Posted 08 February 2013 - 01:14 PM
Posted 08 February 2013 - 01:19 PM
FleBlanc is correct. The variable arrayChooser never changes because you only call rand() once before the loop.
Posted 08 February 2013 - 09:07 PM
How could I fix this?? make a loop before the main loop that changed arrayChooser every time?
Posted 08 February 2013 - 09:35 PM
Edited by fastcall22, 08 February 2013 - 09:35 PM.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC