Save System in Construct 2

  • Hello!

    I've a question about Scirra Construct 2. I'm planning to create a pretty big game with the engine, but I just realized something important; we need a save system!

    I do not know if it's possible to create a save system when you're playing the game in the browser. Is it possible? And if the answer is 'Yes'; how can I do that?! <img src="smileys/smiley1.gif" border="0" align="middle" />

    Thank you!

    Thijs

  • It might be doable with cookies, I can't remember if C2 has them implemented tough ...

  • Hm, alright. But a in a downloadable game it is possible to create a save system, right?

  • Of course ! And there are plenty of ways to do it ! <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Okay! Thanks for the quick response, Magistross! :D

  • HTML5 supports local storage, so that would probably be a good way of saving a user's data.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm aiming to replicate Classic's save system at some point (it's just one action, and it automatically saves the entire game). It's on a very long todo list of features, though.

  • I hope we get to see your todo list one day.

  • I'm aiming to replicate Classic's save system at some point

    So, did you already made it, or is it still on the to-do-list? :) I want to make an RPG, so this system is very important for me. <img src="smileys/smiley17.gif" border="0" align="middle" />

  • So, did you already made it, or is it still on the to-do-list? :) I want to make an RPG, so this system is very important for me. <img src="smileys/smiley17.gif" border="0" align="middle" />

    He said it's not done yet, but will do, which sounds like a life saver for me too, since I am creating an RPG as well.

  • Ditto. Anticipating this highly.

  • I'm afraid it's a very complicated feature to implement and is not currently high on the list of priorities (it will be done eventually of course).

    Currently I think the best solution is simply to use Web Storage - obviously it's a pain to try and save the state of an entire layout, but you can very easily save the current level/stage they have reached, in between separate levels.

    For an RPG I suppose your best bet for now is to try that with extra stuff like your inventory/experience/etc. saved to web storage as well. So you can do it yourself via WebStorage, if you save at points between levels.

  • I'm afraid it's a very complicated feature to implement and is not currently high on the list of priorities (it will be done eventually of course).

    Currently I think the best solution is simply to use Web Storage - obviously it's a pain to try and save the state of an entire layout, but you can very easily save the current level/stage they have reached, in between separate levels.

    For an RPG I suppose your best bet for now is to try that with extra stuff like your inventory/experience/etc. saved to web storage as well. So you can do it yourself via WebStorage, if you save at points between levels.

    A tutorial on this would be great. I don't think I understand much about saving in web storage yet. =\

    If there's a tut, I haven't seen it yet.

  • I imagine saving entire arrays would be a massive pain in the ass, though, since there doesn't seem to be any method to saving a whole array to webstorage in one action.

  • I know this thread is relatively old but is there really anyone who can explain how to use web storage for this or is there any prediction on when this save feature would be added. I ran into this problem of how to save on a current project I am working on.

    Sorry for the flash back to the past though.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)