Construct2 game save? HTML5

Discussion and feedback on Construct 2

Post » Tue Mar 19, 2013 8:01 pm

Hello, I'm new to Construct2. This is my first stop, actually!

Is it possible to create larger games with Construct, than simple platformers. RPG's for example, where a player can save a game in a more elaborate way. I understand that Javascript does not have facilities to save files to a users computer and HTML5 is for presentation. What can you do with Construct2 in this way? Are we limited to cookies?
B
3
Posts: 6
Reputation: 287

Post » Tue Mar 19, 2013 8:36 pm

it CAN SAVE: just use: webstorage + offline cache
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Tue Mar 19, 2013 10:30 pm

Yep , No local drive saving is not possible tho ...
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Tue Mar 19, 2013 10:38 pm

Well, WebStorage saves to a user's hard drive, which is how it persists the data even after turning off your computer. But the browser handles the storage rather than allowing you to choose a filename.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,574

Post » Tue Mar 19, 2013 10:41 pm

Well ... You can't save to files ... It's possible , but not secure , so Browsers disables it ...

You ain't suing C2 , C2 is EPIC
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Wed Mar 20, 2013 12:02 am

Although I haven't used it C2 supports posting to URLs so you could have a website with a DB and store info there but that means the player needs to be online. If C2 allowed you to edit code then you could use sqllite which can be downloaded to the local to computer from you game but it dosent right now.
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Wed Mar 20, 2013 6:54 am

[QUOTE=Ashley] Well, WebStorage saves to a user's hard drive, which is how it persists the data even after turning off your computer. But the browser handles the storage rather than allowing you to choose a filename.[/QUOTE]

@Ashley I'm curious how do you make a backup?
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Wed Mar 20, 2013 7:55 am

I was wondering... Is it not possible to write users data in a xml file, his name and password, his checkpoints reached, his health bar or whatever ? He could login in the game, and we search an entry in the xml file to reload his progression ?
B
40
S
9
G
5
Posts: 127
Reputation: 6,609

Post » Wed Mar 20, 2013 8:22 am

You could also save it in a database ;)
B
15
S
6
G
6
Posts: 512
Reputation: 5,550

Post » Wed Mar 20, 2013 10:43 am

Is there a database access on Construct 2 ?
B
40
S
9
G
5
Posts: 127
Reputation: 6,609

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 15 guests