summaryrefslogtreecommitdiff
path: root/ui/character_selection_item.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'ui/character_selection_item.tscn')
-rw-r--r--ui/character_selection_item.tscn36
1 files changed, 27 insertions, 9 deletions
diff --git a/ui/character_selection_item.tscn b/ui/character_selection_item.tscn
index 33fed42..f6e3055 100644
--- a/ui/character_selection_item.tscn
+++ b/ui/character_selection_item.tscn
@@ -1,20 +1,31 @@
[gd_scene load_steps=4 format=3 uid="uid://rrd131rq74n5"]
-[ext_resource type="Script" uid="uid://7gt65vxl14n2" path="res://ui/character_selection_item.gd" id="1_25yur"]
-[ext_resource type="Texture2D" uid="uid://danymuvfjf4o1" path="res://data/extracted/data/sprite/Àΰ£Á·/¸Ó¸®Åë/³²/16_³²/000.png" id="2_aqbfs"]
-[ext_resource type="Texture2D" uid="uid://cwqgdd00sf7pu" path="res://data/extracted/data/sprite/Àΰ£Á·/¸öÅë/³²/Ãʺ¸ÀÚ_³²/000.png" id="3_xv3pn"]
+[ext_resource type="Script" uid="uid://bsglhorusc7ug" path="res://ui/character_selection_item.gd" id="1_25yur"]
+[ext_resource type="Texture2D" uid="uid://danymuvfjf4o1" path="res://client_data/data/sprite/Àΰ£Á·/¸Ó¸®Åë/³²/16_³²/000.png" id="2_aqbfs"]
+[ext_resource type="Texture2D" uid="uid://cwqgdd00sf7pu" path="res://client_data/data/sprite/Àΰ£Á·/¸öÅë/³²/Ãʺ¸ÀÚ_³²/000.png" id="3_xv3pn"]
-[node name="CharacterSelectionItem" type="VBoxContainer"]
-offset_bottom = 4.0
+[node name="CharacterSelectionItem" type="PanelContainer"]
+offset_right = 150.0
+offset_bottom = 163.0
mouse_default_cursor_shape = 2
script = ExtResource("1_25yur")
-[node name="Sprite" type="VBoxContainer" parent="."]
+[node name="MarginContainer" type="MarginContainer" parent="."]
+layout_mode = 2
+theme_override_constants/margin_left = 4
+theme_override_constants/margin_top = 4
+theme_override_constants/margin_right = 4
+theme_override_constants/margin_bottom = 4
+
+[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
+layout_mode = 2
+
+[node name="Sprite" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = -8
-[node name="Head" type="TextureRect" parent="Sprite"]
+[node name="Head" type="TextureRect" parent="MarginContainer/VBoxContainer/Sprite"]
unique_name_in_owner = true
z_index = 1
texture_filter = 1
@@ -22,16 +33,23 @@ layout_mode = 2
texture = ExtResource("2_aqbfs")
stretch_mode = 3
-[node name="Body" type="TextureRect" parent="Sprite"]
+[node name="Body" type="TextureRect" parent="MarginContainer/VBoxContainer/Sprite"]
unique_name_in_owner = true
texture_filter = 1
layout_mode = 2
texture = ExtResource("3_xv3pn")
stretch_mode = 3
-[node name="Name" type="Label" parent="."]
+[node name="Name" type="Label" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "Name"
+horizontal_alignment = 1
+
+[node name="LoginButton" type="Button" parent="MarginContainer/VBoxContainer"]
+layout_mode = 2
+mouse_default_cursor_shape = 2
+text = "Login"
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
+[connection signal="pressed" from="MarginContainer/VBoxContainer/LoginButton" to="." method="_on_login_button_pressed"]