hondus's Forum Posts

  • 2 posts
  • How I could miss that. Thank you so much. Its working

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey, since plugin to handle back button doesn't work while exporting as universal app i want to do it manually (in code) but dunno how, because didn't even write anything in JS.

    Could someone help me? I just want close app when it is on start screen, and go to start screen when it is on any other layout. (Now app goes to suspended mode when press back on any layout)

    Where should i start?

    Probably base.js file.

    I Found this code and im prety sure that i have to handle it here:

            backclick: [
                function Application_backClickHandler(e, handled) {
                    if (handled) {
                        e._winRTBackPressedEvent.handled = true;
                    } else if (WinJS.Navigation.canGoBack) {
                        WinJS.Navigation.back();
                        e._winRTBackPressedEvent.handled = true;
                    }
                }
            ],[/code:10teo5gt]
    
    i can post whole code if needed.
  • 2 posts