
Publisher
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.
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
Place the 'addons' folder in your project's root folder. (If you've downloaded this from the Asset Library it should happen automatically)
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
andmax
values for the random Wait Time range.min
is calculated aswait_time - variance
.min
is calculated aswait_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 theTimer
times out.Randomize on Start - A configurable field which determines whether the
RandomTimer
will have a different Wait Time every time thatRandomTimer.start()
gets executed.If
true
, a new Wait Time will be calculated every time theRandomTimer.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: