Content deleted Content added
No edit summary |
Cleanup |
||
Line 1:
'''Parallax scrolling''' is a special [[scrolling]] technique in [[computer graphics]]. It gives a 2D [[video game]] a greater sense of depth and immersion by creating the illusion of a third dimension.
There are three main methods of [[parallax]] scrolling
=== The layer way ===
If
=== The raster way ===
To parallax
Some platforms ([[Super Nintendo Entertainment System|Super NES]], [[Sega Genesis]], [[Game Boy Advance]], [[Game Boy]]) provide horizontal-blank interrupts for automatically setting the registers; others, such as the NES require the use of cycle-timed code. Many NES games such as the classic ''[[Super Mario Bros.]]'' use this technique to draw their status bars, and ''[[Teenage Mutant Ninja Turtles II: The Arcade Game]]'' and ''[[Vice Project Doom]]'' for NES use it to scroll background layers at different rates.
More advanced raster techniques can produce interesting effects.
If
=== The sprite way ===
If
|