Guys, how do I Construct the save game data? It would be necessary to use the ajax component and connect with a server language like PHP? And the house of a game for mobile using PhoneGap?
Try out the WebStorage object scirra.com/manual/120/webstorage/page-1
Local storage saves until the browser cache is cleared. On PhoneGap, however, it'll save as the app's data like any other app
But if I wanted to use the data of the player, making a record? To mount Rank or create a page with statistics? or he could play another PC?
Then ajax. It's not really possible to make a serious ranking without connecting the players and comparing their points or whatever.. <img src="smileys/smiley17.gif" border="0" align="middle" />
Develop games in your browser. Powerful, performant & highly capable.
And you want to save your information for the player, use the game on another pc / browser? Do not have an alternative? WebStorage not create the PHP session (for example) could get?
Webstorage saves locally on the device you use - eg phone. If you run the game later on a pc you have no access to previous local saved data on the phone.
But then there is a solution for this? Some language can access the variables of WebStrorage?