Implement basic networking
This commit is contained in:
parent
c320d9ddcb
commit
994823a9c3
25 changed files with 643 additions and 217 deletions
|
|
@ -23,13 +23,18 @@ grow_vertical = 2
|
|||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="StartGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=364461644]
|
||||
[node name="HostGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=364461644]
|
||||
layout_mode = 2
|
||||
text = "Start Game"
|
||||
text = "Host Game"
|
||||
|
||||
[node name="JoinGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=1719078976]
|
||||
layout_mode = 2
|
||||
text = "Join Game"
|
||||
|
||||
[node name="ExitGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=1050417063]
|
||||
layout_mode = 2
|
||||
text = "Exit Game"
|
||||
|
||||
[connection signal="pressed" from="CenterContainer/VBoxContainer/StartGameButton" to="." method="OnStartGame"]
|
||||
[connection signal="pressed" from="CenterContainer/VBoxContainer/HostGameButton" to="." method="OnHostGame"]
|
||||
[connection signal="pressed" from="CenterContainer/VBoxContainer/JoinGameButton" to="." method="OnJoinGame"]
|
||||
[connection signal="pressed" from="CenterContainer/VBoxContainer/ExitGameButton" to="." method="OnExitGame"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue