Necessary cookies are absolutely essential for the website to function properly. As a video demonstrate this much better than a written text. Speed 2 at layer 2, and speed 4 at layer 3.Ĭheck out the Stencyl Parallax Scrolling video below for the details. But for the example shown in the video below, I use speed 1 at layer 1. All layers should be added as background layers. Then the middle layer, and the foreground layer as last. Add the layers that should be furthest away first. The first layer will move slowest.Īfter you have added the background, you need to go to the scene and add them as background layers. Since we will use different layers, we will create 3 different backgrounds. Then create a scene, we can call it Main for the sake of this tutorial. That means there will be several layers moving with a different speed.įirst you need to create a project. What we will cover here is the layer method. Some parallax scrolling had earlier been used by the 1981 arcade game Jump Bug. Parallax scrolling was popularized in 2D computer graphics and video games by the arcade games Moon Patrol and Jungle Hunt, both released in 1982. The technique grew out of the multiplane camera technique used in traditional animation since the 1930s. Parallax scrolling is a technique in computer graphics and web design, where background images move by the camera slower than foreground images, creating an illusion of depth in a 2D scene and adding to the immersion.
Stencyl backgrounds how to#
Here is a short description on how to do Stencyl parallax scrolling. By ronny parallax, scrolling, stencyl Stencyl Parallax Scrolling