[gd_scene load_steps=3 format=2] [ext_resource path="res://scripts/screens/game.gd" type="Script" id=1] [ext_resource path="res://assets/theme.tres" type="Theme" id=2] [node name="game" type="Node2D"] script = ExtResource( 1 ) [node name="camera" type="Camera2D" parent="."] offset = Vector2( 100, 0 ) current = true drag_margin_left = 0.0 drag_margin_top = 0.0 drag_margin_right = 0.0 drag_margin_bottom = 0.0 editor_draw_limits = true [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 text = "You are playing the game" __meta__ = { "_edit_use_anchors_": false } [node name="Button" type="Button" parent="CanvasLayer/ui/v"] margin_top = 25.0 margin_right = 1024.0 margin_bottom = 52.0 text = "Leave Game" __meta__ = { "_edit_use_anchors_": false } [connection signal="pressed" from="CanvasLayer/ui/v/Button" to="." method="_on_Button_pressed"]