Image Mapping Extension

I recently posted an image mapping extension on my Procedural Animation Dev Page topic and It didn’t get as much attention as I would’ve liked, and that’s myself for kind of hiding it in that topic, so I’m posting it here for more people to see:

This extension is used for image transformation, you can think of it a little like texturing.
I got inspired to make this extension from watching this video about procedural animation.
This extension includes blocks on warping an image’s four corners to four other points of your liking. It includes blocks for color regions, which I’m really excited that this was possible, that are also mappable. And it contains blocks for drawing simple outlines on images.

The main reason this extension is useful, in opinion, is because maybe you want your character in your game to have different outfits, but you don’t want to draw every pixel for every single animation! Basically with this extension, it allows you to use a color region animation (blue for head, red for right leg, etc.) and map textures onto them in you liking.

I would love if people could check this out! Please let know what you guys think. I’m really happy with how this turned out and I want that for you guys as well., so let me know your thoughts on other blocks.

Here’s some examples of it in use:

  1. Animations
  2. Texture drawing
  3. Softbody skin
  4. Separate regions

Here’s an asset pack for color region animations:

Thank you!

9 Likes

Watching that video is a canon event and i know it-

This extension could definitely be useful, especially the texture drawing and the color region animations.

2 Likes

I just noticed a new utility extension was added to the built-in extensions on the makecode arcade site, Sprite FX:

This surprisingly has very similar utilities that are included in my image mapping-extension and in my continuous-rotation extension.

This is an AWESOME extension!!! :scream: :star_struck:
I’ve always wanted to do this, you’re right, its absolutely perfect for outfits and coloring. I could also see it being very useful for making a lot of variations on existing sprite designs (rather than the usual method of only swapping the colors)!
I actually guessed the video inspiration before I even clicked it because that video was the reason I wanted to see this in MakeCode too! :laughing:
Your demo animations and tools are also amazing in themselves!
@richard @UnsignedArduino I think this should be on Awesome Arcade and perhaps even one of the featured extensions in the MakeCode menu :face_with_hand_over_mouth: