How do i store Players saves/inventory/etc..?

0 favourites
  • 2 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Good day,

    When i say "Players", i mean multiple players. My game is an RPG (and will be online), and i want know where should I store their inventory once players logout and when they login, it will be there. Should i store it on a cloud? on a website?

    I am already using arrays and json for storing on a local storage but this is temporary as local storage will be cleared once players clear their cache/cookies/etc..

    I really just want to know where should i start, so if anyone can assist me, it will be very much appreciated.

    Thank you for your time

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You may use any kind of cloud storage. You'll have to call it via AJAX and send the same information you have as local storage to the server. Also, you could check for the local storage before loading, if it exists, just use it. Thus, you save on data using by only loading from the server when no local data is available.

    Cheers.

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