Save System in Construct 2

  • I checked out Construct 2 alternatives - wikipedia 2D/3D game engines list - tried and found that currently no one is doing it better. Construct 2 is - and here i wish to banish Javascript file-access restrictions from this Reality - the best if you do NOT wan't to waste time with coding the whole game in C++ and coding the toolset.

    Webstorage, local storage shall remain the only routes.

    The best solution is COMPLETE STATE STORAGE, saving the whole game application with its save states and everything. This might give the advantage to encrypt the saved data - making it harder to crack the game.

    Piracy seems to be battled best by frequent game updates and how Blizzard did it with Diablo, that large part of the game resides on their server - inaccessible - and the server is sending out only tiny parts of new data to the game client when the player enters a new dungeon or levels up, mission is progressed, loot is found, etc..

  • i am doing an rpg game,

    and i barely have any motivation to continue to expand the game

    if i dun have a reliable save system.

    (webstorage and local storage)

    if i use my ccleaner, all data is gone.

    i dun feel safe at all with webstorage and local storage for

    an long rpg game.

    is the following possible?

    a- save the entire game into a gameslot like offline computer game, which i guess will requires a text file to be generated as well.

    b- make it like other games in the internet, make user accounts and

        passwords?

        (i like and want this, but i have no idea how to do it.)

    (i might currently switch to a new game which is like arcade fighting

    with comboes as it dun really requires a save system.)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley, you know more about this feature?

    I also work on an RPG and I begin to doubt able to go through without this backup system ...

    Create a backup for the inventory with WebStorage is extremely fastideux, if not impossible in some cases.

  • I too will be needing, down the road, a save/load system. But I was thinking if there was a way to export values to a .txt file and then have the system on load read those values in some way, you could then save to the local drive.

    But I have no idea if C2 is capable of out-putting to a text file.

  • I too will be needing, down the road, a save/load system. But I was thinking if there was a way to export values to a .txt file and then have the system on load read those values in some way, you could then save to the local drive.

    But I have no idea if C2 is capable of out-putting to a text file.

    This + a lil ol' encryption, would be extremely useful!

  • Hey guys -- I'm back

    I'm thinking of making something along these lines as a temporary solution until this is figured out.

    My idea would be a "game data object". It would provide the following:

    Multiple arrays

    Add object (would add a type of object to be saved later on) to save list

    Save arrays to string

    Load arrays from string

    Save objects to string (would save x,y,angle,animation / frame,variables)

    Load objects from string

    Save objects AND arrays to string

    Load objects AND arrays from string

    So then to save with this, we could:

    • Add "player" to save list
    • "Save objects AND array to string"

    For a map editor type thing, we could:

    • Add "rock" to save list
    • Add "tree" to save list
    • Add "player_start_point" to save list

    etc. - then save

    Now -- it's been about a year or two since my last plugins -- and I'm not sure if this is completely possible, but if it is, I'll try to figure it out. I'm working on an RTS myself, and so this would be useful.

  • > I too will be needing, down the road, a save/load system. But I was thinking if there was a way to export values to a .txt file and then have the system on load read those values in some way, you could then save to the local drive.

    >

    > But I have no idea if C2 is capable of out-putting to a text file.

    This + a lil ol' encryption, would be extremely useful!

    Sadly I am a complete noob when it comes to Construct 2 or programming in general, so I got nothing haha.

    But it was an idea I had.

  • No answer ? Ashley ? <img src="smileys/smiley4.gif" border="0" align="middle" />

  • jessejoh

    I had made this plugin before.

    It will be a lot of effort to save/load ALL properties of instances (and their behaviors), especial there had many 3rd plugins.

    I though it is better to define an interface in plugn SDK to support this save/load (serialize/deserialize) feature officially, so that all of things could be saved/loaded in one touch.

  • Full state save is still on the todo list, no ETA.

    Stomphoof - you can more or less do that with downloading JSON from the Array and Dictionary plugins.

  • Seems like we can finally close this topic, thanks to the r124 beta version! Great work, Scirra Team! :D

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