Log In  

Cart #chaste_polygon-0 | 2023-02-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

I have expanded the circle demo greatly and now instead of a circle it draws a regular polygon. It makes use of player 1 and 2 controls in order to change the position, radius, color, rotation, and number of sides. Try pressing buttons and see what happens!

I have a routine for drawing regular polygons which actually spans several functions. With a few modifications from the C code I was able to make this PICO-8 Lua version that does the same basic thing.

P#126069 2023-02-20 04:20


[Please log in to post a comment]