I am using an open source program called Twine (http://www.gimcrackd.com/etc/src/) to make simple html games (interactive stories). I want to take those games and create an App out of them. I have successfully used PhoneGap (http://phonegap.com/) to take the HTML file created by Twine and make it into an APK (Android App). The problem I am having is that when the App is closed or gets interrupted (user getting a call for example), then the progress is not saved. The user must start over when the app is opened again.
There is a "plugin" for Twine that allows the player to create save points (http://www.motoslave.net/sugarcube/). Here is an example of this system: https://www.dropbox.com/s/dnsg2rhkcvd8x81/header.html.
But that does not solve the problem of the app losing the player's progress if he gets interrupted.
So the main issue is creating a way for the state of the game to be saved when it is closed.
The second issue is the layout. It is not "mobile friendly" by default.
There is another plugin which makes the HTML formatted for phones (here is an example: http://www.gritfish.net/twine/town.html).
I would like to take those 2 plugins and combine them so that the player can manually create save points, and the format is mobile friendly.
Here is a guide to create a Twine game using the mobile format "plugin" : http://gritfish.net/blog/tin-cans.html
(The guide uses Appcelerator Titanium to make the file App file instead of PhoneGap.)
In the end, I would like an App similar to the Gamebook apps made by Tin Man Games (http://gamebookadventures.com/). Obviously not as fancy, but similar in idea.
I realize that this description is a little confusing. Bottom line is I want to use the Twine software to create interactive story games that can be turned into Android/Iphone apps using the PhoneGap service (or something similar).
Please don't hesitate to ask questions!