I am using UE4 4.26.2 and developing mobile game for Android. I have already published one game. For my second game I wanted to make new features like life and daily revard system. But, unfortunately I could not manage to make it.
I want to make a countdown system even when the game is to closed to give the daily reward. But I could not find any tutorial or an informatin in unreal engine documantation.
I want to make life system like other Android games. Player will have 7 energy bar for every single play. And every 2 hour the player will get 1 energy bar.
Can you please help me for these two issue? I really get stuck on these two issue.
Thanks in adwance,
Kind regards to everyone who reads this,
Çağrı Kağan ERKMEN
Production Manager at glass container company
Record the time of day that you last awarded. Check the current time of day at start. If it’s larger than the desired difference, make the award.
If you want to secure that reasonably against someone just changing the time of day on their device, then ask a reputable internet clock site for the time.
I’ve not really done anything like that, but my gut tells me that since the UE Android application has a Java part as well as the engine in C++, you could probably edit the Java side of the application to provide multiple activities, and provide some Java activity to fire on specific times or events, check some things, and fire notifications off if needed. I don’t think it’s something you’d want to do on the Unreal side.