Loading saves

0 favourites
  • 4 posts
From the Asset Store
Progress\Loading Bar. Now Load you game like a Professional.
  • Hi guys

    Is there a way one game can load another games saved data?

    For example you play "game 1" and it asks you to go play "game 2" and perform an action ... "game 1" will only proceed when the action in "game 2" has been completed?

    The other way would be for one game to change a variable inside another game.

    Hopefully this make sense

    Thank you in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If both games are being hosted on the same domain, you should theoretically be able to do cross-game webstorage.

    So in GAME1 you save a key as GAME1HEALTH. Then you fire up GAME2 and load GAME1HEALTH it should work too.

    This won't work on places like the Scirra Arcade as they prepend locastorage with a unique ID. For that I guess you'd need to look at Ajax and a serverside implementation.

  • Thank you for the info! Yup, I'm gonna be hosting them on the same domain. I didn't think you could load another games save, but what you are saying makes sense ... since its web storage, it shouldn't mater what is loading it. I will try this and see if it works :)

  • Ninjadoodle Good stuff - let me know how it goes, I'm intrigued as to whether it would work.

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