I know im asking a lot of questions, just want to get this demo released but i keep running into walls. for some reason this wont work for me:
var scene = getscene();
scene.setevent(EVENT_KEYDOWN,onback);
function onback(node,event,param,keycode){
quitgame();
}
Copy
any ideas of what im doing wrong, i want to be able to go back from menu to menu, but i cant even get an even to close the game with any button press key_down works in the demo script but not here for some reason ive only got 2 more things to go (backwards menu navigation and button screenshot taking) before i can release my demo and screens and this is needed for both