- Home /
Datasource for C# Android game
Hello!
Would it be ideal to use SimpleJSON, SQLite and Playerprefs all at the same time? The nature of my android game is as follows:
It will run on the local machine/phone
It has 99 levels, each level has a defined specification
Users have to clear each level before moving on to the next one
Users can exit the game anytime, and when users get back, the game is expected to be as it was before
The game is highly graphical
Here is my plan on how to utilize the different datasources:
Use SQLite to store the different static data. Most are redundant so I am discouraged to use JSON. I used a database just so I can normalize the data.
Use the JSON file to load each objects per level. Only the IDs and long strings are stored in the JSON for the complete data per object are stored in the database (mostly from interconnected tables. Will this cause longer runtime?)
Use the PlayerPrefs to save the user's current game after exit and also the settings for the game (Eg.: volume)
Please correct me if I'm wrong in my planned setup. This is my first time developing an Android game using C#. Any ideas would be helpful!
Thanks!
Your answer
Follow this Question
Related Questions
Game Database. SQLite, XML, JSON or PlayerPrefs? 1 Answer
Best Way to Store Large Number of GameObjects? 1 Answer
How access asset files in android/ios 0 Answers
Where to save player progress? 0 Answers