Extract from the manual article about instances:
y default, all instances are destroyed when the layout ends (e.g. when going to the next layout). If Global is Yes, none of the instances of this object type will be destroyed when switching layouts.
Consider this example
The object Text is set to global.
I have an instance of Text in layout 1.
Layout 1 automaticly switches to layout 2 after 2 seconds.
Result => the button instance of layout2 appears, the text instance of layout 1 stays on screen.
Clicking the button allow to make a new instance of the Text object.
Now if you turn global to no on the Text object, observe:
On layout switching, the Text instance from layout 1 disappears (gets destroyed).
Still you can create a new instance of Text on layout 2. The object Text itself is "global"/reachable from the whole project.
The sprite in layout 2 is global.
Clicking it leads to layout 3.
The button2 in layout3 just takes back to layout 1.
You can see with global set to yes, from now on, the Text instances and the sprite appear in every layouts.
Global only apply to instances, not to the object itself. Every objects are "global" to the project by default.
In mina's capx, I think the trouble comes from the layer.
In the "startup of layout" of Event sheet 1 (event 64), you have to "move to layer 3" for text_lives, sprite2 and text_score.
Make an experience, make sprite4 in layout1 invisible (it is the background, btw mina, you should rather use a tiledbackground object than a sprite there, you could then use a smaller texture (base png) that will repeat itself automaticly and make the project and then download of the game in the end smaller, so better).
You can see, the instances of text_lives, etc... are on layer 0 (they stay in place when you move to the right).
In fact, each time you execute the layout 1 again, the sprite4 of background gets drawed over the global instances that traveled through the different layouts, keeping their properties.
zenox98: It makes sense that they don't get moved back automaticly to the layer3. In fact in the case of non global instances, they would be moved/spawned back. The instance is set for this specific layout.
But since you're using global instances, that are non limited to a specific layout, it's your responsability to move/handle them.
The layout sort of "ignores" them.
I must admit I was confused with this too. Reading the manual and testing in C2 helped.