World Heroes 2: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
(Created page with "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…")
 
mNo edit summary
Line 1: Line 1:
[[File:wh2earth.gif|frame|All frames]]
World Heroes 2 is the only game that applies exactly the method described in one of [[SNK Patents|SNK's patents]] for animating a rotating sphere or cylinder.
World Heroes 2 is the only game that applies exactly the method described in one of [[SNK Patents|SNK's patents]] for animating a rotating sphere or cylinder.



Revision as of 16:16, 22 February 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.