Hi,
Can anyone help me with this?
I want to call a global variable from another sheet. It is possible?
Thanks
Yes, Globals are global.
Thanks!
Can you teach me how I do that?
Please...
There's nothing to teach. You just use it the same.
just right click to add a variable (for example money)
add a spriet (for example button )
add the object 'mouse' (doubleclick and add it)
and write a code (example) :
{ on 'button' clicked - > add to money 10 }
to see the variable you can make a text and put { ' every tick - > set text 'money' }
That's it.
Now go check the tutorials !
Good luck
local-variables_t69628
https://www.scirra.com/manual/73/instance-variables
https://www.scirra.com/manual/83/variables
just right click to add a variable (for example money) add a spriet (for example button ) add the object 'mouse' (doubleclick and add it) and write a code (example) : { on 'button' clicked - > add to money 10 } to see the variable you can make a text and put { ' every tick - > set text 'money' } That's it. Now go check the tutorials ! Good luck local-variables_t69628 https://www.scirra.com/manual/73/instance-variables https://www.scirra.com/manual/83/variables
Thanks. I understand now.
Sorry for stupid question.
Develop games in your browser. Powerful, performant & highly capable.
Maced0
No problem and good luck