Find User here you can look for a user

Autosave when the app loses focus

#1 2017-10-11 12:59:52
Can we make it autosave when the app loses focus? I frequently am playing and I'll switch to another app for a while and when I come back I've lost the last few things I did because Android closed the app before it saved. I'm on Android Oreo which apparently is more aggressive about killing background apps. I know there's a setting I can change to tell Android not to kill MyColony but still a save would help those who don't know about that setting. :)
#2 2017-10-11 13:18:05
save before you leave the game :D when you start to save before you switch, it will save even if it's not on-screen. Only to clicks and your progress will be saved
Its me Lego.
#3 2017-10-11 20:54:28
Yes but a few lines of code could get that down to zero clicks. :). I don't always remember to save first.
#4 2017-10-12 15:49:00
My colony isn't meant to be used as an idle game. Hence, you shouldn't have it open in the background anyway. If something goes horribly wrong to your colony (they all starve to death) while you have it in the background and then it auto saved while in the background, then your colony would be screwed and you would regret asking bast to make my colony autosave while in the background. It's best just to always remember to save and close the app when you aren't using it to avoid any unneeded complications.

Or, if you need to put the phone down to go do something for a few seconds, you could just leave the app open and it will continue to simulate the colony and make autosaves. But enabling it to autosave in the background is dangerous stuff.
Edited by Amorphus on 2017-10-12 15:50:57
#5 2017-10-13 12:19:05
The game doesn't run in the background. And I am ok with that. But if I'm playing and I switch to another app (say, got example, I get a phone call) I'd just like it to save so that whenever I do come back everything is how it was when I stopped playing. :).
#6 2017-10-14 14:56:00
Just added this to 0.47.0
Owner of Ape Apps
#7 2017-10-14 21:04:59
Thanks. :)
My Colony


Ape Apps is an independent software development company founded in 2010 by Brandon Stecklein. Over the years, Ape Apps has published over 400 apps and games across various platforms. You can get in touch with Brandon on Twitter or by leaving a post on his wall @bastecklein
App of the Day