How do I Save Options and players location

Get help using Construct 2

Post » Mon Aug 18, 2014 10:00 am

Hey guys, while i was making my menu for testing i encountred something, i wanna change for example Shadows ON/OFF and it saves when i go back to the game.. and when i'm playing and i move and go to the menu then to the game again it saves my location unless i die i go back to the beginning of the map..
Here's the Capx

Options save.capx
You do not have the required permissions to view the files attached to this post.
B
21
S
6
Posts: 244
Reputation: 2,665

Post » Mon Aug 18, 2014 11:24 am

Either use the save state system actions or WebStorage (local) to store data persistently.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Mon Aug 18, 2014 3:07 pm

Thanks for pointing that out, but i really don't know how to use the save state system action, could you make a simple Capx?
B
21
S
6
Posts: 244
Reputation: 2,665

Post » Mon Aug 18, 2014 3:24 pm

There's a sample file that comes with Construct. Search for "save" in the templates list that pops up when you create a new project.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606


Return to How do I....?

Who is online

Users browsing this forum: dop2000, namaewayukidesu, Yahoo [Bot] and 8 guests