Numbers

Get help using Construct 2

Post » Wed Nov 27, 2013 7:38 am

hi is there any way you can carry numbers over to a new event sheet like global numbers but across all the event sheets sorry im new to construct
B
3
Posts: 13
Reputation: 226

Post » Wed Nov 27, 2013 7:45 am

global variables
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Nov 27, 2013 7:50 am

As littleStain says, global variables, they are project wide and if you need to use them in another eventsheet, you do not have to include the events sheet where the global variable is defined.

If you want variables thats browser session independent, look for Webstorage.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567

Post » Wed Nov 27, 2013 7:52 am

Thanks much appreciated
Is there any way to save this number even if you exit and start the game/website again or does it do that automatically
B
3
Posts: 13
Reputation: 226

Post » Wed Nov 27, 2013 8:29 am

Like @Lennaert said:

If you want variables thats browser session independent, look for Webstorage.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Lancifer, MPPlantOfficial, Sup with that? and 64 guests