Extensions by Chemthunder

Collection of extensions I’ve made (or am making) for Arcade.

Currently working on a remake for my (in my opinion) best extension, Yggdrasil.

Yggdrasil simply adds a feature I’ve been using for a while, the ability to place a variable into a ‘key’, and transport it elsewhere. This, along with a separate version to make said keys persistent using the settings namespace.

This is useful due to my habit of making games inside of functions (such that they can be enabled or disabled easily), allowing for sprites or variables to be used outside of the function or loop that creates them.

Yggdrasil also adds a few other utils, such as the ability to clear arrays or check if an array contains an element. These features may be already existing, but they aren’t in whatever MakeCode version I use so :stuck_out_tongue:

Forgive my awful code, but is there any ways I could also simplify what I have? Always looking for input!

3 Likes

could you maybe a post a example of this extension

Welcome @Chemthunder!, Your extension sounds great, but when I put it in a test project to see what the blocks were, no blocks showed up in the toolbar.

Yeah, I’m not sure why that keeps happening. It’s been a thorn in my side for a while, and I’m still working on why it’s acting the way it is.

Glad to know it isn’t just my device tweaking, lol.

1 Like

I’m not home right now, but when I can, absolutely!

Currently not much is finished or polished, but here’s a rough example of how some things work.

Although it does only function in TypeScript because of the toolbar issue.

The blocks appear normally in the JavaScript toolbar.

Small update I guess, even though it’s only a small extension.

Easel!

Simple a small extension serving as my adventure into image printing and drawing.

Still broken in Blocks but I couldn’t even care less.

2 Likes

Another quick one, Plugin!

A small extension that makes usage of the settings namespace much easier, in my opinion, utilizing JSONs.

1 Like

Been working on a bigger extension that’s sort of a mish-mash of all of my utilities, and made whatever this is to test it xp

backend is awful but if y’all wish to see my horrific coding style go ahead lol.

Actual display for Coil as of now :stuck_out_tongue:

Coil is a library for my ease of use with MakeCode, featuring some funky utils and whatnots for project creation, setup, metadata, and other weird things

Coil features:

  • A Pipeline system for setting up games and running their code in lists of functions
  • An Entries system for storing all of your sprites with a string key, with the ability to find them with said string key
  • A small system for instantly creating images much more easily than base MakeCode’s
  • A Data Compound system for easier usage of settings
  • A game metadata system for storing details of your project as an object in the code
  • A simpler logging system through the print and enablePrint functions
  • Utilities for the Camera and Scene through the CameraInstance and SceneInstance classes

And a whole lot more