init: initial commit

This commit is contained in:
Suraj B M
2026-03-30 22:39:04 +05:30
commit 9f20d386a7
69 changed files with 2149 additions and 0 deletions

13
scripts/killzone.gd Normal file
View File

@@ -0,0 +1,13 @@
extends Area2D
@onready var timer: Timer = $Timer
func _on_body_entered(body: Node2D) -> void:
Engine.time_scale = 0.5
timer.start()
func _on_timer_timeout() -> void:
Engine.time_scale = 1.0
GameManager.reduce_hearts()
get_tree().reload_current_scene()