sinanqd10 Posted January 12, 2015 Share Posted January 12, 2015 Hi all, Can you please show me how to draw a button with radius? Thanks you in advance. Link to comment Share on other sites More sharing options...
Daniel Belohlavek Posted January 12, 2015 Share Posted January 12, 2015 If you mean a rectangle with curves the best way to do it is with a external software. I would recommend inkscape for this task. Then, load the frames in Phaser and use it in a phaser button. The result would be similar to this: http://examples.phaser.io/_site/view_full.html?d=buttons&f=action+on+click.js&t=action%20on%20click If you mean a radio button (an on/off circular button) then you should design two frames and load them in Phaser as a button. If this is what you want then tell my and I'll try to explain how to code it Good luck! Link to comment Share on other sites More sharing options...
Recommended Posts