[gd_scene load_steps=16 format=3 uid="uid://tubxrqxjic6r"] [ext_resource type="Script" uid="uid://dm8d0ikf1n8qa" path="res://scenes/dragon_list/dragon_list_view.gd" id="1_q7g8i"] [ext_resource type="Resource" uid="uid://x063x858re3f" path="res://assets/outfits/hats.tres" id="2_1ytgk"] [ext_resource type="Texture2D" uid="uid://dceoy4417v83e" path="res://assets/sprites/ui/DP_UI_CharCreation_BG.png" id="3_3pkqp"] [ext_resource type="Resource" uid="uid://bsydervvb1jpe" path="res://assets/outfits/shirts.tres" id="3_74fyi"] [ext_resource type="SpriteFrames" uid="uid://duxxw4mfxql3c" path="res://assets/animations/dragons/verd.tres" id="4_1n46k"] [ext_resource type="Resource" uid="uid://dkm7d10c1lp2n" path="res://assets/outfits/decor.tres" id="4_b7eir"] [ext_resource type="Resource" uid="uid://c03ejnvavmcj5" path="res://assets/outfits/dragons.tres" id="5_cv2ce"] [ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="5_u20w8"] [ext_resource type="SpriteFrames" uid="uid://dsxhfu2ekw7j" path="res://assets/animations/shirts/traje.tres" id="6_1ytgk"] [ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" path="res://assets/animations/decor/rosa.tres" id="7_74fyi"] [ext_resource type="Script" path="res://src/draggable.gd" id="8_b7eir"] [ext_resource type="Texture2D" uid="uid://bdrm1nxydvf5t" path="res://assets/sprites/ui/DP_UI_Label_Big.png" id="9_cv2ce"] [ext_resource type="Texture2D" uid="uid://bu5xa7tgfk3h3" path="res://assets/sprites/ui/DP_UI_Buttons01.png" id="9_k4ppc"] [sub_resource type="AtlasTexture" id="AtlasTexture_1n46k"] atlas = ExtResource("9_k4ppc") region = Rect2(0, 120, 38, 40) [sub_resource type="AtlasTexture" id="AtlasTexture_u20w8"] atlas = ExtResource("9_k4ppc") region = Rect2(0, 160, 38, 40) [node name="DragonList" type="Window" node_paths=PackedStringArray("origin_name_label", "dragon_name_label", "hat", "shirt", "decor", "dragon")] transparent_bg = true size = Vector2i(230, 332) unresizable = true borderless = true always_on_top = true transparent = true script = ExtResource("1_q7g8i") origin_name_label = NodePath("CanvasLayer/TowerLabel/Label") dragon_name_label = NodePath("CanvasLayer/NameLabel/Label") hat = NodePath("CanvasLayer/Dragon/Hat") shirt = NodePath("CanvasLayer/Dragon/Shirt") decor = NodePath("CanvasLayer/Dragon/Decor") dragon = NodePath("CanvasLayer/Dragon") hat_outfits = ExtResource("2_1ytgk") shirt_outfits = ExtResource("3_74fyi") decor_outfits = ExtResource("4_b7eir") dragon_colors = ExtResource("5_cv2ce") [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="BG" type="TextureRect" parent="CanvasLayer"] offset_right = 40.0 offset_bottom = 40.0 texture = ExtResource("3_3pkqp") [node name="TowerLabel" type="TextureRect" parent="CanvasLayer"] offset_left = 34.0 offset_top = 50.0 offset_right = 182.0 offset_bottom = 98.0 texture = ExtResource("9_cv2ce") [node name="Label" type="Label" parent="CanvasLayer/TowerLabel"] layout_mode = 0 offset_top = 2.0 offset_right = 148.0 offset_bottom = 48.0 text = "La Seu d'Urgell" horizontal_alignment = 1 vertical_alignment = 1 [node name="NameLabel" type="TextureRect" parent="CanvasLayer"] offset_left = 34.0 offset_top = 228.0 offset_right = 182.0 offset_bottom = 276.0 texture = ExtResource("9_cv2ce") [node name="Label" type="Label" parent="CanvasLayer/NameLabel"] layout_mode = 0 offset_top = 2.0 offset_right = 148.0 offset_bottom = 48.0 text = "DRAGONET" horizontal_alignment = 1 vertical_alignment = 1 [node name="Dragger" type="Control" parent="CanvasLayer"] layout_mode = 3 anchors_preset = 0 offset_left = 18.0 offset_top = 32.0 offset_right = 198.0 offset_bottom = 320.0 script = ExtResource("8_b7eir") [node name="Dragon" type="AnimatedSprite2D" parent="CanvasLayer"] position = Vector2(112, 154) sprite_frames = ExtResource("4_1n46k") animation = &"idle" [node name="Hat" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] sprite_frames = ExtResource("5_u20w8") animation = &"idle" [node name="Shirt" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] sprite_frames = ExtResource("6_1ytgk") animation = &"idle" [node name="Decor" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] sprite_frames = ExtResource("7_74fyi") animation = &"idle" [node name="dragon_previous" type="Button" parent="CanvasLayer"] offset_left = 76.0 offset_top = 136.0 offset_right = 122.0 offset_bottom = 184.0 scale = Vector2(-1, 1) focus_mode = 0 icon = SubResource("AtlasTexture_1n46k") flat = true [node name="dragon_next" type="Button" parent="CanvasLayer"] offset_left = 134.0 offset_top = 136.0 offset_right = 180.0 offset_bottom = 184.0 focus_mode = 0 icon = SubResource("AtlasTexture_1n46k") flat = true [node name="close" type="Button" parent="CanvasLayer"] offset_left = 178.0 offset_top = 6.0 offset_right = 224.0 offset_bottom = 54.0 focus_mode = 0 icon = SubResource("AtlasTexture_u20w8") flat = true [connection signal="close_requested" from="." to="." method="_on_close_requested"] [connection signal="pressed" from="CanvasLayer/close" to="." method="_on_close_pressed"]