Feature Overview
SECTFILL()
Fill sector shape.
- The start and end angles are specified from 0 to 1.
- If the difference between the start angle and the end angle is 0.5 or more, it is a semicircle, and if the difference is 1 or more, it is a circle.
- If the start position is higher than the end position, it is replaced.
- This function consumes 428 Token. (segfill & trifill ver: 185 Token + segfill + trifill)

-- Draw the Mouth characters sectfill(96,64,20,11,-0.2,0.9)-- x, y, size(radius), color, start angle, distance sectfill(54,64,8,12,-0.2,0.9) sectfill(26,64,8,12,-0.2,0.9) |

release note
Drawing Related Posts



I have updated sectfill() to v0.2!
- stabilization of the bottom shape.
- short arcs do not display segments.
- the radius and y coordinate arguments are converted to integers.
- update to the latest segfill.

3


Woah it's that one idle game!

And some yinyang!

It was a little confusing that it starts at the top instead of the right, and goes clockwise instead of counterclockwise, but it works pretty good! There's a little bit of weird flickering but that's fine

1


Nice! Super sample art!
Yes, it's true that the way angles are handled needs to be revised according to pico-8 standards.
(I didn't care about that difference when I was making this code)
Anyway, thanks for your interest!
[Please log in to post a comment]