Jump to content

How to strike an arc and leave a gap?


greendot
 Share

Recommended Posts

There is an overshoot parameter when drawing an arc (the last parameter). In docs it says, it should be used to make the circle close fully if the width high. It is also in radian I guess, so you can try something like 0.1:

graphics.arc(400, 300, 200, Phaser.Math.DegToRad(0), Phaser.Math.DegToRad(360), false,0.1);

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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