Private and Global variables question

New releases and general discussions.

Post » Sun Nov 23, 2008 8:44 pm

Hi there!i`m with a question in my mind, how do i decrease a number from the global variable?
I added a private variable to the player sprite that show his lifes on a text, but when he go to other layout, the number goes automaticaly to 3 (the initial number)! I thinked a global variable could help...
Can you help me with this task? :(
B
2
G
4
Posts: 12
Reputation: 1,074

Post » Sun Nov 23, 2008 9:09 pm

go into system and select "subtract from global variable"
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sun Nov 23, 2008 9:16 pm

thanks :D
B
2
G
4
Posts: 12
Reputation: 1,074


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 4 guests