seiyria Posted October 6, 2014 Share Posted October 6, 2014 Is it possible to add a hover event that displays a tooltip (either made in phaser, or a browser tooltip) based on the type of object you're hovering over? Link to comment Share on other sites More sharing options...
tomas.polz Posted October 7, 2014 Share Posted October 7, 2014 HI, I think you need to set handler for onIputOver event as in http://www.html5gamedevs.com/topic/5171-checking-if-mouse-is-over-a-sprite-hover/. Then it is easy to add this handle for objects(sprites) you want to and display Tooltip you may use for example some JS library like Jquery UI etc. Link to comment Share on other sites More sharing options...
Recommended Posts