Impact

» Edit Game Info

9 months ago by dungeonmaster

Here it is. It works out of the box. Kudos to the guy who shared this.

https://github.com/goldfire/CanvasInput

Tips:
Call it's render() method on each draw.
Change this line, if you want to hide the default cursor when mouse moves aways from the input box

self._canvas.style.cursor = 'default';

9 months ago by Joncom

Very cool. I can see this coming in handy.
Page 1 of 1
« first « previous next › last »

Post Reply

Please login or register to reply.