About the Fading Extension

Hello, wonderful people of Microsoft MakeCode Arcade. I need a little help with some visual effects, mainly about Color Fading, and while I know that Color Fading is already an extension, it has a minor flaw, and that’s that it effects the entire screen. Could someone make an extension that does mostly the same thing, but can apply the effects to specific sprites instead of the entire screen?

1 Like

Not possible. The entire screen uses the global 16-color palette. If you change one color, it changes it for everything.

You could have one sprite uses say 4 of the 16 colors, and another sprite uses another 4 of the 16 colors, and then use the Color Fading extension to change the global colors. Since one sprite is the only sprite using those 4 colors, then it will appear as if it has it’s own palette.

3 Likes

welcome! i lil trick i’ve found is that if you have a small colour palette of say 6 colours, you could duplicate the colours and use them on a sprite or an image.
image
then you only fade the sprite by affecting the duplicated colours used in the sprite.

I think this would be most useful for a night and day transition for a background asset as a sprite might have too many colours to work with this.

1 Like

To be honest, I don’t even remember why I asked this. I was making some project but I forgot with one, thank anyways tho!

2 Likes