0 Favourites

Global Text appears in every layout?

  • Hello;

    I have a string called Debug Text (using the Text Plugin), which is in the home layer of my start screen.

    Later on it is in the UI layer of my Roid screen. When I go from the start layout to the Roid layout I now see two copies, one from the start screen home layer and one from the UI layer on roid. Once I leave the start layout why does the Global "Debug Text" still show where it once showed?

    I assumed Global means the string is not destroyed when the layout is closed--not that its display properties are persistent to the next Layout. Am I missunderstanding what a global text variable does(I used the Text Plugin).

    Should I just have a global array and load it into a local text display plugin?

    Thanks for your time.

    yours

    Winkr7

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Global objects appear in all layouts. When you say "string" above, I think you don't mean a string in the sense of a variable, but a string in the sense of a display object.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
[Plugin] tag text
188 25,438
RBuster's avatar
RBuster
Unread hot topic
118 32,894
rexrainbow's avatar
rexrainbow
Unread hot topic
102 6,400
Ashley's avatar
Ashley Construct Team Founder