Skip to content

Circle Extension Good

Latest
Compare
Choose a tag to compare
@WeCodeMakeCode WeCodeMakeCode released this 07 Aug 19:44
· 4 commits to master since this release
89ffe32

This MakeCode Arcade extension is the first in a series of Good-Better-Best extensions that I have recently built. From each implementation, I discovered what was needed so I built a better one. And so goes all programming in my experience.

Circle Ext Good includes Blocks for two categories: Circle and CircleList. I am not proud of this implementation but it works and satisfied the criteria; thus, it is worthy of being called Good. with Better and Best to come.

This extension enables a MakeCode Arcade Block program to easily create circles of varying size and color. Blocks are provided to manipulate the created circles. Each circle has a unique sprite that is available as a property so that all features of sprites can be used. However, since circles are created in JavaScript as a class, arrays are not available. Thus the CircleList was born, which offers all the desired functionally of arrays.