defold / extension-kaios

Defold native extension for use with KaiOS
MIT License
3 stars 4 forks source link

Detect if engine sim never successfully starts and add back button as exit button #5

Open subsoap opened 3 years ago

subsoap commented 3 years ago

If engine sim does not start for whatever reason, the template text should show text to say the game couldn't begin, press back button to exit, and the back button should work as a callback to exit the app.

britzl commented 3 years ago

Under which circumstances would this happen though?

subsoap commented 3 years ago

A simple heart beat function may work, then if heartbeat doesn't get within like 10 seconds enable the back button override and display a message "The game either crashed or failed to launch. Please press back to close the game and launch again." another option is if heart beat fails after so launch auto close the game.