Hide cursor in PLAYN

33 views
Skip to first unread message

dangelo...@gmail.com

unread,
May 9, 2013, 5:41:23 PM5/9/13
to pl...@googlegroups.com
How is possible to Hide the cursor of the mouse in a playn game.
Thanks

Ps. is possibile that in my game I have nothing in paint( ) because is all in the gameLayer (ImmediateLayer) and the rander() do all automatically?

Stefan

unread,
May 9, 2013, 5:49:43 PM5/9/13
to pl...@googlegroups.com
Locking the mouse should implicitly hide it
--
 
---
You received this message because you are subscribed to the Google Groups "PlayN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to playn+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

dangelo...@gmail.com

unread,
May 10, 2013, 5:51:28 AM5/10/13
to pl...@googlegroups.com
Ok, but if I wanted to hide the default cursor and set the cursor to an image?

Stefan

unread,
May 10, 2013, 11:29:05 AM5/10/13
to pl...@googlegroups.com
I am not aware of an PlayN API for that, but you could hide the cursor and then react to mouse events and display your own image at the mouse position...


On Fri May 10 2013 at 2:51:31 AM, <dangelo...@gmail.com> wrote:
Ok, but if I wanted to hide the default cursor and set the cursor to an image?

--
Reply all
Reply to author
Forward
0 new messages