Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

RandomTimer

An asset by PixelEggplant
The page banner background of a mountain and forest
RandomTimer hero image

Quick Information

0 ratings
RandomTimer icon image
PixelEggplant
RandomTimer

A simple and clean solution that adds a RandomTimer Node to the Godot engine, which can be used to run a Timer with random Wait Times.

Supported Engine Version
4.2
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

RandomTimerPlugin

A simple and clean solution that adds a RandomTimer Node to the Godot engine, which can be used to run a Timer with random Wait Times.

Built using Godot 4.2.1

v 1.0.0 Readme

How to use this plugin

  1. Place the 'addons' folder in your project's root folder. (If you've downloaded this from the Asset Library it should happen automatically)

  2. In Project Settings, in the Plugins tab, set this plugin's Status to Enabled.

This should load the custom RandomTimer Node and it should be usable just like any other Node.

Features

  • Variance: A configurable field which sets the variance for the RandomTimer's Wait Time.

    Variance, in seconds,, applied to the base .

    Variance creates the min and max values for the random Wait Time range.

    min is calculated as wait_time - variance. min is calculated as wait_time + variance.

    For example a Wait Time of 3 and a Variance of 1 would produce countdown times between 2 and 4.

    Note: The Wait Time value calculated with Variance will never be set lower than 0.05.

  • Randomize on Timeout - A configurable field which determines whether the RandomTimer will have a different Wait Time after every time it finishes.

    If true, a new Wait Time will be calculated every time the Timer times out.

  • Randomize on Start - A configurable field which determines whether the RandomTimer will have a different Wait Time every time that RandomTimer.start() gets executed.

    If true, a new Wait Time will be calculated every time the RandomTimer.start() is exectuted.

Bugs / Feedback

  • None

If you find any bugs or have some feedback about things you would like to see changed or added, make an issue on github:

https://github.com/PixelEggplant/RandomTimerPlugin/issues

A simple and clean solution that adds a RandomTimer Node to the Godot engine, which can be used to run a Timer with random Wait Times.

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
RandomTimer icon image
PixelEggplant
RandomTimer

A simple and clean solution that adds a RandomTimer Node to the Godot engine, which can be used to run a Timer with random Wait Times.

Supported Engine Version
4.2
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
1 year 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