summaryrefslogtreecommitdiff
path: root/scenes/pause.tscn
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-26 13:24:19 +0200
committerrom <romangraef@gmail.com>2021-04-26 13:24:19 +0200
commitb66eb089dbce08f4d38df39f373718194febcb61 (patch)
tree727d457c82b9fe899edc7bb931672455b469fa4f /scenes/pause.tscn
parent33609f3d9ac89116e23eb561c027b04c9658e242 (diff)
downloadldjam48-b66eb089dbce08f4d38df39f373718194febcb61.tar.gz
ldjam48-b66eb089dbce08f4d38df39f373718194febcb61.tar.bz2
ldjam48-b66eb089dbce08f4d38df39f373718194febcb61.zip
[sparta] fix pause
Diffstat (limited to 'scenes/pause.tscn')
-rw-r--r--scenes/pause.tscn21
1 files changed, 10 insertions, 11 deletions
diff --git a/scenes/pause.tscn b/scenes/pause.tscn
index 5be50dd..c494db9 100644
--- a/scenes/pause.tscn
+++ b/scenes/pause.tscn
@@ -1,33 +1,32 @@
-[gd_scene load_steps=5 format=2]
+[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]
[ext_resource path="res://fonts/Flipps_Theme.tres" type="Theme" id=4]
-[node name="PauseMenu" type="Node2D"]
+[node name="PauseMenu" type="CanvasLayer"]
pause_mode = 2
script = ExtResource( 2 )
-[node name="Sprite" type="Sprite" parent="."]
-modulate = Color( 1, 1, 1, 0.47451 )
-texture = ExtResource( 3 )
+[node name="Node2D" type="Node2D" parent="."]
+visible = false
+position = Vector2( 640, 320 )
-[node name="Resume" parent="." instance=ExtResource( 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="." instance=ExtResource( 1 )]
+[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="."]
+[node name="Label" type="Label" parent="Node2D"]
margin_left = -140.0
margin_top = -254.0
margin_right = 143.0
@@ -40,5 +39,5 @@ __meta__ = {
"_edit_use_anchors_": false
}
-[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"]
+[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"]