forked from interstellar_development/freeftf
Milestone 6 Beta 2
Reworked multiplayer, like a lot.
This commit is contained in:
parent
17ece77b7c
commit
9de67986dd
17 changed files with 309 additions and 89 deletions
33
menus/game_menu.tscn
Normal file
33
menus/game_menu.tscn
Normal file
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://d1tv0npkjbet5"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/game_menu.gd" id="1_fl507"]
|
||||
|
||||
[node name="game_menu" 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_fl507")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -20.0
|
||||
offset_top = -20.0
|
||||
offset_right = 20.0
|
||||
offset_bottom = 20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Leave Game"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/Button" to="." method="_on_button_pressed"]
|
Loading…
Add table
Add a link
Reference in a new issue