added the game

This commit is contained in:
JHDev2006
2025-09-13 16:30:32 +01:00
parent 5ef689109b
commit 3773bdaf64
3616 changed files with 263702 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class_name AnimationPauser
extends Node
@export var animation_player: AnimationPlayer = null
@export var paused := false
signal just_paused
signal resumed
func _process(_delta: float) -> void:
animation_player.speed_scale = int(not paused)
func on_switch_hit() -> void:
paused = not paused
if paused: just_paused.emit()
else: resumed.emit()