Player: Android: Quicksave and recover after restarting app from background

Created on 19 Mar 2018  路  3Comments  路  Source: EasyRPG/Player

Android RAM optimisations may restart the SDL Activity on memory pressure or for battery saving purposes, this may happen with ease on most devices and app switching can mean users lose the game progress. There are some bug reports regarding this annoyance.

A "quick" workaround may be creating a savegame and load it when the SDL activity gets recreated.
Some hints on this (1, 2, 3, 4, 5).

Android Enhancement PSVita

All 3 comments

Androids design decisions are just a waste of dev time. Windows UWP simply suspends all process threads after a while and keeps the app in the page file :/

Though even with auto-save we can't guarantee that the game will be in a non-broken state as you can't save anywhere without issues. But better than nothing I guess :/

If the "Save" button is directly accessible, you are assured to be able to save without major issue, so that might be a start for games that don't have designated save points...

PS Vita version could have a similiar solution because the file descriptor are destroyed:

Create a save on suspend and load the save after resume.

Same limitations apply.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Siltala picture Siltala  路  25Comments

carstene1ns picture carstene1ns  路  18Comments

BlisterB picture BlisterB  路  66Comments

Klauserus picture Klauserus  路  16Comments

chaoskagami picture chaoskagami  路  14Comments