From e8aa9f50886b66d525307a58d71036e6fd3d4aa1 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 28 Nov 2024 18:38:42 +0100 Subject: next commit --- login.tscn | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 login.tscn (limited to 'login.tscn') 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"] -- cgit v1.2.3