Skip to main content
MJD1981
Inspiring
Feb 15, 2012 5:53 PM UTC
Answered

Data that ships with the game

I'm comfortable with "shared objects" for saving hi scores and progress in a game, but what if I need to create a series of preset data files that ship with the game?

I'm working on a large project that will involve a lot of data entry and I need to save lots of values to a file that the game will still have access to once it's installed on a mobile device.

Hopefully it's not that much more complicated???

This topic is closed to new replies. Start a new post to keep the conversation going.
MJD1981
MJD1981Correct answer
Inspiring
Feb 16, 2012 4:40 PM UTC

I resolved this by writing to a text file which is "included" in the package and then parsed based on commas using the helpful "Split()" function.

2 replies

MJD1981
MJD1981Author
Inspiring
Feb 15, 2012 6:01 PM UTC

I suppose my question is how do I take one of my own SOL files and give it to everybody else?

Translate
MJD1981
MJD1981AuthorCorrect answer
Inspiring
Feb 16, 2012 4:40 PM UTC

I resolved this by writing to a text file which is "included" in the package and then parsed based on commas using the helpful "Split()" function.

Translate