[gd_scene load_steps=10 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="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_vvtct"] [ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_xhgxf"] [ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/shoes.tres" id="4_1ivi1"] [ext_resource type="Texture2D" uid="uid://dl87ffgh2hl68" path="res://assets/sprites/dragons/DragonPet_drac01.png" id="5_xhgxf"] [ext_resource type="Texture2D" uid="uid://12fv5nymaljj" path="res://assets/sprites/hats/DragonPet_barret_barretina.png" id="6_1ivi1"] [ext_resource type="Texture2D" uid="uid://cs0ke244c33t2" path="res://assets/sprites/shirts/DragonPet_roba_armadura.png" id="7_giwys"] [ext_resource type="Texture2D" uid="uid://onajhbpjtnil" path="res://assets/sprites/decor/DragonPet_acc_escut.png" id="8_udwtk"] [ext_resource type="Script" uid="uid://mhudiyt5gnt1" path="res://scenes/dragon_editor/line_edit.gd" id="9_xhgxf"] [node name="DragonEditor" type="Window"] title = "Dragon Editor" position = Vector2i(0, 36) size = Vector2i(300, 500) min_size = Vector2i(300, 500) max_size = Vector2i(1000, 1000) script = ExtResource("1_8vkll") hat_outfits = ExtResource("2_vvtct") shirt_outfits = ExtResource("3_xhgxf") shoes_outfits = ExtResource("4_1ivi1") [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer"] anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -89.0 offset_bottom = 101.0 grow_horizontal = 0 [node name="change_hat" type="Button" parent="CanvasLayer/VBoxContainer"] layout_mode = 2 text = "barret" [node name="change_shirt" type="Button" parent="CanvasLayer/VBoxContainer"] layout_mode = 2 text = "samarreta" [node name="change_shoes" type="Button" parent="CanvasLayer/VBoxContainer"] layout_mode = 2 text = "sabata" [node name="create" type="Button" parent="CanvasLayer"] anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -42.0 offset_top = -31.0 grow_horizontal = 0 grow_vertical = 0 text = "crea" [node name="Dragon" type="TextureRect" parent="CanvasLayer"] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -38.0 offset_top = -57.0 offset_right = 38.0 offset_bottom = 31.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("5_xhgxf") [node name="Hat" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -38.0 offset_top = -44.0 offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("6_1ivi1") [node name="Shirt" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -38.0 offset_top = -44.0 offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("7_giwys") [node name="Shoes" type="TextureRect" parent="CanvasLayer/Dragon"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -38.0 offset_top = -44.0 offset_right = 38.0 offset_bottom = 44.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("8_udwtk") [node name="LineEdit" type="LineEdit" parent="CanvasLayer"] offset_left = 59.0 offset_top = 372.0 offset_right = 250.0 offset_bottom = 403.0 placeholder_text = "NOM" alignment = 1 max_length = 8 script = ExtResource("9_xhgxf") [connection signal="close_requested" from="." to="." method="_on_close_requested"] [connection signal="pressed" from="CanvasLayer/VBoxContainer/change_hat" to="." method="_on_change_hat_pressed"] [connection signal="pressed" from="CanvasLayer/VBoxContainer/change_shirt" to="." method="_on_change_shirt_pressed"] [connection signal="pressed" from="CanvasLayer/VBoxContainer/change_shoes" to="." method="_on_change_shoes_pressed"] [connection signal="pressed" from="CanvasLayer/create" to="." method="_on_create_pressed"]