mirror of
https://github.com/Cookie-CHR/OfficeMadness-LD51.git
synced 2024-11-22 06:44:18 +00:00
9 lines
205 B
GDScript
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()
|