|
-
Hi!
here is the question:
let say i got 5 frames (myframe1, myframe2,......)
How to put them in array?? Push the button-- Call them randomly , frame by frame and delete from array frame that has been already played .. and not call this frame anymore. until array is empty.
Hope you understand me
Thanks a lot!
Iliap
-
might not be the most efficient
But here goes.....
I don't know the exact code for the idea i have, so I hope you'll be able to decifer my pseudo-code:
You could set up a random number generator
number = random(5) or something like that
Then set up a check variable : "done"&number
if "done"&number = false
set variable "myframe" &number&"done" to true
go to label "myframe" &number
else
get a new random number and keep doing it till they are all done
Hope this helps a little bit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|