Hi i have one problem with variables and editbox.
I need set variable in editbox and show variable from editbox to text. But it do not works. Please help me. I give here my cap file to check this file and help me.
Cap file here:
Since you're doing this:
+ System: Always (every tick)
-> Text: Set text to global('o')
-> System: Set global variable 'o' to global('o')
it can't really work. You're setting the text to the global variable 'o' and you're setting the global to it's own value, which naturally doesn't change anything.
If you want to do what I assume, which is setting the global variable to the editbox text and then displaying that global variable with the text object, you need to set the global to Editbox.text. Also you should switch the order of the actions in that case. And if your global would be holding a string it's probably better to set its Type to TEXT instead of NUMBER.
You could also just do this of course:
[code:qxf2qowr]+ System: Always (every tick)
-> Text: Set text to EditBox.text
I guess there was some point in using the global.
Develop games in your browser. Powerful, performant & highly capable.
Sorry my fail bad cap file