It is possible to set values in textboxes in a global manner ? like set text in layoutA then change layout to B and still see the same values in the textboxes ?
I tried setting the textbox global but the value are not fellowing. So i was wondering what ive been doing wrong.
In other words.. Theses textboxes are in layoutB but i want to set their values in layoutA.
Develop games in your browser. Powerful, performant & highly capable.
global variable: score
set text to "score" in event sheet 1
set text to "score" in event sheet 2
or just have event sheet HUD with all on-screen-texts
and then include it in event sheets?
So even if the textbox is global.. it will reset its values in the next layout ? alright.. anyway i think i will go the global values route since i want to keep this data and in case i need it i will have it.
try this .capx
In layout 1, a global text variable is prepared. When OK button is clicked, the text info in that moment is saved to the global text variable. This is then loaded in layout 2.
Thanks guys! I will get a look at this.