summaryrefslogtreecommitdiff
path: root/scenes/pause.tscn
blob: 7164c89472cd77fc43d466a575a02d07d28c9b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[gd_scene load_steps=4 format=2]

[ext_resource path="res://components/button.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/pause.gd" type="Script" id=2]
[ext_resource path="res://textures/backgrounds/background_black.png" type="Texture" id=3]

[node name="PauseMenu" type="Node2D"]
pause_mode = 2
script = ExtResource( 2 )

[node name="Control" type="Control" parent="."]
margin_left = -974.0
margin_top = -552.0
margin_right = 957.0
margin_bottom = 557.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Sprite" type="Sprite" parent="Control"]
position = Vector2( 965.018, 550.197 )
texture = ExtResource( 3 )

[node name="Resume" parent="." instance=ExtResource( 1 )]
pause_mode = 2
position = Vector2( -1.68179, -50 )
z_index = 1
text = "Resume"
fixed_width = 250

[node name="Main Menu" parent="." instance=ExtResource( 1 )]
pause_mode = 2
position = Vector2( -1.68179, 50 )
z_index = 1
text = "Main Menu"
fixed_width = 250
[connection signal="on_click" from="Resume" to="." method="_on_Resume_on_click"]
[connection signal="on_click" from="Main Menu" to="." method="_on_Main_Menu_on_click"]