15 lines
502 B
GDScript
15 lines
502 B
GDScript
extends Node
|
|
|
|
var hold = []
|
|
var press = ["BTN_3"]
|
|
var shake = [] # 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]
|
|
var shake_ok = [] # For shake any value below zero is considered a success.
|
|
|
|
#Other
|
|
var dialogue = "Vale. Ahora pulsa el boton de crisis... el izquierdo creo. No, perdon, prueba con el derecho."
|
|
var time = 10
|