save to API File

07-19-2014, 04:00 AM
#1
save to API File

Someone help
Me out

You cannot save to API file right?

So how can a player play a word game making their own words in a template without me having to make hundreds of word packs as inapp purchases?
Thanks
07-19-2014, 06:13 AM
#2
Quote:
Originally Posted by Planetman View Post
Someone help
Me out

You cannot save to API file right?

So how can a player play a word game making their own words in a template without me having to make hundreds of word packs as inapp purchases?
Thanks
You can save locally on device so that shouldn't be an issue.

Please follow me on twitter @JamesDestined I post lots of development from both my game creation and professional development.
Time to measure - Brain challenge https://itunes.apple.com/us/app/time...820864672?mt=8
The light box, can you solve it (free) (on google play too)
https://itunes.apple.com/us/app/the-...6300?ls=1&mt=8

07-19-2014, 06:18 AM
#3
?

Quote:
Originally Posted by Destined View Post
You can save locally on device so that shouldn't be an issue.
Please can you explain more in detail?
07-19-2014, 06:31 AM
#4
Quote:
Originally Posted by Planetman View Post
Please can you explain more in detail?
It is standard to be able to write data to a device. How you do it is up to the coder but there is nothing technically stopping writing files to the device.

For a list of words all you would need is a file you append the extra words to the end of.

Please follow me on twitter @JamesDestined I post lots of development from both my game creation and professional development.
Time to measure - Brain challenge https://itunes.apple.com/us/app/time...820864672?mt=8
The light box, can you solve it (free) (on google play too)
https://itunes.apple.com/us/app/the-...6300?ls=1&mt=8
07-19-2014, 08:57 AM
#5
Quote:
Originally Posted by Destined View Post
It is standard to be able to write data to a device. How you do it is up to the coder but there is nothing technically stopping writing files to the device.

For a list of words all you would need is a file you append the extra words to the end of.
Thanks
So you cannot really implement the cards in to the game that someone makes?
07-19-2014, 01:46 PM
#6
Joined: Feb 2011
Location: Brisbane, Australia
Posts: 59
I assume you mean IPA.... which is a container and not applicable to what you need.

Yes a player could load his own cards that he created and saved locally (ie: on his device) in the apps documents folder. No you cannot save to the game files (but that shouldn't matter).

So for example: I keep a game save file in the apps documents folder (you can read and write there) but the games assets and files are read only and cannot be changed.

This is my understanding of how Apple sandboxes applications. If it is wrong, anyone feel free to correct me.

Roguebox Studios
Like us on Facebook
Follow us on Twitter
07-19-2014, 07:17 PM
#7
Quote:
Originally Posted by Planetman View Post
Thanks
So you cannot really implement the cards in to the game that someone makes?
The opposite of what you said. Of course you can. It would actually be easy from my point of view.


Quote:
Originally Posted by Rogue View Post
I assume you mean IPA.... which is a container and not applicable to what you need.

Yes a player could load his own cards that he created and saved locally (ie: on his device) in the apps documents folder. No you cannot save to the game files (but that shouldn't matter).

So for example: I keep a game save file in the apps documents folder (you can read and write there) but the games assets and files are read only and cannot be changed.

This is my understanding of how Apple sandboxes applications. If it is wrong, anyone feel free to correct me.
I actually assumed he mean apk for android. Either way saving is not a problem.

You are right, and then if you want to sync the data accross devices you need to come up with a solution.

Pretty much every game does this in some form to keep track of progress.

Please follow me on twitter @JamesDestined I post lots of development from both my game creation and professional development.
Time to measure - Brain challenge https://itunes.apple.com/us/app/time...820864672?mt=8
The light box, can you solve it (free) (on google play too)
https://itunes.apple.com/us/app/the-...6300?ls=1&mt=8