godot-webrtc-mplayer-testing/screens/main_menu.tscn
Daniel Flanagan d2abbb69f2 WIP
2021-12-08 23:39:56 -06:00

113 lines
3.3 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/fonts/iosevkalyte/iosevkalyte-regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://scripts/screens/main_menu.gd" type="Script" id=3]
[sub_resource type="DynamicFont" id=1]
size = 70
font_data = ExtResource( 1 )
[node name="Control" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_right = 984.0
margin_bottom = 560.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_right = 984.0
margin_bottom = 50.0
alignment = 1
[node name="quit" type="Button" parent="VBoxContainer/HBoxContainer"]
margin_right = 325.0
margin_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"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="multiplayer" type="Button" parent="VBoxContainer/HBoxContainer"]
margin_left = 329.0
margin_right = 654.0
margin_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="VBoxContainer/HBoxContainer"]
margin_left = 658.0
margin_right = 984.0
margin_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="Container" type="CenterContainer" parent="VBoxContainer"]
margin_top = 54.0
margin_right = 984.0
margin_bottom = 560.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/Container"]
margin_left = 124.0
margin_top = 153.0
margin_right = 859.0
margin_bottom = 352.0
[node name="Label" type="Label" parent="VBoxContainer/Container/VBoxContainer"]
margin_right = 735.0
margin_bottom = 181.0
custom_fonts/font = SubResource( 1 )
text = "Godot HTML5 WebRTC
Multiplayer Tech Demo"
align = 1
valign = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Container/VBoxContainer"]
margin_top = 185.0
margin_right = 735.0
margin_bottom = 199.0
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer/Container/VBoxContainer/HBoxContainer"]
margin_left = 312.0
margin_right = 371.0
margin_bottom = 14.0
text = "made by "
[node name="LinkButton" type="LinkButton" parent="VBoxContainer/Container/VBoxContainer/HBoxContainer"]
margin_left = 375.0
margin_right = 422.0
margin_bottom = 14.0
hint_tooltip = "Open https://lyte.dev"
text = "lytedev"
[connection signal="pressed" from="VBoxContainer/HBoxContainer/quit" to="." method="_on_JoinLobbyButton_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/multiplayer" to="." method="_on_multiplayer_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Singleplayer" to="." method="_on_Singleplayer_pressed"]
[connection signal="pressed" from="VBoxContainer/Container/VBoxContainer/HBoxContainer/LinkButton" to="." method="_on_LinkButton_pressed"]