How do I save settings?

Get help using Construct 2

Post » Tue Sep 13, 2016 2:54 pm

Hello guys. Im very new to Construct 2 and i have been learning how to do alot of things with it. I´m also going to buy the paid version very soon!
But theres one little thing that i have been struggling alot with.
I dont know how to save the settings specifically audio.
Basically what i want to do is to have construct remember the state, either on or off, of the audio that the user selected when he last played the game and accordingly have a certain sprite animation show and of course have the sound play or not.
I´ve been searching around, saw a ton of videos about localstorage but cant seem to replicate that myself so please if someone could help i would own you my life!
I tried to post a capx but i cant post urls because i dont have enough reputation...
Last edited by Husui on Tue Sep 13, 2016 3:45 pm, edited 5 times in total.
B
26
S
14
G
8
Posts: 49
Reputation: 6,250

Post » Tue Sep 13, 2016 3:27 pm

Post links like this ....

www.scirra.com/
tutorials/997/how-to-code-monster-loot-drops
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Tue Sep 13, 2016 3:54 pm

Well i tried like 3 times alredy and it simply blocks my links...
This is quite depressing, i just wanted some help...
I really dont get all these restrictions...
Anyways thanks for the reply i guess im just gonna have to figure it on my own...sigh
B
26
S
14
G
8
Posts: 49
Reputation: 6,250

Post » Tue Sep 13, 2016 4:09 pm

Just make a sprite call it SAVE and do in event sheet like this when mouse clicked on SAVE sprite that you made->go to system and click on save that will save your state.
B
9
S
4
G
1
Posts: 89
Reputation: 1,498


Return to How do I....?

Who is online

Users browsing this forum: dop2000, MikaelS, nahima, Nicolas951, Shenkai the ssj and 22 guests