Call computer File->Print command?

  • Is it possible to call the browser File/Print dialog box from within C2? or would i need to call some external code to do that?

    I'd like to find a way to provide the option to print a hard copy of a screen of my game.

    thx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It does not seems to be supported by Construct, if it was, it would probably be in the Browser plugin and I can find anything. However, it is possible with javascript, using the window.print() function. So you can try using the "Execute javascript" action, also from the Browser plugin.

    But I don't think you'll be able to print the canvas in it's current state anyway. You'll probably get what the page looks like before the game loads, not much. It requires more work, taking a snapshot, inject that image somewhere on the page, print that, then remove it and return to the game, not worth the trouble.

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