This commit is contained in:
Tabby 2025-09-03 12:14:08 +10:00
parent 077a53d911
commit 6ce339b430
9 changed files with 252 additions and 21 deletions

View file

@ -8,6 +8,7 @@ extends Camera2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
Router.die.connect(panic_zoomout)
pass # Replace with function body.
@ -31,3 +32,10 @@ func _process(delta: float) -> void:
snake_line.modulate = Color(1,1,1,1)
snake_line.z_index = 11
z_index = 1
func panic_zoomout():
position = Vector2(0,0)
zoom = Vector2(0.1,0.1)
snake_line.modulate = Color(1,1,1,1)
snake_line.z_index = 11
z_index = 1