World Heroes 2

From NeoGeo Development Wiki
Revision as of 16:16, 22 February 2011 by Furrtek (talk | contribs)
Jump to navigation Jump to search
File:Wh2earth.gif
All frames

World Heroes 2 is the only game that applies exactly the method described in one of SNK's patents for animating a rotating sphere or cylinder.

It is used for the short earth animation just before the title screen: a flat texture of the earth's surface is mapped in several horizontal sprite blocks which are positioned and scaled to approximately fit in a circle shape. Each sprite's horizontal shrinking is then adjusted and tiles are remapped when they "go out of the right edge". The resulting different scrolling speeds and tile sizes create the sphere illusion.

Another static sprite block is layed on top as a stencil to mask out the corners of the sprite strips.