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!

1 Like

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.