#25234 - LOst? - Thu Aug 19, 2004 6:10 am
In Super Mario Advance 3 Yoshi's Island, the title screen is an island rotating. Now that's just the mode 7 effect. I guess they use some z buffer to store the objects in the right order.
But I have always wondered how the Yoshi's Island logo is working. How do you program a background to do that wave effect? What kind of math do you use since there is limited with CPU time during the HBLANK.
Turning off the Hblank interrupt will make the logo white instead of "orange with animated green wave effect". Turning off the Vcount will stop the logo from waving.
So how do you do the wave effect? And how do you do the color wave effect (orange to green)?
EDIT: The color effect is just the one palette index changing during the Hblank.
But I have always wondered how the Yoshi's Island logo is working. How do you program a background to do that wave effect? What kind of math do you use since there is limited with CPU time during the HBLANK.
Turning off the Hblank interrupt will make the logo white instead of "orange with animated green wave effect". Turning off the Vcount will stop the logo from waving.
So how do you do the wave effect? And how do you do the color wave effect (orange to green)?
EDIT: The color effect is just the one palette index changing during the Hblank.