nklbdev / godot-4-parallax-node

Provides parallax 2D node to avoid using ParallaxBackground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallax 2D node for Godot 4

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)

image

Screencast on YouTube

Installation

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.

License

MIT License. Copyright (c) 2022 Nikolay Lebedev aka nklbdev.

About

Provides parallax 2D node to avoid using ParallaxBackground

License:MIT License


Languages

Language:GDScript 100.0%