Global Text Boxes and Text

Get help using Construct 2

Post » Sun Mar 17, 2013 5:05 pm

Hi,

I just got into making games with Construct 2 Yesterday. And I'm about to create a game that has multiply levels, Profile layout, etc etc

And I would like to show the health and the scour of the player on each layout. ( Levels, Shop, Profile ) I tired to set it to global, it works sometimes. But sometimes it just doesn't appears.

I also set that every tick the text is set to the global variables : scour and health

Is there a proper way to do it or can anyone help me solve this problem?
B
14
Posts: 2
Reputation: 680

Post » Sun Mar 17, 2013 5:38 pm

Check out the FAQ ... Frequently asked questions ...
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Sun Mar 17, 2013 6:06 pm

There's nothing about this, i just checked the tutorial and FAQ as well, before I posted.
B
14
Posts: 2
Reputation: 680

Post » Sun Mar 17, 2013 6:47 pm

As long as you're saving all the necessary data to something with a global scope (like a global variable, or an array), you should have no problem using that data across different layouts. I'd double check to make sure there aren't other factors affecting the information being displayed.

If you're still having problems, post your capx.
B
44
S
13
G
7
Posts: 338
Reputation: 10,379


Return to How do I....?

Who is online

Users browsing this forum: mercuryus, Naightwolf, Skebab, Yahoo [Bot] and 18 guests