Friday, May 19, 2017

Where you're going you don't need dust

You might have noticed that when you spindash underwater, sometimes no dust cloud appears behind your character.


The spindash dust and the drowning numbers actually DMA their graphics to the same location in VRAM, and the two objects cooperate over custody of the slot: if the player is running out of air, then the spindash dust silently kills itself to avoid the art conflict.

No comments:

Post a Comment