Files
EGJ25/addons/guide/guide_reset.gd
minimata 9a79715e47
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 6s
Create tag and build when new code gets to main / Export (push) Successful in 3m16s
feat: made sure the aspect ration fit a pixel art game and added useful addons
2025-06-27 15:19:12 +02:00

16 lines
411 B
GDScript

extends Node
var _inputs_to_reset:Array[GUIDEInput] = []
func _enter_tree() -> void:
# this should run at the end of the frame, so we put in a low priority (= high number)
process_priority = 10000000
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
for input:GUIDEInput in _inputs_to_reset:
input._reset()
GUIDE._input_state._reset()