Jump to content

Search the Community

Showing results for tags 'savegame'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. So i want to implement a simple save and load feature in my game. After reading some threads i think something like this is sufficient. localStorage.setItem('myObject', JSON.stringify(myObject)); But after seeing this about localstorage: https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Storage#localStorage Important: This guide is out-of-date. For up-to-date information on Web Storage, you should visit the Web Storage landing page for reference, and ourUsing the Web Storage API guide for a walkthrough. And i see that store.js also using, i think, this way of saving objects... Well my question is how do i save and load an object the best way and that it is still usable after a while (not deprecated)
×
×
  • Create New...