[Solved] How to exit the game (on android)?


#1

Made the event ( when touch on (exit) > close the game )
But when i exit the whole game stops or pause .

So how to exit the game properly on android ?


#2

Anyone ?


#3

In case the Quit event doesn’t work, try using this code in a javascrpt event:

navigator.app.exitApp();

I have uploaded an example it worked for me on my device:
gametemplates.itch.io/gdevelop-examples

It on the bottom as usual.
Hope it works for you.


#4

It works . thanks


#5

Thank you exactly what I needed.