[gd_scene load_steps=28 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"] [ext_resource type="Resource" uid="uid://x063x858re3f" path="res://assets/outfits/hats.tres" id="2_vvtct"] [ext_resource type="Resource" uid="uid://bsydervvb1jpe" path="res://assets/outfits/shirts.tres" id="3_xhgxf"] [ext_resource type="Resource" uid="uid://dkm7d10c1lp2n" path="res://assets/outfits/decor.tres" id="4_1ivi1"] [ext_resource type="Resource" uid="uid://c03ejnvavmcj5" path="res://assets/outfits/dragons.tres" id="5_1ivi1"] [ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" path="res://assets/animations/decor/rosa.tres" id="6_c4sli"] [ext_resource type="Texture2D" uid="uid://dceoy4417v83e" path="res://assets/sprites/ui/DP_UI_CharCreation_BG.png" id="6_udwtk"] [ext_resource type="Script" uid="uid://dxl7onk7x6h8b" path="res://src/draggable.gd" id="7_1vw8k"] [ext_resource type="Texture2D" uid="uid://bgpbbkmwt8ysq" path="res://assets/sprites/ui/DP_UI_Button_Text.png" id="8_ofxsr"] [ext_resource type="Texture2D" uid="uid://dr2d4jv6bxghn" path="res://assets/sprites/ui/buttons/shirt.png" id="12_hukd7"] [ext_resource type="Texture2D" uid="uid://bdrm1nxydvf5t" path="res://assets/sprites/ui/DP_UI_Label_Big.png" id="12_qppok"] [ext_resource type="Texture2D" uid="uid://b6latlr2mhm37" path="res://assets/sprites/ui/buttons/shirt-highlight.png" id="13_6eo4l"] [ext_resource type="Texture2D" uid="uid://cwkegj7oj8rok" path="res://assets/sprites/ui/buttons/hat.png" id="13_aystc"] [ext_resource type="Texture2D" uid="uid://dlm0degcpvyoj" path="res://assets/sprites/ui/buttons/decor.png" id="13_mc14k"] [ext_resource type="FontFile" uid="uid://u1pey2ilx31c" path="res://assets/fonts/Montjuic.ttf" id="14_1vw8k"] [ext_resource type="SpriteFrames" uid="uid://duxxw4mfxql3c" path="res://assets/animations/dragons/verd.tres" id="14_aystc"] [ext_resource type="StyleBox" uid="uid://bhe580k04w6ve" path="res://assets/styles/style_box_empty.tres" id="14_bh8dj"] [ext_resource type="Texture2D" uid="uid://dygetjxbcktef" path="res://assets/sprites/ui/buttons/decor-highlight.png" id="14_jtpn4"] [ext_resource type="FontFile" uid="uid://5nniov81t44i" path="res://assets/fonts/m3x6.ttf" id="14_rrp4v"] [ext_resource type="Texture2D" uid="uid://b3wp7cawhj5eb" path="res://assets/sprites/ui/buttons/hat-highlight.png" id="14_x0448"] [ext_resource type="SpriteFrames" uid="uid://dsxhfu2ekw7j" path="res://assets/animations/shirts/traje.tres" id="15_x0448"] [ext_resource type="Texture2D" uid="uid://dwm2bfuamf3bp" path="res://assets/sprites/ui/buttons/direction.png" id="18_xxrn0"] [ext_resource type="Texture2D" uid="uid://btw3cpkp5bgi" path="res://assets/sprites/ui/buttons/direction-highlight.png" id="19_q2c4g"] [ext_resource type="Texture2D" uid="uid://d2n43pu0wvplp" path="res://assets/sprites/ui/buttons/close.png" id="21_c4sli"] [ext_resource type="Texture2D" uid="uid://bsn66gnb08x3u" path="res://assets/sprites/ui/buttons/close-highlight.png" id="22_xxrn0"] [sub_resource type="AtlasTexture" id="AtlasTexture_mc14k"] atlas = ExtResource("8_ofxsr") region = Rect2(0, 0, 62, 24) [node name="DragonEditor" type="Window"] transparent_bg = true title = "Dragon Editor" size = Vector2i(230, 332) unresizable = true borderless = true always_on_top = true transparent = true script = ExtResource("1_8vkll") hat_outfits = ExtResource("2_vvtct") shirt_outfits = ExtResource("3_xhgxf") decor_outfits = ExtResource("4_1ivi1") dragon_colors = ExtResource("5_1ivi1") [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="BG" type="TextureRect" parent="CanvasLayer"] offset_right = 40.0 offset_bottom = 40.0 texture = ExtResource("6_udwtk") [node name="Dragon" type="AnimatedSprite2D" parent="CanvasLayer"] position = Vector2(112, 154) sprite_frames = ExtResource("14_aystc") animation = &"idle" [node name="Hat" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] sprite_frames = ExtResource("2_aystc") animation = &"idle" [node name="Shirt" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] sprite_frames = ExtResource("15_x0448") animation = &"idle" [node name="Decor" type="AnimatedSprite2D" parent="CanvasLayer/Dragon"] sprite_frames = ExtResource("6_c4sli") animation = &"idle" [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("7_1vw8k") [node name="change_shirt" type="TextureButton" parent="CanvasLayer"] offset_left = 88.0 offset_top = 54.0 offset_right = 128.0 offset_bottom = 94.0 texture_normal = ExtResource("12_hukd7") texture_pressed = ExtResource("13_6eo4l") texture_hover = ExtResource("13_6eo4l") texture_disabled = ExtResource("12_hukd7") texture_focused = ExtResource("12_hukd7") [node name="change_hat" type="TextureButton" parent="CanvasLayer"] offset_left = 52.0 offset_top = 42.0 offset_right = 92.0 offset_bottom = 82.0 texture_normal = ExtResource("13_aystc") texture_pressed = ExtResource("14_x0448") texture_hover = ExtResource("14_x0448") texture_disabled = ExtResource("13_aystc") texture_focused = ExtResource("13_aystc") [node name="change_decor" type="TextureButton" parent="CanvasLayer"] offset_left = 124.0 offset_top = 42.0 offset_right = 164.0 offset_bottom = 82.0 texture_normal = ExtResource("13_mc14k") texture_pressed = ExtResource("14_jtpn4") texture_hover = ExtResource("14_jtpn4") texture_disabled = ExtResource("13_mc14k") texture_focused = ExtResource("13_mc14k") [node name="dragon_next" type="TextureButton" parent="CanvasLayer"] offset_left = 138.0 offset_top = 140.0 offset_right = 178.0 offset_bottom = 180.0 texture_normal = ExtResource("18_xxrn0") texture_pressed = ExtResource("19_q2c4g") texture_hover = ExtResource("19_q2c4g") texture_disabled = ExtResource("18_xxrn0") texture_focused = ExtResource("18_xxrn0") [node name="dragon_previous" type="TextureButton" parent="CanvasLayer"] offset_left = 34.0 offset_top = 140.0 offset_right = 74.0 offset_bottom = 180.0 texture_normal = ExtResource("18_xxrn0") texture_pressed = ExtResource("19_q2c4g") texture_hover = ExtResource("19_q2c4g") texture_disabled = ExtResource("18_xxrn0") texture_focused = ExtResource("18_xxrn0") flip_h = true [node name="create" type="Button" parent="CanvasLayer"] offset_left = 112.0 offset_top = 274.0 offset_right = 182.0 offset_bottom = 306.0 focus_mode = 0 icon = SubResource("AtlasTexture_mc14k") flat = true [node name="Label" type="Label" parent="CanvasLayer/create"] layout_mode = 0 offset_left = 6.0 offset_top = -2.0 offset_right = 64.0 offset_bottom = 26.0 theme_override_colors/font_color = Color(0.537255, 0.603922, 0.615686, 1) theme_override_fonts/font = ExtResource("14_rrp4v") theme_override_font_sizes/font_size = 33 text = "crea" horizontal_alignment = 1 [node name="close" type="TextureButton" parent="CanvasLayer"] offset_left = 182.0 offset_top = 10.0 offset_right = 222.0 offset_bottom = 50.0 texture_normal = ExtResource("21_c4sli") texture_pressed = ExtResource("22_xxrn0") texture_hover = ExtResource("22_xxrn0") texture_disabled = ExtResource("21_c4sli") texture_focused = ExtResource("21_c4sli") [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("12_qppok") [node name="LineEdit" type="LineEdit" parent="CanvasLayer/NameLabel"] layout_mode = 0 offset_left = 10.0 offset_top = 8.0 offset_right = 138.0 offset_bottom = 42.0 theme_override_fonts/font = ExtResource("14_1vw8k") theme_override_font_sizes/font_size = 28 theme_override_styles/focus = ExtResource("14_bh8dj") placeholder_text = "NOM" alignment = 1 max_length = 9 flat = true caret_blink = true [connection signal="close_requested" from="." to="." method="_on_close_requested"] [connection signal="pressed" from="CanvasLayer/change_shirt" to="." method="_on_change_shirt_pressed"] [connection signal="pressed" from="CanvasLayer/change_hat" to="." method="_on_change_hat_pressed"] [connection signal="pressed" from="CanvasLayer/change_decor" to="." method="_on_change_shoes_pressed"] [connection signal="pressed" from="CanvasLayer/dragon_next" to="." method="_on_next_color_pressed"] [connection signal="pressed" from="CanvasLayer/dragon_previous" to="." method="_on_previous_color_pressed"] [connection signal="pressed" from="CanvasLayer/create" to="." method="_on_create_pressed"] [connection signal="pressed" from="CanvasLayer/close" to="." method="_on_close_pressed"]