Jump to content

Hide Mouse Cursor?


evan312
 Share

Recommended Posts

Hi!

Is there a way to hide the mouse cursor built-in to phaser? If not, how can I do it in plain html5?

 

I put a 'cursor: none'  under canvas in my stylesheet, but I think the canvas that phaser makes takes precedence over it with: 

 

<canvas width="800" height="600" style="display: block; -webkit-user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: default;"></canvas>

 

as i can see with my debugging console.

 

Thanks!

Evan

 

PS Just starting out with html5 game development and I am really loving Phaser! 

Link to comment
Share on other sites

sorry, incoming noob question!

What do I put where from the phaser-dev folder to successfully use the changes you made?

 

I downloaded phaser-dev, then copied phaser.min.js from the build folder and put it in my project folder along with my main.js, index.html, and all the rest, but i seem to be having the same issue!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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