game over screen and stuff

This commit is contained in:
siembra
2026-02-14 15:35:27 -05:00
parent 3fc8153e9e
commit 2812c4211a
5 changed files with 151 additions and 19 deletions

View File

@@ -16,7 +16,4 @@ func _process(delta: float) -> void:
self.position.y += speed*delta
if self.position.y >= get_viewport_rect().size.y:
scene.health -= damage
scene.miss_count += 1.0
scene.comets.erase(self)
self.queue_free()
scene.miss(self)