diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-24 00:36:06 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-24 00:36:06 +0100 |
commit | 6e2deea3d1b2fb4d79dac02a0d4310936c7f317c (patch) | |
tree | 05590a7d9f7cecde037aad7a5487ff2c62176932 /ui/login/character_selection_item.tscn | |
parent | 7b3f386449aeab124d84d2aff4c273e646e68763 (diff) |
next commit
Diffstat (limited to 'ui/login/character_selection_item.tscn')
-rw-r--r-- | ui/login/character_selection_item.tscn | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/ui/login/character_selection_item.tscn b/ui/login/character_selection_item.tscn new file mode 100644 index 0000000..adc37bb --- /dev/null +++ b/ui/login/character_selection_item.tscn @@ -0,0 +1,64 @@ +[gd_scene load_steps=6 format=3 uid="uid://rrd131rq74n5"] + +[ext_resource type="Script" uid="uid://bsglhorusc7ug" path="res://ui/login/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"] +[ext_resource type="Theme" uid="uid://c6y6r8kcnbb10" path="res://ui/theme_clear.tres" id="4_u21ok"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_u21ok"] +bg_color = Color(0, 0, 0, 0.0980392) +draw_center = false +border_width_left = 1 +border_width_top = 1 +border_width_right = 1 +border_width_bottom = 1 +border_color = Color(0.760784, 0.760784, 0.760784, 1) + +[node name="CharacterSelectionItem" type="PanelContainer"] +custom_minimum_size = Vector2(150, 150) +offset_right = 150.0 +offset_bottom = 163.0 +mouse_default_cursor_shape = 2 +theme_override_styles/panel = SubResource("StyleBoxFlat_u21ok") +script = ExtResource("1_25yur") + +[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 = 6 +theme_override_constants/separation = -8 + +[node name="Head" type="TextureRect" parent="MarginContainer/VBoxContainer/Sprite"] +unique_name_in_owner = true +z_index = 1 +texture_filter = 1 +layout_mode = 2 +texture = ExtResource("2_aqbfs") +stretch_mode = 3 + +[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="MarginContainer/VBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +theme = ExtResource("4_u21ok") +text = "Name" +horizontal_alignment = 1 + +[connection signal="gui_input" from="." to="." method="_on_gui_input"] +[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"] +[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"] |