Mouse Icon

2 replies [Last post]
Offline
Joined: 11/18/2012

how to change the mouse icon once it is inside the game window ?

Offline
Joined: 12/13/2010
Haven't considered that at

Haven't considered that at all actually.  Let me take a look and get back to you.

Offline
Joined: 12/13/2010
Try this:    import

Try this:

  

import com.jme3.cursors.plugins.JmeCursor; 

...

env.getInputManager().setMouseCursor((JmeCursor)env.getAssetManager().loadAsset("path/to/your/icon/file"));

 

Be sure that the icon file is ico, cur, or ani format.