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?
Develop games in your browser. Powerful, performant & highly capable.
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
How is the test stored ?