C
c0dycZ
Guest
Hi, 2 questions from a beginner to get to know if GMS 2 is the right IDE for my Android-Game idea.
I want to make a game that can send push-notifications to the smartphone if the attention of the player is required for a specific action. Therefore a found push_local_notification() in the helpfile.
My first problem is that the helpfile uses var fireTime = date_inc_day(date_current_datetime(), 1);
to set the day and time to appear, but how should i write it to appear at same day with a specific time of day?
My second, bigger problem i think, is that some processes of the game should still run in the background if the game is not in foreground or the smartphone is locked while game is running. (To call specific event in the game if the user didn't pay attention for a while)
Is there a switch or variable in GMS 2 to deactivate the automatic pause of the game when user lock the smartphone or minimize the app?
Thanks for every help!
Greets, Chris
I want to make a game that can send push-notifications to the smartphone if the attention of the player is required for a specific action. Therefore a found push_local_notification() in the helpfile.
My first problem is that the helpfile uses var fireTime = date_inc_day(date_current_datetime(), 1);
to set the day and time to appear, but how should i write it to appear at same day with a specific time of day?
My second, bigger problem i think, is that some processes of the game should still run in the background if the game is not in foreground or the smartphone is locked while game is running. (To call specific event in the game if the user didn't pay attention for a while)
Is there a switch or variable in GMS 2 to deactivate the automatic pause of the game when user lock the smartphone or minimize the app?
Thanks for every help!
Greets, Chris