Easy Parallax

Antomic

(4)
FREE
Publisher Antomic
File size 32.39kB
Number of files 13
Latest version 1.0.3
Latest release date 2020-08-13 09:20:23
First release date 2020-07-07 08:46:14
Supported Unity versions 2018.4.2 or higher
Easy Parallax
This package allows you to easily add a parallax effect to your 2d game. It is most suitable for infinite runners, where your backgrounds move side to side infinitely.

Not a single line of code is needed to implement this asset!

How to implement:

Add the SpriteMovement component to all of your sprites that will move
Optionally add the SpriteDuplicator component to allow seamless sprite duplication using a pool, so that you never run out of objects
Create different MovementSpeedType Scriptable objects for your sprites. E.g. BackgroundFar, BackgroundClose, Foreground, etc.
Apply the MovementSpeedType to your objects (set the parameter in the SpriteMovement component)
Adjust the actual speed in the MovementSpeedType scriptable object. This allows for a centralized change in-game speed without going over all objects.

If you have any questions or want to suggests a feature - please message me at [email protected]

Top Publisher Assets