pegchamp/Stages/World.gd
2021-09-14 12:22:39 +02:00

12 lines
271 B
GDScript

extends Node2D
export var stage_name = "test stage"
func _physics_process(_delta):
fast_forward()
func fast_forward():
if (Input.is_action_pressed("fast_forward")):
Engine.time_scale = 3
if (Input.is_action_just_released("fast_forward")):
Engine.time_scale = 1