mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
Worked on a small demo project, to start making a dedicated server.
This commit is contained in:
5
Phase2/Networking/Client/Lobby/Lobby.gd
Normal file
5
Phase2/Networking/Client/Lobby/Lobby.gd
Normal file
@ -0,0 +1,5 @@
|
||||
extends Control
|
||||
|
||||
|
||||
func _on_Button_pressed():
|
||||
Server._connect_to_server()
|
21
Phase2/Networking/Client/Lobby/Lobby.tscn
Normal file
21
Phase2/Networking/Client/Lobby/Lobby.tscn
Normal file
@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://Lobby/Lobby.gd" type="Script" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Button" type="Button" parent="CenterContainer"]
|
||||
margin_left = 468.0
|
||||
margin_top = 290.0
|
||||
margin_right = 556.0
|
||||
margin_bottom = 310.0
|
||||
text = "Join Session"
|
||||
|
||||
[connection signal="pressed" from="CenterContainer/Button" to="." method="_on_Button_pressed"]
|
Reference in New Issue
Block a user