feat: instantiating dragons to ingame position

This commit is contained in:
Gerard Gascón 2025-04-04 17:32:41 +02:00
parent fc921cc900
commit 610d623653
8 changed files with 64 additions and 19 deletions

View file

@ -1,12 +1,14 @@
[gd_scene load_steps=4 format=3 uid="uid://ctytpqaed0yqx"]
[gd_scene load_steps=5 format=3 uid="uid://ctytpqaed0yqx"]
[ext_resource type="Script" uid="uid://3kyt3shje5r1" path="res://scenes/main.gd" id="1_sugp2"]
[ext_resource type="PackedScene" uid="uid://c7nfcgjxqeg7l" path="res://scenes/window/dragon_popup.tscn" id="2_jyhfs"]
[ext_resource type="Texture2D" uid="uid://fdqnc2qrrvn1" path="res://assets/sprites/icon.svg" id="3_tbgi4"]
[ext_resource type="PackedScene" uid="uid://miutbdsgccd1" path="res://scenes/dragons/dragon.tscn" id="4_jyhfs"]
[node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots")]
script = ExtResource("1_sugp2")
dragon_template = ExtResource("2_jyhfs")
dragon_ingame = ExtResource("4_jyhfs")
dragon_spots = [NodePath("DragonSpot1"), NodePath("DragonSpot2"), NodePath("DragonSpot3")]
[node name="Icon" type="Sprite2D" parent="."]