Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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
I made a bunch of silly phrases that are supposed to be a different one every time, but only the first one ever shows up.How am I supposed to make it so it will be randomized.I tried using "random" but it only works with numbers.What do I do?
Have you tried arrays? If not, check it out here:
depending on how long the phrases are you have you could use the choose() funtion.
Set Text to: choose("Hello string1","Hello string2","Hello string3","Hello string4")
this will pick only one of those hello strings..
one way i do it for alternating title screen phrases is
On start of Layout ----> Set Text --> Choose(text1,text2,text3,text4)
there are many ways to meet your goal in Construct 2
Develop games in your browser. Powerful, performant & highly capable.
How is the test stored ?