Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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!
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!
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?
Nevermind! I was researching it and you put the quotation marks around the animation's name to do it!
Example: choose("Red","Blue","Pink")