Jump to content

Mouse input not available when scaling with drawImage


Recommended Posts

Hi all,


I have a game that's set up to scale to 2x by rendering a visible image at 2x from an invisible canvas (where all my stuff happens at 1x scale). My problem is that the mouse position is not captured correctly since my actual game is hidden.


Is there a way to take the (readily available) mouse data from the 2x canvas and deliver it, scaled back to 1x, to Phaser from the outside?



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...