Newbie question on load/save data to server

0 favourites
  • 3 posts
From the Asset Store
DATA+ (Addon Pack)
$18 USD
20% off
Data+ is the best Data Management solution for Construct 3. It contains 4 Addons (Plugin & Behavior).
  • Dear guys,

    See in the Subject, i am a newbie in construct 2, sorry for the stupid things i may asked.

    I have search the formum and "How do I" post, but im not very clear if i am getting right or wrong.

    The problem is i was making a online game ofcause, which need to take some data from the server i connected, like player's level , game record etc. And also when in game, some of the data maybe taken into the game as like load/save game , i see many post on local storage by webstorage, but is it dangerous to do so in localstorage(?!) and it will easily be cleared after clearing cache(?!)

    As the above problem aroused, i am thinking (i think most of people also think about it ) how to save/load data to the server-side, so that everytime, when game start , i will get data from the server and use those data become variables to use in the game.

    Could any mates can give me some method to save/load data to the server-side instead of local storage. Thankyou and sorry for my poor english.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you have any knowledge of MySQL or PHP ?

  • I found the below tutorial helpful when I first started exchanging C2 game data to/from my server:

    Online High Score Table (AJAX, PHP, MySQL)

    The tutorial goes through exchanging high score data to/from a SQL table, but the same principles can be applied to any data that can be stored in a SQL table. However, you will need some knowledge of PHP and SQL queries. W3 Schools has sections covering the basics of both languages.

    A special thanks to ArcadEd for the tutorial.

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