Provides parallax 2D node to avoid using ParallaxBackground
This is a plugin for Godot Engine 4.X that provides new class Parallax
inherited from Node2D that moves itself relative to actual viewport center. It helps create beautiful volumetric decorations like foliage, distant or near objects ant other effects based on following viewport.
This is a port of the similar plugin from Godot 3.4.X to 4.X.X
You can:
- Disable/enable it in game and optionally in editor
- Control motion_scale and motion_offset like in ParallaxLayer
- Set process mode (Process / Physics process)
Simply download it from Godot Asset Library.
Alternatively, download or clone this repository and copy the contents of the
addons
folder to your own project's addons
folder.
Then enable the plugin on the Project Settings and use new class in your scenes.
MIT License. Copyright (c) 2022 Nikolay Lebedev aka nklbdev.