How do I make save games properly

Get help using Construct 2

Post » Fri Jan 02, 2015 12:21 am

Is anyone else having an issue with save games?
Everything works fine with loading and saving.
I'm currently autosaving the game at the start of each new level/layout,
and that's working fine.
But when I load the saved game later, the Z Orders are all mixed up on the loaded level/layout,
so things that should be in front are now hidden behind objects.

I was curious if anyone has experienced this and maybe had tips on how to fix it.

I tried searching for answers, but it seems too specific... I couldn't find anything.

Thanks :)
B
10
S
2
Posts: 37
Reputation: 688

Post » Sat Jan 03, 2015 6:27 am

Cooldowns, bullet direction left and right mirroring, and z-orders all seem to get weird when I load a saved game. All these things work perfectly fine when playing through the game from the beginning.

I've researched a ton today, and figured out its most likely because the save state doesn't save everything. There are a lot of things that don't get saved, and I have some things working with the system---every tick event... for cooldowns, and a lot of the things that don't work when loading a save, are things that are linked to those cooldowns.

But, like I said, they work fine otherwise. Its just when I load a saved game.

I don't really know how to fix it, though.
It would be really great if someone had an idea of how to solve this issue.

I suppose I could just finish my game and have it be old school, no saving, one time play-through, but I'd rather not do that.

Help please :(
B
10
S
2
Posts: 37
Reputation: 688

Post » Sun Jan 04, 2015 4:30 am

I have one more question related to the save game state.
Is there a way to delete the save that's in the game before exporting, so that the player doesn't hit continue and end up starting on the last level I was playing in the testing phase?

I did a test nodewebkit export, and noticed this.
I didn't know where the save file was kept.

Thanks
B
10
S
2
Posts: 37
Reputation: 688


Return to How do I....?

Who is online

Users browsing this forum: oosyrag and 19 guests