feat: Implement enemy spawning and movement logic in the level manager

This commit is contained in:
2026-03-20 20:40:12 +11:00
parent 00af585cf4
commit 3f2cbcc6f2
4 changed files with 74 additions and 7 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
[gd_scene format=3 uid="uid://hwbs3q16spqx"]
[ext_resource type="Script" uid="uid://dh5hx2lospkug" path="res://scripts/actors/character.gd" id="1_4i4j6"]
[ext_resource type="Script" uid="uid://lm82h1fj2mbp" path="res://scripts/actors/enemy.gd" id="1_qkj82"]
[ext_resource type="Texture2D" uid="uid://b7s06o6gm42rn" path="res://assets/sprites/icon.svg" id="2_qkj82"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_35asm"]
size = Vector2(32, 32)
[node name="Enemy" type="CharacterBody2D" unique_id=1059490557]
script = ExtResource("1_4i4j6")
script = ExtResource("1_qkj82")
metadata/_custom_type_script = "uid://dh5hx2lospkug"
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=569576189]