Scrolling Backgrounds Tool

An asset by Gaspi
The page banner background of a mountain and forest
Scrolling Backgrounds Tool hero image

Quick Information

0 ratings
Scrolling Backgrounds Tool icon image
Gaspi
Scrolling Backgrounds Tool

A demo for my scrolling backgrounds tool.

Supported Engine Version
3.4
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Scrolling Backgrounds

Introduction

A simple script to make tiling textures scroll endlessly.

Usage

You can use the Scrolling Background as a simple UI Background or add a border to it and make it a Window Background.

The tool includes two scenes with their respective code: ScrollingTextureRect and Window.

ScrollingTextureRect

The scrolling texture itself.

Parameters:

  • Scrolling velocity: The speed and direction of the scrolling movement.
  • Scrolling: Weather the texture scrolls or it stays in place.

Make sure to fill other parameters such as Texture and that Stretch Mode is on Tile.

Window

The scrolling texture used as a background, a border to hide the motion and a container for contents. It also contains a standard animation for opening and closing.

Parameters:

  • Margin scale: How far from the border the contents draw. 0 means no margin, the contents draw right next to the border. 2 means the margin is twice the border size.
  • Opening time: The time it takes for the opening animation of this window to end.
  • Closing time: The time it takes for the closing animation of this window to end.

Make sure to mark the child nodes as editable and fill the border, background and contents parameters.

A demo for my scrolling backgrounds tool.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Scrolling Backgrounds Tool icon image
Gaspi
Scrolling Backgrounds Tool

A demo for my scrolling backgrounds tool.

Supported Engine Version
3.4
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers