If the semi-transparent position numbers in Super Mario Kart are done with window/shape masking as I have been informed, it seems you can do some pretty sophisticated shapes in the right hands.jeffythedragonslayer wrote: ↑Wed Jun 29, 2022 6:40 amMonotone polygon. With two windows you can draw the 5 pointed star and ninja star shapes as well:rainwarrior wrote: ↑Wed Jun 29, 2022 12:56 am I didn't mean to imply that it only does convex shapes, but you can do any convex shape with just 1 window. OP was talking about a "planet" which seems like it'd probably be convex.
I don't have a name for a shape that matches exactly the capabilities of 1 window. Convex is a subset of that. Maybe "horizontally convex"? The shape can either have 2 edges on a scanline (1 window) or 4 (2 windows).
https://en.m.wikipedia.org/wiki/Monotone_polygon
Now, how is something like this scaling Batman logo window/shape done, I wonder (can't be Mode 7 as there's an entire game's graphics behind it): https://youtu.be/ZfadgUz8uRE?t=488
Edit: Watching it in slow-mo, it actually looks like it might be done via cycling a few pre-cut-out shapes on a single background layer to create the effect of a nice Batman logo-shaped window smoothly scaling in and out. So, would that mean the shapes are basically all pre-drawn onto the single background tilemap in different positions and then it just jumps the correct part of the background into view at the appropriate time? Or would it be a matter of switching the tiles in view with other ones on the tilemap at the appropriate time? What's the way that's best done, jumping background position to show the part you want in-view or switching around tiles from the tilemap to display the shape you want when you want it (are those even different things or basically the same from the code's point of view)?