Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1 KB

File metadata and controls

29 lines (18 loc) · 1 KB

Banner

2D Object Parallax

A very simple script that allows you to add a parallax effect to your 2D objects.

Game Example

This script allows you to:

  • Set the parallax strength
  • Set separate smoothing speeds for touch and mouse inputs
  • Toggle the movement on the X and Y axes
  • Set a maximum X and Y offset

Use

  1. Add the Script to your 2D Object
  2. Change the settings to fit your needs

That's all!

Examples

Mouse

Mouse Example

Touch

Touch Example