feat: choose outfit from library when creating a dragon

This commit is contained in:
Gerard Gascón 2025-04-08 23:02:17 +02:00
parent fd8609c0ab
commit f07b28d2dc
22 changed files with 370 additions and 17 deletions

View file

@ -6,8 +6,9 @@
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6eaxg"]
size = Vector2(128, 128)
[node name="Dragon" type="Area2D"]
[node name="Dragon" type="Area2D" node_paths=PackedStringArray("dragon")]
script = ExtResource("1_jccds")
dragon = NodePath("Dragon")
[node name="Dragon" parent="." instance=ExtResource("2_l1h0r")]
position = Vector2(-64, -64)