better spawn, heart ui, dash, new map

This commit is contained in:
Daniel Kauss Serna 2026-02-20 17:47:53 +01:00
parent ce27965422
commit 34be761164
16 changed files with 137 additions and 171 deletions

12
scripts/spawner.gd Normal file
View file

@ -0,0 +1,12 @@
class_name Spawner extends Marker2D
signal finished;
@export var spawn_instance : PackedScene;
func spawn():
var entity : Entity = spawn_instance.instantiate()
get_tree().current_scene.add_child(entity)
entity.global_position = global_position
entity.scale.y = 5
#create_tween().tween_property(entity, "scale:y", 1, 0.2)
entity.died.connect(finished.emit)