I am creating a physics based construction game. So there are certain data values which i am using to score the player and create a leaderboard. I have done this using a local XML file which contains all the different records. What I want to do now is to host a global XML file where I could store the records of all the users centrally and then sync this file with the locally saved XML file.
So if the user is not connected to internet his progress and data will be saved on local XML and when the next time the application has net connection the players record will be added to the XML file on cloud and it will also fetch other players record as well to the local XML file.
Here is the structure of the XML file that I am using locally:
<?xml version="1.0" encoding="Windows-1252"?> <ValueCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Users>
<User username="champ">
<values>
<LevelNo LevelNo="0">
<CostValue>450</CostValue>
<PowerValue>100</PowerValue>
<DurationValue>8.3</DurationValue>
</LevelNo>
</values>
</User>
<User username="alias">
<values>
<LevelNo LevelNo="0">
<CostValue>1450</CostValue>
<PowerValue>83.92788</PowerValue>
<DurationValue>8.3</DurationValue>
</LevelNo>
</values>
</User> </Users> </ValueCollection>
After going through a lot of cloud based option for backend solution i find app42 more suitable to my need. But i couldn’t find any relevant demo or project to make me understand how can I achieve what I need. Also I am planning this project for pc so please avoid references of android samples. Thanks to you if you can help me