mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
12 lines
271 B
GDScript
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
|