Can someone please get my Local Storage to work for me?

Get help using Construct 2

Post » Wed Feb 24, 2016 9:43 pm

@EdwardJT92, can you still help me?
B
28
S
5
G
1
Posts: 594
Reputation: 3,286

Post » Thu Feb 25, 2016 5:47 pm

It wont let me reply as my rep is low. But here is a thought.

Have your inputs be saved as variables or values in global and put the rest of the game in a "No Save" state like I've stated in a lot of previous posts. If you still need me just email me @ [REMOVED] . . That's the best way to reach me.
Last edited by EdwardJT92 on Fri Feb 26, 2016 5:10 pm, edited 1 time in total.
B
14
S
1
Posts: 65
Reputation: 732

Post » Fri Feb 26, 2016 4:16 pm

Lol, hey @EdwardJT92, I thought you said "Send your file to me and I'll get it to work for you.....".

I told you before, this stuff is really confusing for me. I thought you were going to work on my capx for me... no?
B
28
S
5
G
1
Posts: 594
Reputation: 3,286

Post » Fri Feb 26, 2016 4:18 pm

I'm sure it hasn't been mentioned but why not use Construct 2's native save/load commands?
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
46
S
24
G
30
Posts: 516
Reputation: 19,437

Post » Fri Feb 26, 2016 4:32 pm

Hey @LaDestitute, I don't think Construct 2's native save/load commands will saves global variable information... will it? I'm trying to create a bar graph.

What exactly is the Construct 2 native save/load commands able to save, and not able to save?
B
28
S
5
G
1
Posts: 594
Reputation: 3,286

Post » Fri Feb 26, 2016 5:31 pm

According to the manual, what isn't saved is:
- Input state (i.e. mouse position, or whether the player was holding keys or touches)
- AJAX requests
- WebSocket connections
- The XML object
- User Media video or audio feeds
- Facebook login
- WebStorage state
- CocoonJS/Windows 8 state
- Any in-app purchases on any platform
- Anything with the 'No Save' behavior

Also, a better solution compared to global variables in my opinion is to use an array and store some values in there, and set/modify them accordingly when needed via x/x,y/or x,y,z. Arrays also persist between layouts on their own.
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
46
S
24
G
30
Posts: 516
Reputation: 19,437

Post » Sat Feb 27, 2016 7:20 am

i have checked your caps
its too confusing
you want to save bar height, right ?
way is simple you have to put bar height to local storage "Key"
and save every time when bar height changes
do --
if exit get it
if get it - do something
if missing - set it
or try to make a simple file or do practice to save data on local storage
Image
B
63
S
38
G
42
Posts: 625
Reputation: 30,363

Post » Mon Mar 07, 2016 4:22 am

Bump.... Can someone please work on/fix my Local Storage for me (I've been at this for soo long now, I still can't get it to work)?
B
28
S
5
G
1
Posts: 594
Reputation: 3,286

Post » Mon Mar 07, 2016 5:54 pm

BBUUMMPP...
B
28
S
5
G
1
Posts: 594
Reputation: 3,286

Post » Wed Mar 23, 2016 5:25 pm

Bump... I really need someone to help me with this one.... still. Please guys, can someone with some experience with Local Storage fix my capx for me? I'm desperate here... I can't figure out the tutorials, but once I see it set up visually, I'll get it forever. Please can someone help me with this?
B
28
S
5
G
1
Posts: 594
Reputation: 3,286

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: JaredX, jaytrott86, odiusfly and 6 guests