create an adder when the device is off
hi! please excuse me for my bad english I want to make energy for my game. I want that : after each level the energy decrease one... But this is my main question: how can I create an Adder in my game that increase the energy number every five minutes when the game is close??? (in Android Device)
you can't, because the game is closed. what you can do is save the last time the game ran and subtract it from when the game starts the next time. divide it by 5 $$anonymous$$utes and that's the energy that needs be added.
Answer by o0_ChromiumGames_0o · Mar 02, 2017 at 06:19 AM
Thank you... But I saw that many games have it ... !!? NO WAY ???
name one, I don't think so. if you mean push notifications, they just get scheduled or repeated calculating the time in the game. like when your in game fuel is fully charged to play again.