forked from drraccoon/GD-Polo
Forward progress on joining sessions. Pre-game lobby created.
This commit is contained in:
parent
f9a788d7db
commit
f298ca909c
2 changed files with 125 additions and 32 deletions
104
scenes/menu.tscn
104
scenes/menu.tscn
|
@ -27,6 +27,12 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
anchor_mode = 0
|
||||
current = true
|
||||
smoothing_enabled = true
|
||||
smoothing_speed = 10.0
|
||||
|
||||
[node name="Header2" type="Label" parent="."]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 11.0
|
||||
|
@ -163,6 +169,89 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Game Lobby" type="Panel" parent="."]
|
||||
anchor_left = 0.0125
|
||||
anchor_top = 0.0888889
|
||||
anchor_right = 0.0125
|
||||
anchor_bottom = 0.0888889
|
||||
margin_left = 648.0
|
||||
margin_top = 17.0
|
||||
margin_right = 1256.0
|
||||
margin_bottom = 318.0
|
||||
custom_styles/panel = ExtResource( 7 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Header4" type="Label" parent="Game Lobby"]
|
||||
margin_left = -7.38599
|
||||
margin_top = -48.0
|
||||
margin_right = 150.614
|
||||
margin_bottom = -37.0
|
||||
rect_scale = Vector2( 4, 4 )
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
text = "pregame lobby"
|
||||
align = 1
|
||||
valign = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PlayersPanel" type="Panel" parent="Game Lobby"]
|
||||
anchor_left = 0.0125
|
||||
anchor_top = 0.0888889
|
||||
anchor_right = 0.0125
|
||||
anchor_bottom = 0.0888889
|
||||
margin_left = 352.4
|
||||
margin_top = 4.24444
|
||||
margin_right = 584.4
|
||||
margin_bottom = 228.244
|
||||
custom_styles/panel = ExtResource( 7 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="Game Lobby/PlayersPanel"]
|
||||
anchor_right = 1.0
|
||||
margin_top = 8.0
|
||||
margin_bottom = 19.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
text = "connected Players"
|
||||
align = 1
|
||||
valign = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="Game Lobby"]
|
||||
anchor_right = 1.0
|
||||
margin_top = 7.0
|
||||
margin_bottom = 18.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
text = "General"
|
||||
align = 1
|
||||
valign = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Btn_Disconnect" type="Button" parent="Game Lobby"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -288.0
|
||||
margin_top = -38.0
|
||||
margin_right = -206.0
|
||||
margin_bottom = -17.0
|
||||
hint_tooltip = "Join an online game with above parameters"
|
||||
mouse_default_cursor_shape = 2
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
text = "Disconnect"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HostPanel" type="Panel" parent="."]
|
||||
anchor_left = 0.0125
|
||||
anchor_top = 0.0888889
|
||||
|
@ -262,21 +351,6 @@ __meta__ = {
|
|||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CheckBox" type="CheckBox" parent="HostPanel"]
|
||||
margin_left = 88.0
|
||||
margin_top = 104.0
|
||||
margin_right = 264.0
|
||||
margin_bottom = 128.0
|
||||
hint_tooltip = "Tonytins mode! Duh!"
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
disabled = true
|
||||
toggle_mode = false
|
||||
shortcut_in_tooltip = false
|
||||
text = "Tonytins Mode"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HostGameBtn" type="Button" parent="HostPanel"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue