summaryrefslogtreecommitdiff
path: root/scenes/pause.tscn
blob: 65f71e3097c81d51ba2ee09ca5d5984c36747170 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[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://fonts/Flipps_Theme.tres" type="Theme" id=4]

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

[node name="Node2D" type="Node2D" parent="."]
visible = false
position = Vector2( 640, 320 )

[node name="ColorRect" type="ColorRect" parent="Node2D"]
self_modulate = Color( 1, 1, 1, 0.356863 )
margin_left = -1000.0
margin_top = -1000.0
margin_right = 1000.0
margin_bottom = 1000.0
mouse_filter = 2
color = Color( 0, 0, 0, 1 )

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

[node name="Main Menu" parent="Node2D" instance=ExtResource( 1 )]
pause_mode = 2
position = Vector2( 0, 50 )
z_index = 1
text = "Main Menu"
fixed_width = 250

[node name="Label" type="Label" parent="Node2D"]
margin_left = -140.0
margin_top = -254.0
margin_right = 143.0
margin_bottom = -186.0
theme = ExtResource( 4 )
text = "Pause"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}

[connection signal="on_click" from="Node2D/Resume" to="." method="_on_Resume_on_click"]
[connection signal="on_click" from="Node2D/Main Menu" to="." method="_on_Main_Menu_on_click"]