CarlosRS Posted December 22, 2015 Share Posted December 22, 2015 I want to draw a rounded rectangle. I've seen a function to draw this but i'm new in phaser and i have no idea how to use it and in documentation there isn't examples. http://phaser.io/docs/2.3.0/RoundedRectangle.html ¿Someone can help with and example? Thanks! Link to comment Share on other sites More sharing options...
GenericDevelopper Posted October 10, 2019 Share Posted October 10, 2019 No Link to comment Share on other sites More sharing options...
GenericDevelopper Posted October 10, 2019 Share Posted October 10, 2019 You got a nice hat Link to comment Share on other sites More sharing options...
Zanorg Posted October 18, 2019 Share Posted October 18, 2019 For anyone finding this post now, here's a sample code : let bg = game.add.graphics(0, 0); bg.beginFill(0xBBF9FF); bg.drawRoundedRect(307, 100, 750, 537, 20); bg.endFill(); Link to comment Share on other sites More sharing options...
Recommended Posts