imuniz's Recent Forum Activity

  • I ended up using LocalSotorage with arrays, dictionaries and variables, and ignoring the System Save and Load. It works fine :) Took me some days and frustrations and lots of unnecessary code and some 'delete everything and start all again', but yes, it's done :)

    Wanna thanks Ashley and NoSoul8 and and Cassianno for helping out! You're awesome! Cheers! :)

  • If you want total control over your save data and save files, you would use a combination of Dictionaries and/or Arrays, and Local Storage. My current project has 3 save slots I am in total control of, can get or write to any part of them at any time, with copy/delete functionality as well. If this is what you're looking for, I suggest not using Construct's built-in save functionality. Far as I'm concerned that's just for debugging.

    Yep, that's what I'm doing :) Being complicated tho.

  • Delete save slot functionality can be technically tricky to implement on some platforms, i guess.

    Well, maybe. We have the LocalStoge don't we? A slots system could be just a playing around with the LocalStorage; why not? That's what we're doing after all, creating our slots system with LocalStorage.

    A game engine is tricky, we have it.

  • Thanks NoSoul8! Sooner or later we'll have this. Sooner is better >)

  • Hi all!

    I recently made a thread on 'How Do I' forum asking how to deal with save slots, and I came to the conclusion that this is currently not possible with Construct.

    Yes, apparently there are workarounds, but it can be just frustrating to go this way, specially if you have a reasonably big game.

    And I found that people need and ask for features like this for years (in the thread you'll find links to other ancient threads), so I created a suggestion on the suggestions page to ask for this. Please go there and give some votes on the suggestion, in name of our future games and of our future sanity making their slot system.

    Thread: https://www.construct.net/forum/construct-3/how-do-i-8/how-do-i-clean-a-slot-138124/page-3#forumPost952050

    Suggestion: https://construct3.ideas.aha.io/ideas/C3-I-576

    And thank you!

  • I've added +3 to this.

    I suggest you create a new thread in general discussion with a link to the idea and this thread.

    It will let more people see it.

    Great! Indeed great. And yes, I'll do this! Thanks NoSoul8 B)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You can just save and it will automatically overwrite existing data. I do it all the time.

    But man, if the player has just gained 1 coin in game, if I overwrite, this 1 coin will be saved. I want to delete the current data, not to save it. That's what I've been saying the hole thread, and asking how to do.

  • I created a suggestion on the suggestions page, please, in name of our future games, give some votes there:

    https://construct3.ideas.aha.io/ideas/C3-I-576

  • My bigger doubt actually is:

    If the player choose "Load Slot 1" in the initial screen, then slot1 is loaded, and the player continue from where he was... but if he come back to initial screen and select "New Game on Slot 1", what do I do?

    I can't save the current state to slot one, cause I need to refresh it as new.

    I could create an empty slot on the start of initial screen and if the player chooses "New Game" I could load this empty slot, BUT a slot is created when I save to it, and if I save the current game to this slot it wont be empty.

    Such an essential thing to have actions like "Create new and empty slot" and "Clean slot" and "Delete slot". After all it is a game engine right, isn't that what games do?

    And I'm amazed with this! I mean, look at this threads from 4 YEARS AGO:

    https://www.construct.net/forum/construct-2/how-do-i-18/how-do-i-delete-save-game-data-94293

    https://www.construct.net/forum/construct-2/general-discussion-17/is-there-a-way-to-clear-the-sa-88691

    https://www.construct.net/forum/construct-2/general-discussion-17/clear-saved-data-request-84551

    Besides others.

    Construct 3 came, and here we are again!

    :/

  • Still can't understand how to do what I want. Just a lot of doubts yet. Don't know how to continue from where I am. Maybe because I've never used LocalStorage before, and that's just a blur in my mind.

    But I'll do a proper tutorial on "How to Make a Save Slots System" when I figure this all out. Cause I've never been stuck for so much time in the same problem!

    I still continue to thank the help of you all.

  • I'll try to do smth i do close to never - share my code.

    Oh, yes! Thanks! :))

    Player can either load from a slot 1,2,3 or start a new game in one of them.

    Function call "startnewgame" does whatever you game does at normal start.

    At normal start my game should have no save... and how do I do that?

    Do I reset all values in the LocalStorage? Or do I create a new and empty slot?

    You can do it without localstorage, but it will be a blind pick. I use local storage to save key progress variables (e.g.: playername, hp, money) like hp1, hp2, hp3. Load LS at game start to variables/dictionary/array and use it to text objects at corresponding save slots to mark them.

    So I should save everything that must be saved, manually, in the LocalStorage??

  • The feature to delete a save slot is missing, but you can work around it by using LocalStorage to track which slots are in use.

    Still have no idea how to do what I want, after reading your tutorial on savegames and another in how to use LocalStorage. It sounds not possible to have a decent slots system :/ I'm happy with the rest of the engine tho; thank you very much, be blessed, and sorry if I was rude. Try to include that in the plans for next versions, please.

imuniz's avatar

imuniz

Member since 26 Feb, 2017

Twitter
imuniz has 2 followers

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies