Custom mousepointer
in some videogames you dont have the normal mousepointer. but how i can build a custom mouse pointer in my game
in some videogames you dont have the normal mousepointer. but how i can build a custom mouse pointer in my game
I have this in one of my games. I used the code:
update = function() screen.setCursorVisible( Invisible ) end
and then
draw = function() screen.drawSprite(mouse.x, mouse.y, 32, 32) end
For this to work you have to make the mouse sprite top left corner in the middle of the sprite page.
Fireblastr, it does not work