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

15 lines
542 B
GDScript

extends Node
# Inputs
var hold = []
var press = []
var shake = ["LJ_UP", "LJ_DOWN", "LJ_LEFT", "LJ_RIGHT"] # Needs to be all 4 axis of a stick.
var shake_b = ["RJ_UP", "RJ_DOWN", "RJ_LEFT", "RJ_RIGHT"] # 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 = []
var shake_ok = [999, 999] # For shake any value below zero is considered a success.
#Other
var dialogue = "Dale a los dos motores, se nos estan rompiendo!!"
var time = 8