#6
|
|||
|
|||
Only shuffle once, BEFORE the loop, not INSIDE the loop. Now the list gets constantly shuffled again before every pick
Also not crucial, but a helpful little housekeeping: - use a for loop to iterate over the list. It's cleaner and easier. - load your textures beforehand, not inside the loop, to improve performance. |
Tags |
condition, loop, picture, sound |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
playing a sound multiple times at different timings | jelly | Vizard | 3 | 02-04-2016 03:39 AM |