Tutorial Video |
Documentation |
SupportOne Stop Parallax is your one stop solution for 2D parallax scrolling! Easily add depth to your 2D games in no time at all with our easy-to-use drag & drop interface. Simply drag your sprite objects onto the drop area of the object containing our One Stop Parallax script, and everything needed will be added to the object for you.
We support parallaxing on both the X and Y axes. Being able to turn off parallaxing for one axis will allow you to do things like making sure your trees don't move up and down with the camera and stay firmly planted. We also support infinite tiling horizontally, vertically, or even both at the same time!
You can randomize the horizontal or vertical spacing between tiles and vary the Y offset on horizontal tiles or the X offset on vertical tiles to make a more random, organic feel to your game. We even provide the ability to set a Seed for your randomization so the random placement will be the same between playthroughs. Randomly placed elements also keep a history of where objects are placed so that tree you passed up a few minutes ago is still there when you come back. You can change the maximum history size to allow you to fine-tune the performance. You can even turn off the random history to allow for truly random placement.
Set both a horizontal and vertical speed for layers to allow them to move across the screen even when the player is standing still. Perfect for clouds, trains, or anything that needs to move!
My favorite time-saving feature is that we allow you to edit the fields on multiple layers at the same time! Setting all of your layers to tile horizontally is as easy as selecting them all in the scene hierarchy and checking the box for it!
Features Include:- Easy to set up 2D parallax scrolling with drag & drop
- Simply change the Z-index of your layers to change the parallax speed
- Tooltips for every field in the custom inspectors
- Both global and per-layer parallax smoothing allowing you to tweak each layer to perfection
- Ability to set a seed for your random placement so elements are consistently placed between play sessions
- X and Y parallaxing with the ability to turn either one off per layer
- Infinitely tile vertically, horizontally, or both at the same time
- Ability to set a static distance between tiles or randomize the distance between two values
- Set random Y offset for horizontal tiling and set random X offset for vertical tiling for a natural, organic feel to random object placement
- Set horizontal and/or vertical speed per layer to allow it to move across the screen
- Random object history along with the ability to set the number of positions remembered or even turn off the feature entirely to save memory
- Fully commented source code
- Edit multiple layers at the same time
- Example scene
- Royalty free set of parallax layers for a mountainous forest area
Why Choose One Stop Parallax?- We use this in our games, so you know it's been tested and will be constantly worked on to improve things and add features.
- Responsive support: We're very quick to respond to any bugs, questions, or feature requests you might have!
- We made this asset because no sprite-based parallax asset we found has all of the features we needed, so we feel that we can be your one stop solution for 2D parallax scrolling.