seiyria Posted October 6, 2014 Report 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? Quote Link to comment Share on other sites More sharing options...
tomas.polz Posted October 7, 2014 Report 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.