zondag 20 december 2015

Stencyl / HaXe : Quit a Game


When used in published Android/iOS game you could face with publication problems since it is not allowed to quit the game. But for technical/testing purposes you can do this:



nme.system.System.exit(0); // replace nme with openfl if you use that branch

Flash:

flash.system.fscommand("quit");

Geen opmerkingen:

Een reactie posten