godot-webrtc-mplayer-testing/screens/game.tscn

33 lines
740 B
Plaintext
Raw Normal View History

2021-11-15 15:43:33 -06:00
[gd_scene load_steps=2 format=2]
2021-12-07 16:19:54 -06:00
[ext_resource path="res://scripts/screens/game.gd" type="Script" id=1]
2021-11-15 15:43:33 -06:00
[node name="game" type="Node2D"]
2021-11-15 15:43:33 -06:00
script = ExtResource( 1 )
[node name="camera" type="Camera2D" parent="."]
current = true
zoom = Vector2( 0.5, 0.5 )
2021-11-15 15:43:33 -06:00
[node name="Label" type="Label" parent="."]
margin_left = 93.0
margin_top = 109.0
margin_right = 253.0
margin_bottom = 123.0
text = "You are playing the game"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="Label"]
margin_left = 29.0
margin_top = 177.0
margin_right = 120.0
margin_bottom = 197.0
text = "Leave Game"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Label/Button" to="." method="_on_Button_pressed"]