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
Upload and play games from the Construct community
Game development stories & opinions
Well, i want to have a text that can handle values, for example something like this:
"The number of the run is" random(5) ", Yay!"
I know the example is invalid, but i want it to be something like this. Can someone help me?
Try plus (+) for concatentate and str( number ) to convert from value to string:
"Value = " + str(random(5)) + "! :-)"[/code:27z64wsd]
If you use the text concatenator & then you don't need to use str(). It's converted automatically.
"Value = " & random(5) & "! lol"[/code:2oybl3oj]
Develop games in your browser. Powerful, performant & highly capable.
"its true..."&newline&"no seriously"
I always use "lol" + "text" the & symbol disturbs me