World Heroes 2: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
m (2 revisions: Import from wikkii)
(No difference)

Revision as of 15:27, 26 June 2011

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.