[gd_scene load_steps=11 format=2] [ext_resource path="res://scripts/game_manager.gd" type="Script" id=1] [ext_resource path="res://assets/UI/Menu_Recipes.png" type="Texture" id=2] [ext_resource path="res://assets/tutorial/machine_repair.png" type="Texture" id=3] [ext_resource path="res://assets/Fonts/AlphaProta-Wy7VE.ttf" type="DynamicFontData" id=4] [ext_resource path="res://assets/UI/Timers.png" type="Texture" id=5] [sub_resource type="Gradient" id=22] offsets = PoolRealArray( 0, 0.776119, 1 ) colors = PoolColorArray( 0, 0, 0, 1, 0, 0, 0, 0.429105, 0, 0, 0, 0 ) [sub_resource type="GradientTexture2D" id=21] gradient = SubResource( 22 ) fill_to = Vector2( 0, 1 ) [sub_resource type="DynamicFont" id=2] size = 50 font_data = ExtResource( 4 ) [sub_resource type="DynamicFont" id=1] size = 55 font_data = ExtResource( 4 ) [sub_resource type="DynamicFont" id=3] size = 34 font_data = ExtResource( 4 ) [node name="game_manager" type="CanvasLayer" groups=["game_manager"]] pause_mode = 2 layer = 3 script = ExtResource( 1 ) [node name="UI" type="Control" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 rect_pivot_offset = Vector2( 1024, 600 ) size_flags_horizontal = 3 size_flags_vertical = 3 [node name="TextureRect" type="TextureRect" parent="UI"] anchor_left = 0.5 anchor_right = 1.0 anchor_bottom = 0.117593 mouse_filter = 2 texture = SubResource( 21 ) expand = true stretch_mode = 1 __meta__ = { "_edit_use_anchors_": true } [node name="pause_menu" type="Panel" parent="UI"] pause_mode = 2 unique_name_in_owner = true visible = false anchor_right = 1.0 anchor_bottom = 1.0 rect_pivot_offset = Vector2( 989, 509 ) size_flags_horizontal = 3 size_flags_vertical = 3 [node name="machine_repair" type="TextureRect" parent="UI/pause_menu"] anchor_left = 0.466146 anchor_top = 0.0962963 anchor_right = 0.894272 anchor_bottom = 0.666666 margin_left = 6.10352e-05 rect_pivot_offset = Vector2( -754, 325 ) texture = ExtResource( 3 ) expand = true stretch_mode = 1 __meta__ = { "_edit_use_anchors_": true } [node name="recipes" type="TextureRect" parent="UI/pause_menu"] anchor_left = 0.0427083 anchor_top = 0.0592593 anchor_right = 0.323438 anchor_bottom = 0.925926 texture = ExtResource( 2 ) expand = true __meta__ = { "_edit_use_anchors_": true } [node name="resume_button" type="Button" parent="UI/pause_menu"] pause_mode = 2 unique_name_in_owner = true anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = 166.0 margin_top = -303.0 margin_right = 529.0 margin_bottom = -217.0 rect_pivot_offset = Vector2( 30.7864, 9.2928 ) custom_fonts/font = SubResource( 2 ) text = "RESUME" icon_align = 1 expand_icon = true [node name="main_menu_button" type="Button" parent="UI/pause_menu"] pause_mode = 2 unique_name_in_owner = true anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = 166.0 margin_top = -184.0 margin_right = 529.0 margin_bottom = -98.0 rect_pivot_offset = Vector2( 30.7864, 9.2928 ) custom_fonts/font = SubResource( 2 ) text = "MAIN MENU" icon_align = 1 expand_icon = true [node name="HUD" type="TextureRect" parent="UI"] anchor_left = 0.610937 anchor_top = -0.00740741 anchor_right = 1.0 anchor_bottom = 0.126852 texture = ExtResource( 5 ) expand = true __meta__ = { "_edit_use_anchors_": true } [node name="day_timer_text" type="Label" parent="UI/HUD"] unique_name_in_owner = true anchor_left = 0.73494 anchor_top = 0.0551724 anchor_right = 1.0 anchor_bottom = 0.57931 grow_horizontal = 0 rect_pivot_offset = Vector2( 116.901, -0.362253 ) custom_colors/font_color = Color( 0.0235294, 0.792157, 0, 1 ) custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = -2 custom_constants/shadow_offset_y = 2 custom_fonts/font = SubResource( 1 ) text = "00:20" align = 1 valign = 1 uppercase = true __meta__ = { "_edit_use_anchors_": true } [node name="current_coins_text" type="Label" parent="UI/HUD"] unique_name_in_owner = true anchor_left = 0.874163 anchor_top = 0.655172 anchor_right = 0.973226 anchor_bottom = 0.896552 grow_horizontal = 0 rect_pivot_offset = Vector2( 116.901, -0.362253 ) custom_colors/font_color = Color( 0.0235294, 0.792157, 0, 1 ) custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = -2 custom_constants/shadow_offset_y = 2 custom_fonts/font = SubResource( 3 ) text = "0" align = 1 valign = 1 uppercase = true __meta__ = { "_edit_use_anchors_": true } [node name="day_timer" type="Timer" parent="."] pause_mode = 1 unique_name_in_owner = true [connection signal="pressed" from="UI/pause_menu/resume_button" to="." method="_on_resume_button_pressed"] [connection signal="pressed" from="UI/pause_menu/main_menu_button" to="." method="_on_main_menu_button_pressed"] [connection signal="timeout" from="day_timer" to="." method="_on_day_timer_timeout"]