Showing the debugger in a node webkit export?

  • Is it possible to show the debugger in a node webkit export?

    My project is at a point where the preview doesn't seem to be working anymore, and I have to export the game to test it out. Just wondering

  • Is it possible to show the debugger in a node webkit export?

    My project is at a point where the preview doesn't seem to be working anymore, and I have to export the game to test it out. Just wondering

    try adding the browser plugin, and then create an action on start of layout to execute javascript, and place this into it including the quotes:

    "var gui = require('nw.gui'); 
    var win = gui.Window.get();
    win.showDevTools();"[/code:3i0t4wn1]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Dont do what Prominent suggested. The nodewebkit plugin has a show developer tools action.

  • I've tried the "show dev tools" action in node webkit, but it doesn't seem to have a tab that includes the debugging data. Have I missed something or is there a tab within that dev tool window that will show the C2 debugger?

  • Those are the Node web-kit Developer tools not Construct 2 tools. C2 does not export the bug hunter thing. You need to make your own text object and add the debugging information with expressions. There is cpu,fps,and every object has an item count, along with other useful things.

    Look up append text, newline, and expressions. A simple FPS counter would look something like this:

    System.Every 60*dt Seconds |----------->|TextObject.Set text="fps" |

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)