Low Battery/Notifications interfering with game.
Hi folks.
I have a very simple, addictive, face paced game which I though wouldn't need a pause button.
For the sake of simplicity imagine flappy bird.
Nearing completion and testing it out in ad-hoc everything was 100%..
UNTIL..
I got a snapchat from one of my friends and was alerted through the top of my screen as a notification.
How could I be so stupid to forget about this! Then I got thinking.
There is the following I need to take care of.
-Notifications
-Incoming Phone Calls
-Battery Level
My code is rather complex, although the nature of the game aims to be minimalist.
I must admit, the game is very satisfying and pleasing. IMO it has some potential.
Now here's the thing. I would like to create a custom pause button but GameSalad would not know to use that when a notification interrupts the gameplay, right? So that leaves me with one other option. Use the pause behaviour which I don't like due to the loading icon. Oh well. No matter which way I do it, it is going to be extremely complicated. There are probably at-least 12 attributes at play in any given instance of the gameplay which I will have to constrain instantaneous when pause is tapped.. hmmmm this is not going to be fun!
I'm in the process of learning Objective C through Xcode, it is actually a lot of fun.
I'm off to uni next year to pursue software engineering which I am really excited about!
Yarn over.
Has anyone got any tips? Best way to go about this?
Comments
Just use pause. It's really not that big of a deal. Most cases the load wheel never shows in my experience. It really just depends I how resource heavy the game is and what gen of device your using.