Godot Engine Time Scale: How to Use a Slider for Variable Speed Control

Subscribers:
524
Published on ● Video Link: https://www.youtube.com/watch?v=QH_1qSStCP8



Category:
Tutorial
Duration: 4:41
155 views
3


Learn how to control the Godot Engine Time Scale using a slider in this beginner 5-step tutorial video. Slow down, pause and speed up the engine clock using a slider widget, and see other ways to add time scaling to a game or simulation.

The video covers five easy steps to setup a slider that controls the time_scale property of the engine. Watch this tutorial to add a simple slider to your own Godot simulations for variable speed control.

We use this method to control the speed of our orbital mechanics Godot simulations. The example was written in Godot 3.4 GDScript but there is no reason it would not work for Godot 4.

Hope it helps.

00:00 Intro
00:38 Create Scene
00:53 Add Slider
01:24 Add Labels
01:40 Connect Signals
01:55 Finish Code
02:58 Bonus
03:16 Limitations

Production note:
This is the first longform video we've done with voice so the audio may not be perfect. We're still working on improving our audio recording process. If you have tips or suggestions on things we can improve please let us know.







Tags:
godo
gadot
godot engine
timescale
time scale
slider
variable speed control
game simulation