Coder Social home page Coder Social logo

nklbdev / godot-parallax-node Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 12 KB

Provides parallax 2D node to avoid using ParallaxBackground

License: MIT License

GDScript 100.00%
godot godot-engine godot3 godotengine parallax parallax-effect parallax-scrolling

godot-parallax-node's Introduction

Parallax 2D node for Godot

Provides parallax 2D node to avoid using ParallaxBackground

This is a plugin for Godot Engine 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.

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 install it from Godot Asset Store. 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.

godot-parallax-node's People

Contributors

nklbdev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.