How do I remove the exit option on android of a certain lay?

Get help using Construct 2

Post » Mon Aug 04, 2014 11:25 am

hi, basically my game is almost finished and its for android, i exported it with cacoonjs. the game is supposed to have no pause, but when the player presses the exit button on android(the one with an arrow) it asks if i want to leave the game (which is normal) but i want to remove that option from the game layout cause it pauses it i just want exit option to work on the menu, any tips?
:? help
Posts: 54
Reputation: 456

Post » Mon Aug 04, 2014 1:36 pm

There's a plugin that allows you to use the Android back buttonin CJS, called CocoonJS Android Back Button.

Then, for your purpose, I think it'd be best to have an event in your game screen that accepts the input but does nothing with it. Then in your main menu, you could create your own popup message that exits the game with the Browser -> close action.
Posts: 912
Reputation: 12,646

Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests