Open hassanshaikley opened 8 years ago
Also if this library is able to give my game a cool looking mouse I'll be down to use it.
So like for my browser game if I can switch out the mouse with this library that would be pretty cool, with maybe some image that I supply it.
Updated: lightsaber added dynamically without html element. image can be changed. check README
It might be cool to insert the HTML programmatically as opposed to asking programmers to do it themselves.
Something like:
$('body').append("<img src="img/lightsaber.png" class="lightsaber" style="position:absolute; display:none;"></img>");
Or at least write a function that does that, that accepts different options.