How do I let the user save different background colors?

Get help using Construct 2

Post » Tue Nov 29, 2016 9:52 am

Right now it's set to a button and every click changes the background to a different color. But the background sets back to the first animation frame again on a restart. Yeah I'm using on click button, sprite# change to animationFrame 1,2,3,0 zero being the original color they don't have to change.
How do I "save" their choice of a color?
Thanks People.
B
31
S
13
G
1
Posts: 41
Reputation: 2,958

Post » Tue Nov 29, 2016 9:56 am

you could use localstorage
Image Image
B
25
S
14
G
139
Posts: 876
Reputation: 72,510

Post » Tue Nov 29, 2016 6:08 pm

;)

So do I switch over make an array to use local storage
there are for now 4 different choices.
Right now mine looks like this
Image
B
31
S
13
G
1
Posts: 41
Reputation: 2,958


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests