Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Parallax scrolling
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Layer method === {{multiple image | align = right | direction = vertical | header = Demonstration of the layer method | width = 500 | image1 = The Whispered World parallax scrolling sample 1.jpg | alt1 = | caption1 = A side view of the layers used for parallax scrolling in ''[[The Whispered World]]'' | image2 = TWW parallax scrolling sample 2.jpg | alt2 = | caption2 = The same image as above, viewed from the front }} 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 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.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)