Astromovida/scripts/events/event_03.gd
Gerard Gascón 18efc36800 init
2025-04-24 17:06:24 +02:00

15 lines
552 B
GDScript

extends Node
var hold = []
var press = ["BTN_1", "BTN_2", "BTN_3", "BTN_4"]
var shake = ["LJ_UP", "LJ_DOWN", "LJ_LEFT", "LJ_RIGHT"] # Needs to be all 4 axis of a stick.
var shake_b = [] # Fill if a second stick is necessary, uses second pos in shake_ok array.
# Goals
var hold_ok = [] # For hold and press true is considered a success.
var press_ok = [false, false, false, false]
var shake_ok = [12] # For shake any value below zero is considered a success.
#Other
var dialogue = "Pulsa los cuatro botones y menea el motor izquierdo!"
var time = 12