World Heroes 2: Difference between revisions
(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
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.
-
15 horizontal sprite blocks of 16 sprites each. The vertical shrinking coefficients are fixed.
-
Mask layer, the outside of the circle is black, the center is transparent.