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
<img src="https://dl.dropboxusercontent.com/u/1685424/textbox.JPG" border="0" />
I want the text box to show the number contained in the variable.
The top line doesnt work but the second one does
Drop the quotes on the variable
Variable1 instead of "Variable1"
Only strings (of text) get quotes :)
Develop games in your browser. Powerful, performant & highly capable.
you should do > set text to str(Variable1)
your var is a number and set text expects a string
also if you use a var, you shouldn't but quotes around it ""
edit: ow i guess you don't even need the str()
thanks. It does need the str(Variable1) as the textbox is set to a number type.