diff options
author | Jonas Bernard <public.jbernard@web.de> | 2021-04-25 00:56:41 +0200 |
---|---|---|
committer | Jonas Bernard <public.jbernard@web.de> | 2021-04-25 00:56:41 +0200 |
commit | 8d91ce158c844d7426c7300c86603767679725cd (patch) | |
tree | 80b0f0f14f8a537a7a7571d9370413acfe74eca6 /scenes/pause.tscn | |
parent | f9be2a273508d85e1a8aed7b9f896777e8c32f40 (diff) | |
download | ldjam48-8d91ce158c844d7426c7300c86603767679725cd.tar.gz ldjam48-8d91ce158c844d7426c7300c86603767679725cd.tar.bz2 ldjam48-8d91ce158c844d7426c7300c86603767679725cd.zip |
pause mode
Diffstat (limited to 'scenes/pause.tscn')
-rw-r--r-- | scenes/pause.tscn | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/scenes/pause.tscn b/scenes/pause.tscn index 872362f..7164c89 100644 --- a/scenes/pause.tscn +++ b/scenes/pause.tscn @@ -1,21 +1,38 @@ -[gd_scene load_steps=3 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] [node name="PauseMenu" type="Node2D"] pause_mode = 2 -visible = false 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"] |