Parallax scrolling: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
Tag: Reverted
Line 28:
}}
 
Some display systems support multiple background layers that can be scrolled independently in horizontal and vertical directions and [[Compositing|composited]] on one another, simulating a [[multiplane camera]]. On such a display system, a game can [https://bridd.com.br/ produce] parallax by simply changing each layer's position by a different amount in the same direction. Layers that move more quickly are perceived to be closer to the virtual camera. Layers can be placed in front of the ''playfield''—the layer containing the objects with which the player interacts—for various reasons such as to provide increased dimension, obscure some of the action of the game, or distract the player.
 
=== Sprite method ===