Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save game when app looses focus #14

Open
taratatach opened this issue May 20, 2013 · 2 comments
Open

Save game when app looses focus #14

taratatach opened this issue May 20, 2013 · 2 comments
Labels
Milestone

Comments

@taratatach
Copy link
Owner

Related to #11 (in French).

We need to save the state of the current game whenever the app looses focus so the player doesn't loose the current game.

A future improvement of this could be the ability to save multiple games.

@Flaburgan
Copy link
Collaborator

Are you sure the game is lost if focus is lost? Using Android, when the focus is lost but the application is not exited, the game is still there (example: you receive an SMS, go in your sms app, read it and then close the sms app, FFDoku will be there and the game won't be lost.)

@taratatach
Copy link
Owner Author

We shouldn't assume the state of data when loosing focus and killing the app will definitely loose the game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants