First Version

This commit is contained in:
dubs
2025-12-01 12:58:12 +00:00
commit 70b6482b84
53 changed files with 1405 additions and 0 deletions

14
scenes/killzone.gd Normal file
View File

@@ -0,0 +1,14 @@
extends Area2D
@onready var timer = $Timer
func _on_body_entered(body: Node2D) -> void:
print("You are dead.")
Engine.time_scale = 0.5
body.get_node("CollisionShape2D").queue_free()
timer.start()
func _on_timer_timeout() -> void:
Engine.time_scale = 1
get_tree().reload_current_scene()