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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I want to program a text so, when it is clicked, it displays a random number from 1 to 5, but I don't know how to. Someone please help me!
Develop games in your browser. Powerful, performant & highly capable.
Mouse > On Text Clicked > Set Text to str( round( random(1,5) ) )
Should do just fine.
You can look in the tuts, there is alot of useful tips on using arrays.
here is one not sure if its exactly what your looking for.