16 lines
534 B
GDScript
16 lines
534 B
GDScript
extends Node
|
|
|
|
# Inputs
|
|
var hold = ["LJ_UP", "RJ_UP"]
|
|
var press = ["BTN_2", "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 = [false, false] # For hold and press true is considered a success.
|
|
var press_ok = [false, false]
|
|
var shake_ok = [] # For shake any value below zero is considered a success.
|
|
|
|
#Other
|
|
var dialogue = "Ahora manten las dos palancas hacia arriba y pulsa los botones de crisis!"
|
|
var time = 8
|