YamJam's extensions

I’ve made a couple extensions before, some usable, some almost useless, and some really interesting and great! Here are some I made before this:

YamJam-dev/pxt-background-extension

YamJam-dev/simple-maths-extension (I think that’s the link)

And here’s my newest one, which allows you to create “height layers”, to add depth to your tilemaps! It’s not like regular depth extensions where you have to blindly create your map with just code, trial, and error, but instead simply applying layers to tiles using arrays!

(I made this draft a long time ago but the extension was finished later due to me finding some bugs, overcomplicating the code, and finding out they didn’t work because I didn’t update a sprite’s position)

4 Likes

cool could you show a example of this extension

1 Like

Yeah my bad I forgot to share the example:

Also that link isn’t correct and is instead an old version of the extension that I tried to make but failed:

(use this one)

1 Like

Super cool extension! For the Run Layer Detection blocks, maybe you can make one block that uses an array that expands the block so we can set as many layers as possible if this is possible.

2 Likes

OMG THIS IS PEAK.

I WAS LOKING FOR SOMETHING LIKE THIS AND I FOUND DIAMONDS

i can use it for my game

1 Like

I’m thinking of doing that later, but right now I’m taking a break from it.

1 Like

So it turns off the tilemap when sprite is at a higher layer cool could be useful at times