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

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-12-15 16:14:36 -06:00
[gd_scene load_steps=3 format=2]
2021-11-15 15:43:33 -06:00
2021-12-07 16:19:54 -06:00
[ext_resource path="res://scripts/screens/game.gd" type="Script" id=1]
2021-12-15 16:14:36 -06:00
[ext_resource path="res://assets/theme.tres" type="Theme" id=2]
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="."]
2021-12-15 16:14:36 -06:00
offset = Vector2( 100, 0 )
current = true
2021-12-15 16:14:36 -06:00
drag_margin_left = 0.0
drag_margin_top = 0.0
drag_margin_right = 0.0
drag_margin_bottom = 0.0
editor_draw_limits = true
2021-12-15 16:14:36 -06:00
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="ui" type="MarginContainer" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="v" type="VBoxContainer" parent="CanvasLayer/ui"]
margin_right = 1024.0
margin_bottom = 600.0
[node name="Label" type="Label" parent="CanvasLayer/ui/v"]
margin_right = 1024.0
margin_bottom = 21.0
2021-11-15 15:43:33 -06:00
text = "You are playing the game"
__meta__ = {
"_edit_use_anchors_": false
}
2021-12-15 16:14:36 -06:00
[node name="Button" type="Button" parent="CanvasLayer/ui/v"]
margin_top = 25.0
margin_right = 1024.0
margin_bottom = 52.0
2021-11-15 15:43:33 -06:00
text = "Leave Game"
__meta__ = {
"_edit_use_anchors_": false
}
2021-12-15 16:14:36 -06:00
[connection signal="pressed" from="CanvasLayer/ui/v/Button" to="." method="_on_Button_pressed"]