[gd_scene load_steps=7 format=2] [ext_resource path="res://assets/Theme/slkscr.ttf" type="DynamicFontData" id=1] [ext_resource path="res://assets/SplashScreen/BLANK.png" type="Texture" id=2] [ext_resource path="res://src/Menu/PauseMenu.gd" type="Script" id=3] [ext_resource path="res://assets/Theme/menu_font.tres" type="DynamicFont" id=4] [sub_resource type="DynamicFont" id=1] size = 25 outline_size = 1 outline_color = Color( 0.427451, 0.729412, 0.745098, 0.776471 ) font_data = ExtResource( 1 ) [sub_resource type="Animation" id=2] resource_name = "fade" length = 0.5 tracks/0/type = "value" tracks/0/path = NodePath("CanvasLayer/TextureRect:self_modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.3, 0.5 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0.752941 ), Color( 1, 1, 1, 0.752941 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("CanvasLayer/Label:self_modulate") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 0.3, 0.5 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("CanvasLayer/VBoxContainer:self_modulate") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( ), "transitions": PoolRealArray( ), "update": 0, "values": [ ] } tracks/3/type = "value" tracks/3/path = NodePath("CanvasLayer/VBoxContainer:modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.3, 0.5 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] } [node name="PauseMenu" type="Node2D"] pause_mode = 2 script = ExtResource( 3 ) [node name="CanvasLayer" type="CanvasLayer" parent="."] layer = 3 [node name="TextureRect" type="TextureRect" parent="CanvasLayer"] self_modulate = Color( 1, 1, 1, 0 ) margin_right = 40.0 margin_bottom = 40.0 texture = ExtResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="Label" type="Label" parent="CanvasLayer"] self_modulate = Color( 1, 1, 1, 0 ) anchor_left = 0.5 anchor_right = 0.5 margin_left = -64.5 margin_top = 32.0 margin_right = 64.5 margin_bottom = 58.0 custom_fonts/font = SubResource( 1 ) text = "Pause" align = 1 __meta__ = { "_edit_use_anchors_": false } [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer"] modulate = Color( 1, 1, 1, 0 ) anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -115.0 margin_top = -46.0 margin_right = 116.0 margin_bottom = 124.0 __meta__ = { "_edit_use_anchors_": false } [node name="MarginContainer" type="MarginContainer" parent="CanvasLayer/VBoxContainer"] margin_right = 231.0 [node name="ResumeBtn" type="Button" parent="CanvasLayer/VBoxContainer"] margin_top = 4.0 margin_right = 231.0 margin_bottom = 31.0 custom_fonts/font = ExtResource( 4 ) text = "Resume" [node name="NewGameBtn" type="Button" parent="CanvasLayer/VBoxContainer"] margin_top = 35.0 margin_right = 231.0 margin_bottom = 62.0 custom_fonts/font = ExtResource( 4 ) text = "New Game" [node name="ExitToMainMenuBtn" type="Button" parent="CanvasLayer/VBoxContainer"] margin_top = 66.0 margin_right = 231.0 margin_bottom = 93.0 custom_fonts/font = ExtResource( 4 ) text = "Exit To Main Menu" [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "fade" anims/fade = SubResource( 2 ) [connection signal="focus_entered" from="CanvasLayer/VBoxContainer/ResumeBtn" to="." method="_on_btn_focus_entered"] [connection signal="pressed" from="CanvasLayer/VBoxContainer/ResumeBtn" to="." method="_on_ResumeBtn_pressed"] [connection signal="pressed" from="CanvasLayer/VBoxContainer/NewGameBtn" to="." method="_on_NewGameBtn_pressed"] [connection signal="pressed" from="CanvasLayer/VBoxContainer/ExitToMainMenuBtn" to="." method="_on_ExitToMainMenuBtn_pressed"]