mirror of
https://github.com/Cookie-CHR/OfficeMadness-LD51.git
synced 2024-11-29 09:34:19 +00:00
10 lines
205 B
GDScript3
10 lines
205 B
GDScript3
|
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()
|