Added bat enemies with stats and better touch controls

This commit is contained in:
Alan Youngblood
2024-11-10 14:05:00 -05:00
parent f398efdcff
commit 6555ebe4c2
16 changed files with 141 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
extends Node
export(int) var max_health = 1
onready var health = max_health setget set_health
signal no_health
func set_health(value):
health = value
if health <= 0:
emit_signal("no_health")