Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nklbdev/godot-4-parallax-node
Provides parallax 2D node to avoid using ParallaxBackground
https://github.com/nklbdev/godot-4-parallax-node
godot godot-engine godot4 godotengine parallax parallax-effect parallax-scrolling
Last synced: 2 months ago
JSON representation
Provides parallax 2D node to avoid using ParallaxBackground
- Host: GitHub
- URL: https://github.com/nklbdev/godot-4-parallax-node
- Owner: nklbdev
- License: mit
- Created: 2023-01-08T11:22:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-06T21:15:52.000Z (over 1 year ago)
- Last Synced: 2024-10-13T08:12:53.364Z (4 months ago)
- Topics: godot, godot-engine, godot4, godotengine, parallax, parallax-effect, parallax-scrolling
- Language: GDScript
- Homepage:
- Size: 10.7 KB
- Stars: 24
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Parallax 2D node for Godot 4
Provides parallax 2D node to avoid using ParallaxBackgroundThis is a plugin for [Godot Engine](https://godotengine.org) 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](https://godotengine.org/asset-library/asset/1557) 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](https://user-images.githubusercontent.com/7024016/202920689-7782adb5-d22f-4873-bc6c-0c1dc5445a81.png)](https://user-images.githubusercontent.com/7024016/202920636-4e71b6a4-32e3-490f-ab75-32e63cfb4dca.png)
[Screencast on YouTube](https://youtu.be/kTPX_Etzy2Y)
## Installation
Simply download it from [Godot Asset Library](https://godotengine.org/asset-library/asset/1607).
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](LICENSE). Copyright (c) 2022 Nikolay Lebedev aka nklbdev.