How do I save a global variable locally? (Ejecta)

Get help using Construct 2

Post » Thu Jan 08, 2015 5:32 pm

Hi, I'm trying to make it so my app saves a global variable when something happens and I need the variable to be changed and saved.
I was looking into the webstorage plugin but it doesn't function with the Ejecta export I'm using! :/
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954

Post » Thu Jan 08, 2015 7:14 pm

according to Ashley it should work are you sure you are using it correctly?
https://www.scirra.com/tutorials/992/ho ... ith-ejecta
- The WebStorage plugin's session storage is not available. Use local storage or global variables instead.

Here is an example:
You do not have the required permissions to view the files attached to this post.
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Fri Jan 09, 2015 1:51 pm

@OneMuppet could you screenshot the event-sheet instead?? Not at home and I would really appreciate to see your solution so I can learn now whilst I'm bored :P
Also: I think I misread, I thought Ashley meant that the plugin doesn't work xD
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954

Post » Fri Jan 09, 2015 2:45 pm

Came home and tried using the webstorage and I made it work, hopefully ejecta still supports it. Thanks for your help, @OneMuppet !
Thread can be closed
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954

Post » Sat Jan 10, 2015 11:56 pm

No problem, glad I could help :)
B
39
S
9
G
4
Posts: 163
Reputation: 6,516


Return to How do I....?

Who is online

Users browsing this forum: arvivlx2 and 8 guests