WombatTurkey Posted October 9, 2015 Share Posted October 9, 2015 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 ) Link to comment Share on other sites More sharing options...
MichaelD Posted October 9, 2015 Share Posted October 9, 2015 Maybe I'll try to create one, thanks for the inspiration! WombatTurkey 1 Link to comment Share on other sites More sharing options...
WombatTurkey Posted October 9, 2015 Author Share Posted October 9, 2015 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 More sharing options...
MichaelD Posted October 9, 2015 Share Posted October 9, 2015 Yeah doing it like that is overkill, I'll try to draft something in the weekend, at least a proof of concept that others can extend as well WombatTurkey 1 Link to comment Share on other sites More sharing options...
MichaelD Posted October 10, 2015 Share Posted October 10, 2015 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 WombatTurkey 1 Link to comment Share on other sites More sharing options...
WombatTurkey Posted October 12, 2015 Author Share Posted October 12, 2015 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 More sharing options...
MichaelD Posted October 12, 2015 Share Posted October 12, 2015 Now there is: http://www.html5gamedevs.com/topic/17815-phasetips-tooltip-plugin-for-phaserio/ Link to comment Share on other sites More sharing options...
Recommended Posts