TGB/Behaviors/Parallax Object
From TDN
| Parallax Object Behavior | |
|---|---|
Description: This behavior repositions any object you set it to based upon movement of the camera in order to simulate depth. Set the scroll values (for both X and Y) to a percentage higher than 100% to scroll faster, or lower than 100% to scroll slower. This build of the behavior includes smoothing (object movement instead of setting a hard position every tick). There is a small amount of drift at the start/end of camera movements which can be altered by playing with the %movSpeed variable in line 43. |
Download: Parallax Object Behavior Download the zip file and drag it onto the TGB window to add it to your project. |



