Jump to content

Is there a tooltip plugin?


WombatTurkey
 Share

Recommended Posts

I'm converting my action rpg game that uses the dom and have been using this beast for months:

 

http://darsa.in/tooltips/

 

 

Was wondering if there is something similar for phaser?

 

Since we can use bitmapdata for custom canvas contexts/properties and whatnot, maybe if I find a nice canvas tooltip library, it should work as well?

 

Edit: (Yes I did search, but couldn't find anything :P)

Link to comment
Share on other sites

Maybe I'll try to create one, thanks for the inspiration! 

 

 

I was looking at CanvasText which seems very nice for us to colorize and use text with word wrapping inside the tooltip. This can be used inside the plugin you make   :) And I have no problem buying it if you are wanting to sell it. :)

 

Also, if possible colorizing the tooltip's background color and border would be nice as well. Nothing too fancy

 

I am am trying to mimic fake tooltips that render inside a div that's outside the canvas and whenever the gameworld moves I have to offset the changes to the div on the DOM so it seems like it's NOT moving inside the game world, doesn't really work well... lol

Link to comment
Share on other sites

I have started working on it, here's the first test: http://unruly-table.surge.sh/

 

Still needs tweaks and some more features but its in a good place, you can find the repository here: https://github.com/netgfx/Phasetips

 

Starred.

 

This has great potential. Arrow at the bottom (or wherever), and text wrapping is next I assume?

 

Couldn't find a donate link button on your blog or whatnot, let me know through pm. Is this is going to be an open source project?  Would love to buy you a couple drinks. I can help contribute, but extremely busy converting my dom game over to Phaser at the moment. And still learning the Phaser framework as well.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...