Non-web/localstorage data storage

Discussion and feedback on Construct 2

Post » Thu Apr 16, 2015 4:57 pm

Anyone know a way to save data like
"VariableX = Y" but make it immune to getting reset to previous values by SaveGame/LoadGame system actions?

So I can save a game, change a value then load the previous state of the game and still have the new value.
The moderators are corrupt and ban for no reason, especially that condescending neckbeard asshole Kyatric. The forums are filled with fanboys.
Banned User
B
22
S
7
G
1
Posts: 558
Reputation: 2,925

Post » Thu Apr 16, 2015 5:00 pm

so essentially 2 different saves?
B
75
S
26
G
13
Posts: 1,080
Reputation: 13,682

Post » Thu Apr 16, 2015 5:10 pm

@jobel

No no, one save, but have a value from after the save still be there when you load the save.

Something like this:

Variable Value = 1

Save Game "Slot 1".

Go to next layout.

Change Variable Value to 2
Variable Value = 2

Load Game "Slot 1"

Variable Value remains 2 (or is changed to 2 using some means that aren't affected by save/load game)
The moderators are corrupt and ban for no reason, especially that condescending neckbeard asshole Kyatric. The forums are filled with fanboys.
Banned User
B
22
S
7
G
1
Posts: 558
Reputation: 2,925

Post » Thu Apr 16, 2015 5:15 pm

Add variable into a sprite, set Global property to "Yes", add no save behavior.
B
107
S
25
G
225
Posts: 4,324
Reputation: 128,325

Post » Thu Apr 16, 2015 5:49 pm

rexrainbow wrote:Add variable into a sprite, set Global property to "Yes", add no save behavior.


You're a genius, I will try that!
The moderators are corrupt and ban for no reason, especially that condescending neckbeard asshole Kyatric. The forums are filled with fanboys.
Banned User
B
22
S
7
G
1
Posts: 558
Reputation: 2,925

Post » Thu Apr 16, 2015 6:58 pm

@rexrainbow

Thanks Rex, it worked like a beautiful charm!
The moderators are corrupt and ban for no reason, especially that condescending neckbeard asshole Kyatric. The forums are filled with fanboys.
Banned User
B
22
S
7
G
1
Posts: 558
Reputation: 2,925


Return to Construct 2 General

Who is online

Users browsing this forum: sinistar99 and 7 guests