Nevermind! I was researching it and you put the quotation marks around the animation's name to do it!
Example: choose("Red","Blue","Pink")
No problemo! ...if you need some help... just ask...
No problemo!
...if you need some help... just ask...
I actually do have one question! If I decided to do animations instead of frames so the colors could have different animations, would I replace the numbers with the animation names or keep the numbers?
Develop games in your browser. Powerful, performant & highly capable.
set frame to choose(0,1,2)
set frame to
choose(0,1,2)
Oh thank you so much!
Hi there! I'm in need of some help. I'm trying to make a whack-a-mole inspired game and there are several different "types" of moles with different colors and points for hitting them. I have the system to respond differently to the different enemies when you hit them (Using frames) but I need help varying the enemies shown each time someone plays. I don't want it to be a pattern that they can document for example; first its the pink mole then its the green mole then its the blue mole. Thank you!
Member since 7 Nov, 2014