1
Fork 0
mirror of https://github.com/Cookie-CHR/OfficeMadness-LD51.git synced 2024-11-22 06:44:18 +00:00
office-madness/Scenes/Minigames/2.gd
2022-10-03 00:44:58 +02:00

9 lines
205 B
GDScript

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()