diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-11-28 18:38:42 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-11-28 18:38:42 +0100 |
commit | e8aa9f50886b66d525307a58d71036e6fd3d4aa1 (patch) | |
tree | ce6f59eecf1eb3e1ba2794166c09623d8a2d7d83 /login.tscn | |
parent | c89f25f59aa493d95bcac8e75ca5cdd57a0403e7 (diff) |
next commit
Diffstat (limited to 'login.tscn')
-rw-r--r-- | login.tscn | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/login.tscn b/login.tscn new file mode 100644 index 0000000..25b8a6d --- /dev/null +++ b/login.tscn @@ -0,0 +1,73 @@ +[gd_scene load_steps=2 format=3 uid="uid://dser74lcd3a4g"] + +[ext_resource type="Script" path="res://login.gd" id="1_1m5cv"] + +[node name="Login" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_1m5cv") + +[node name="Login" type="CenterContainer" parent="."] +unique_name_in_owner = true +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="Login"] +layout_mode = 2 + +[node name="Username" type="LineEdit" parent="Login/VBoxContainer"] +unique_name_in_owner = true +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +text = "dweipert" +placeholder_text = "Username" + +[node name="Password" type="LineEdit" parent="Login/VBoxContainer"] +unique_name_in_owner = true +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +text = "ragnarok" +placeholder_text = "Password" + +[node name="Login" type="Button" parent="Login/VBoxContainer"] +layout_mode = 2 +text = "Login" + +[node name="CharacterServer" type="CenterContainer" parent="."] +unique_name_in_owner = true +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="CharacterServerList" type="VBoxContainer" parent="CharacterServer"] +unique_name_in_owner = true +layout_mode = 2 + +[node name="CharacterSelection" type="CenterContainer" parent="."] +unique_name_in_owner = true +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="CharacterList" type="GridContainer" parent="CharacterSelection"] +unique_name_in_owner = true +layout_mode = 2 +columns = 5 + +[connection signal="pressed" from="Login/VBoxContainer/Login" to="." method="_on_login_pressed"] |