Jump to content

How to draw radius button?


sinanqd10
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

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