Unity Game 2D Parallaxing – 3 Scripts

Overview

Dear Customer!

I am providing you my handmade  and  for your game. Parallaxing means, It will move the assets in the Z axle, and It will give you the deepening, and a like the background is moving effect, you can change It’s fastness, and the number of assets that you want to involve in the parallaxing. The tiling means, if you run out of the background, foreground, midground etc.. It will flip the asset, and generate you a new one, whit perfect positioning and giving the feel that a completely different object. The camera follow scripts is simple as hell, just give it to an object and the camera will follow it, It’s simple but important. I feel like its a pretty important part of a good designed professional game!

Features

  • Parallaxing
    •  Set the smoothness of the Parallaxing
    • Add objects to the Parallaxing
    • Giving a deepening feel like the background is moving whit you.
  • Tiling
    • Perfect positioning whit working math formula
    • Mathching elements
    • Flippling the object to feel like its a new one
    • Working endlessly
  • 2D camera follow
    • It will follow the targeted object, It can be anything (player, moving object etc..)

Requirements

  • Unity game
  • Camera follow
  • Game Objects to put in the scripts
  •  Layers and backgrounds

Instructions

  1. Open a game
  2. Create backgrounds and layers for cover
  3. Add parallaxing to a game object and make sure to tick it
  4.  In the paralaxing script add the background to it
  5. Switch to 3D in the menu and move the object at the Z axel like in the pictures
  6. Add the Tiling scripts to the Background elements and make sure to tick the Reverse Scale option
  7. Add the 2D camera follow script to an object that you want to follow and whit fixed math formulas It will do his job

Related