summaryrefslogtreecommitdiff
path: root/login.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'login.tscn')
-rw-r--r--login.tscn73
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"]