diff options
author | Jonas Bernard <public.jbernard@web.de> | 2021-04-25 14:22:48 +0200 |
---|---|---|
committer | Jonas Bernard <public.jbernard@web.de> | 2021-04-25 14:22:48 +0200 |
commit | bfbc61cf614b02e03440c70f0380849a7a3732ef (patch) | |
tree | 3b9a436281a4ba340b9e6fd03acd3b0e84f74c9a | |
parent | 3cff3a187e1fdba4396d7ca0d1e50b5fa456d7b6 (diff) | |
download | ldjam48-bfbc61cf614b02e03440c70f0380849a7a3732ef.tar.gz ldjam48-bfbc61cf614b02e03440c70f0380849a7a3732ef.tar.bz2 ldjam48-bfbc61cf614b02e03440c70f0380849a7a3732ef.zip |
Pause
-rw-r--r-- | scenes/pause.tscn | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/scenes/pause.tscn b/scenes/pause.tscn index 416c34f..f1f4a00 100644 --- a/scenes/pause.tscn +++ b/scenes/pause.tscn @@ -1,31 +1,40 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 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"] pause_mode = 2 -position = Vector2( 640, 360 ) -z_index = 6 script = ExtResource( 2 ) [node name="Resume" parent="." instance=ExtResource( 1 )] pause_mode = 2 -position = Vector2( 0, -50 ) +position = Vector2( -1.68179, -50 ) z_index = 1 text = "Resume" fixed_width = 250 [node name="Sprite" type="Sprite" parent="."] -modulate = Color( 1, 1, 1, 0.372549 ) +position = Vector2( -8.98199, -1.80298 ) texture = ExtResource( 3 ) [node name="Main Menu" parent="." instance=ExtResource( 1 )] pause_mode = 2 -position = Vector2( 0, 50 ) +position = Vector2( -1.68179, 50 ) z_index = 1 text = "Main Menu" fixed_width = 250 + +[node name="Label" type="Label" parent="."] +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 [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"] |