[gd_scene load_steps=5 format=3 uid="uid://csumlqtlfqex"] [ext_resource type="FontData" uid="uid://dmi7ehsisf7nj" path="res://assets/fonts/iosevkalyte/iosevkalyte-regular.ttf" id="1"] [ext_resource type="Script" path="res://scripts/screens/main_menu.gd" id="3"] [ext_resource type="Theme" uid="uid://2xvhbtvff1sg" path="res://assets/theme.tres" id="4"] [sub_resource type="Font" id="1"] data/0 = ExtResource( "1" ) [node name="main_menu" type="MarginContainer"] anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( "4" ) script = ExtResource( "3" ) __meta__ = { "_edit_use_anchors_": false } [node name="v" type="VBoxContainer" parent="."] offset_right = 1280.0 offset_bottom = 720.0 [node name="h" type="HBoxContainer" parent="v"] offset_right = 1280.0 offset_bottom = 50.0 alignment = 1 [node name="quit" type="Button" parent="v/h"] offset_right = 424.0 offset_bottom = 50.0 rect_min_size = Vector2(150, 50) hint_tooltip = "Yeah, let's get out of here." size_flags_horizontal = 3 size_flags_vertical = 3 text = "Quit" expand_icon = true __meta__ = { "_edit_use_anchors_": false } [node name="multiplayer" type="Button" parent="v/h"] offset_left = 428.0 offset_right = 852.0 offset_bottom = 50.0 rect_min_size = Vector2(150, 50) hint_tooltip = "This is what you came for!" size_flags_horizontal = 3 size_flags_vertical = 3 text = "Multiplayer" [node name="singleplayer" type="Button" parent="v/h"] offset_left = 856.0 offset_right = 1280.0 offset_bottom = 50.0 rect_min_size = Vector2(150, 50) hint_tooltip = "This is a multiplayer tech demo, you dunce. And no, you may not ask why the button is here." size_flags_horizontal = 3 size_flags_vertical = 3 text = "Singleplayer" __meta__ = { "_edit_use_anchors_": false } [node name="c" type="CenterContainer" parent="v"] offset_top = 54.0 offset_right = 1280.0 offset_bottom = 720.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="v" type="VBoxContainer" parent="v/c"] offset_left = 556.0 offset_top = 295.0 offset_right = 724.0 offset_bottom = 371.0 [node name="title" type="Label" parent="v/c/v"] offset_right = 168.0 offset_bottom = 48.0 theme_override_fonts/font = SubResource( "1" ) text = "Godot HTML5 WebRTC Multiplayer Tech Demo" [node name="h" type="HBoxContainer" parent="v/c/v"] offset_top = 52.0 offset_right = 168.0 offset_bottom = 76.0 alignment = 1 [node name="made_by" type="Label" parent="v/c/v/h"] offset_left = 22.0 offset_right = 86.0 offset_bottom = 24.0 text = "made by " [node name="link" type="LinkButton" parent="v/c/v/h"] offset_left = 90.0 offset_right = 146.0 offset_bottom = 24.0 hint_tooltip = "Open https://lyte.dev" text = "lytedev" [connection signal="pressed" from="v/h/quit" to="." method="_on_JoinLobbyButton_pressed"] [connection signal="pressed" from="v/h/multiplayer" to="." method="_on_multiplayer_pressed"] [connection signal="pressed" from="v/h/singleplayer" to="." method="_on_Singleplayer_pressed"] [connection signal="pressed" from="v/c/v/h/link" to="." method="_on_LinkButton_pressed"]