One (or maybe two) more questions from me, I really appreciate the supportive nature of these forums, thank you for all your help!
How do you deal with your android games losing focus? If I switch to another app during my game, then when returning the game starts back on the main menu. I figure I need to use GLB_ON_PAUSE and GLB_ON_RESUME. Do I have to save all the variables and current game state to an .ini file or similar in GLB_ON_PAUSE then load it all in GLB_ON_RESUME or is there a simpler approach?
One other unrelated question: is there a way to add a hyperlink from my app to open a webpage in the browser?
Thanks,
Matt.
How do you deal with your android games losing focus? If I switch to another app during my game, then when returning the game starts back on the main menu. I figure I need to use GLB_ON_PAUSE and GLB_ON_RESUME. Do I have to save all the variables and current game state to an .ini file or similar in GLB_ON_PAUSE then load it all in GLB_ON_RESUME or is there a simpler approach?
One other unrelated question: is there a way to add a hyperlink from my app to open a webpage in the browser?
Thanks,
Matt.