Time scale manipulation

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By dpensky

Is there any way to manipulate the Engine.time_scale variable through the Chrome console, using JavaScript or some other tool?

Let me explain: Our game is designed so that each game round lasts at least 1.5 seconds. However, somehow, 1 player is managing to perform up to 4 rounds per second, that is, much faster than projected.

Using Godot’s editor, the only way I could simulate this speed was by changing Engine.time_scale.

Any explanation for this?

What sorta game you making? I don’t understand exactly why this is necessary, just use a timer to check for when the round ends and stop it going to the next until then.

DevBadger10 | 2023-03-28 00:37

This is exactly the problem, there are already several timers that make each round of the game have at least 1.5 seconds, but a player is managing to make the moves in 0.25 seconds

dpensky | 2023-03-28 12:32