AmAuron Posted October 20, 2015 Share Posted October 20, 2015 Hi there, i have a "simple" problem that i want to solve.How do you guys sugest that i do a border, that when you hover it with your mouse it goes larger and changes color...here's an example:Thank you for reading this, and i wait for feedback. Link to comment Share on other sites More sharing options...
Skeptron Posted October 20, 2015 Share Posted October 20, 2015 Use onMouseOver()? Doc : http://phaser.io/docs/2.3/Phaser.Mouse.html#onMouseOver Link to comment Share on other sites More sharing options...
AmAuron Posted October 20, 2015 Author Share Posted October 20, 2015 Use onMouseOver()? Doc : http://phaser.io/docs/2.3/Phaser.Mouse.html#onMouseOverYes i need to use that, i was talking about the functions to make the border using Phaser, like Phaser doesn't have a tool to draw borders? =) Link to comment Share on other sites More sharing options...
Skeptron Posted October 20, 2015 Share Posted October 20, 2015 You should check these Graphics examples : http://phaser.io/examples/v2/search?search=graphics A "border" is not a real thing. Flat lines do, and I think Graphics are the best tools to achieve them. Link to comment Share on other sites More sharing options...
Recommended Posts