This commit is contained in:
Gerard Gascón 2025-04-24 17:06:24 +02:00
commit 18efc36800
161 changed files with 5008 additions and 0 deletions

24
scripts/input_tester.gd Normal file
View file

@ -0,0 +1,24 @@
extends TextureRect
@onready var manager = $"../GameManager"
@export var press: bool = false
@export var hold: bool = false
@export var shake: bool = false
@export var checkpos: int = 0
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
if press:
if manager.current_event.press_ok[checkpos] == true:
visible = false
if hold:
if manager.current_event.hold_ok[checkpos] == true:
visible = false
else:
visible = true
if shake:
if manager.current_event.shake_ok[checkpos] <= 0:
visible = false