fix: corrections in dragon instantiation

This commit is contained in:
Gerard Gascón 2025-04-12 17:23:44 +02:00
parent 2445a71f0c
commit 44a36a4e67
5 changed files with 12 additions and 400 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=169 format=3 uid="uid://fut42ruut302"]
[gd_scene load_steps=165 format=3 uid="uid://fut42ruut302"]
[ext_resource type="Script" uid="uid://bfuos2kgfgber" path="res://scenes/dragon_editor/dragon_editor.gd" id="1_8vkll"]
[ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="2_aystc"]
@ -1088,17 +1088,6 @@ allow_null = false
outfits = Array[SpriteFrames]([SubResource("SpriteFrames_0hqgm"), SubResource("SpriteFrames_o77k0"), SubResource("SpriteFrames_7b2ll"), SubResource("SpriteFrames_4orem"), SubResource("SpriteFrames_xqwu6"), SubResource("SpriteFrames_y4fkp")])
metadata/_custom_type_script = "uid://rw26nny160xh"
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f0h1k"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ofxsr"]
load_path = "res://.godot/imported/DragonPet_barret_barretina.png-c34714d149520b48d66d5ee32f5868c1.ctex"
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_mc14k"]
load_path = "res://.godot/imported/DragonPet_roba_armadura.png-3cad0d14b8ca1ac4914a907d8acf7ec5.ctex"
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_jtpn4"]
load_path = "res://.godot/imported/DragonPet_acc_escut.png-ab5c138b3d2900950a73fcd404b97a42.ctex"
[sub_resource type="AtlasTexture" id="AtlasTexture_ofxsr"]
atlas = ExtResource("7_qppok")
region = Rect2(0, 40, 38, 40)
@ -1150,7 +1139,6 @@ offset_left = 76.0
offset_top = 120.0
offset_right = 152.0
offset_bottom = 208.0
texture = SubResource("CompressedTexture2D_f0h1k")
[node name="Hat" type="TextureRect" parent="CanvasLayer/Dragon"]
layout_mode = 1
@ -1165,7 +1153,6 @@ offset_right = 38.0
offset_bottom = 44.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("CompressedTexture2D_ofxsr")
[node name="Shirt" type="TextureRect" parent="CanvasLayer/Dragon"]
layout_mode = 1
@ -1180,7 +1167,6 @@ offset_right = 38.0
offset_bottom = 44.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("CompressedTexture2D_mc14k")
[node name="Shoes" type="TextureRect" parent="CanvasLayer/Dragon"]
layout_mode = 1
@ -1195,7 +1181,6 @@ offset_right = 38.0
offset_bottom = 44.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("CompressedTexture2D_jtpn4")
[node name="Dragger" type="Control" parent="CanvasLayer"]
layout_mode = 3