1
Fork 0
mirror of https://github.com/Cookie-CHR/OfficeMadness-LD51.git synced 2024-11-29 09:34:19 +00:00
office-madness/Scenes/Minigames/2.gd

10 lines
205 B
GDScript3
Raw Normal View History

2022-10-02 22:44:58 +00:00
extends Node2D
func _ready():
get_node("Space").connect("pressed", get_node("ProgressBar"), "boost")
func _process(_delta):
if Input.is_action_just_pressed("SPACE"):
get_node("ProgressBar").boost()