[gd_scene load_steps=28 format=2] [ext_resource path="res://assets/fonts/Monocraft.ttf" type="DynamicFontData" id=1] [ext_resource path="res://assets/HUD/barsmallreversed.png" type="Texture" id=2] [ext_resource path="res://CPUname.gd" type="Script" id=3] [ext_resource path="res://DebugLeft.gd" type="Script" id=4] [ext_resource path="res://DebugRight.gd" type="Script" id=5] [ext_resource path="res://FPSCounter.gd" type="Script" id=6] [ext_resource path="res://ScreenRes.gd" type="Script" id=7] [ext_resource path="res://addons/controller_icons/objects/Sprite.gd" type="Script" id=8] [ext_resource path="res://TimerText.gd" type="Script" id=9] [ext_resource path="res://addons/controller_icons/assets/key/f3.png" type="Texture" id=10] [ext_resource path="res://assets/HUD/DirectionArrow.png" type="Texture" id=11] [ext_resource path="res://assets/HUD/Backpack.png" type="Texture" id=14] [ext_resource path="res://assets/HUD/Touchscreen/Pause.png" type="Texture" id=15] [ext_resource path="res://assets/HUD/Touchscreen/hidehud.png" type="Texture" id=16] [ext_resource path="res://assets/HUD/MapIcon.png" type="Texture" id=17] [ext_resource path="res://Pause.tscn" type="PackedScene" id=19] [ext_resource path="res://addons/controller_icons/assets/key/esc.png" type="Texture" id=20] [ext_resource path="res://assets/HUD/bar.png" type="Texture" id=22] [ext_resource path="res://addons/controller_icons/assets/key/f1.png" type="Texture" id=24] [ext_resource path="res://assets/HUD/Touchscreen/debugbuttonpressed.png" type="Texture" id=26] [ext_resource path="res://assets/HUD/Touchscreen/debugbutton.png" type="Texture" id=31] [ext_resource path="res://assets/HUD/stopwatch.png" type="Texture" id=33] [sub_resource type="DynamicFont" id=4] size = 18 font_data = ExtResource( 1 ) [sub_resource type="DynamicFont" id=5] size = 18 font_data = ExtResource( 1 ) [sub_resource type="DynamicFont" id=3] size = 18 font_data = ExtResource( 1 ) [sub_resource type="DynamicFont" id=1] size = 18 font_data = ExtResource( 1 ) [sub_resource type="DynamicFont" id=2] size = 18 font_data = ExtResource( 1 ) [node name="HUD" type="CanvasLayer"] [node name="HUD" type="Control" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 [node name="RightUI" type="Control" parent="HUD"] anchor_left = 1.0 anchor_right = 1.0 margin_left = -640.0 margin_bottom = 720.0 [node name="Barlarge" type="Sprite" parent="HUD/RightUI"] position = Vector2( 450, 66 ) scale = Vector2( 3, 3 ) texture = ExtResource( 22 ) [node name="Backpack" type="Sprite" parent="HUD/RightUI/Barlarge"] position = Vector2( 29.4902, 0 ) texture = ExtResource( 14 ) [node name="Stopwatch" type="Sprite" parent="HUD/RightUI/Barlarge"] position = Vector2( -67.1373, 0 ) texture = ExtResource( 33 ) [node name="TimerText" type="Label" parent="HUD/RightUI/Barlarge"] margin_left = -49.5681 margin_top = -8.0 margin_right = 10.4319 margin_bottom = 10.0 custom_fonts/font = SubResource( 4 ) text = "00:00" align = 1 valign = 1 script = ExtResource( 9 ) [node name="ItemsCollectedText" type="Label" parent="HUD/RightUI/Barlarge"] margin_left = 31.3724 margin_top = -8.0 margin_right = 71.3724 margin_bottom = 10.0 custom_fonts/font = SubResource( 5 ) text = "0" align = 1 valign = 1 [node name="DebugRight" type="Control" parent="HUD/RightUI"] visible = false anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 margin_left = -40.0 margin_top = -20.0 margin_bottom = 20.0 script = ExtResource( 5 ) [node name="ScreenRes" type="Label" parent="HUD/RightUI/DebugRight"] margin_left = -8.0 margin_top = -180.0 margin_right = 40.0 margin_bottom = -162.0 grow_horizontal = 0 custom_fonts/font = SubResource( 3 ) text = "CPU:" align = 1 valign = 1 script = ExtResource( 7 ) [node name="CentreUI" type="Control" parent="HUD"] anchor_left = 0.5 anchor_right = 0.5 margin_left = -20.0 margin_right = 20.0 margin_bottom = 40.0 [node name="PauseButton" type="TouchScreenButton" parent="HUD/CentreUI"] scale = Vector2( 6, 6 ) normal = ExtResource( 15 ) action = "game_pause" visibility_mode = 1 [node name="DebugButton" type="TouchScreenButton" parent="HUD/CentreUI"] position = Vector2( -96, 0 ) scale = Vector2( 6, 6 ) normal = ExtResource( 31 ) pressed = ExtResource( 26 ) action = "ui_debug" visibility_mode = 1 [node name="TouchScreenButton" type="TouchScreenButton" parent="HUD/CentreUI"] position = Vector2( 96, 0 ) scale = Vector2( 6, 6 ) normal = ExtResource( 16 ) action = "ui_hide" visibility_mode = 1 [node name="Pause" parent="HUD" instance=ExtResource( 19 )] pause_mode = 2 visible = false [node name="LeftUI" type="Control" parent="HUD"] anchor_right = 1.0 anchor_bottom = 1.0 margin_right = 7.67993 margin_bottom = 7.91998 [node name="LeftBar" type="Sprite" parent="HUD/LeftUI"] position = Vector2( 155, 48 ) scale = Vector2( 3, 3 ) texture = ExtResource( 2 ) [node name="DirectionArrow" type="Sprite" parent="HUD/LeftUI/LeftBar"] position = Vector2( 29, 0 ) scale = Vector2( 0.666667, 0.666667 ) texture = ExtResource( 11 ) [node name="MapIcon" type="Sprite" parent="HUD/LeftUI/LeftBar"] position = Vector2( -43, 0 ) scale = Vector2( 0.666667, 0.666667 ) texture = ExtResource( 17 ) [node name="PlaceText" type="Label" parent="HUD/LeftUI/LeftBar"] margin_left = -30.3333 margin_top = -4.0 margin_right = 17.6667 margin_bottom = 5.0 rect_scale = Vector2( 0.5, 0.5 ) custom_fonts/font = SubResource( 1 ) text = "Tutorial" align = 1 valign = 1 [node name="LocationNumber" type="Label" parent="HUD/LeftUI/LeftBar"] margin_left = 33.6667 margin_top = -5.33333 margin_right = 73.6667 margin_bottom = 12.6667 rect_scale = Vector2( 0.5, 0.5 ) custom_fonts/font = SubResource( 1 ) text = "?" align = 1 valign = 1 [node name="BottomLeft" type="Control" parent="HUD/LeftUI"] anchor_top = 1.0 anchor_bottom = 1.0 margin_top = -47.92 margin_right = 40.0 margin_bottom = -7.91998 [node name="PauseGlyph" type="Sprite" parent="HUD/LeftUI/BottomLeft"] position = Vector2( 64, -32 ) scale = Vector2( 0.5, 0.5 ) texture = ExtResource( 20 ) script = ExtResource( 8 ) path = "game_pause" [node name="PauseGlyphText" type="Label" parent="HUD/LeftUI/BottomLeft"] margin_left = 96.0 margin_top = -42.0 margin_right = 180.0 margin_bottom = -24.0 custom_fonts/font = SubResource( 2 ) text = "Pause" [node name="DebugGlyph" type="Sprite" parent="HUD/LeftUI/BottomLeft"] position = Vector2( 194, -32 ) scale = Vector2( 0.5, 0.5 ) texture = ExtResource( 10 ) script = ExtResource( 8 ) path = "ui_debug" [node name="DebugGlyphText" type="Label" parent="HUD/LeftUI/BottomLeft"] margin_left = 226.0 margin_top = -42.0 margin_right = 310.0 margin_bottom = -24.0 custom_fonts/font = SubResource( 2 ) text = "Debug" [node name="HideGlyph" type="Sprite" parent="HUD/LeftUI/BottomLeft"] position = Vector2( 88, -216 ) scale = Vector2( 0.5, 0.5 ) texture = ExtResource( 24 ) offset = Vector2( 466, 368 ) script = ExtResource( 8 ) path = "ui_hide" [node name="HideGlyphText" type="Label" parent="HUD/LeftUI/BottomLeft"] margin_left = 352.0 margin_top = -42.0 margin_right = 448.0 margin_bottom = -24.0 rect_pivot_offset = Vector2( -265, -174 ) custom_fonts/font = SubResource( 2 ) text = "Hide HUD" [node name="DebugLeft" type="Control" parent="HUD/LeftUI"] visible = false anchor_top = 0.5 anchor_bottom = 0.5 margin_top = -20.0 margin_right = 40.0 margin_bottom = 20.0 script = ExtResource( 4 ) [node name="FPSCounter" type="Label" parent="HUD/LeftUI/DebugLeft"] margin_left = 8.0 margin_top = -180.0 margin_right = 56.0 margin_bottom = -162.0 custom_fonts/font = SubResource( 3 ) text = "FPS:" align = 1 valign = 1 script = ExtResource( 6 ) [node name="CPUName" type="Label" parent="HUD/LeftUI/DebugLeft"] margin_left = 8.0 margin_top = -160.0 margin_right = 56.0 margin_bottom = -142.0 custom_fonts/font = SubResource( 3 ) text = "CPU:" align = 1 valign = 1 script = ExtResource( 3 ) [connection signal="pressed" from="HUD/CentreUI/PauseButton" to="HUD/Pause" method="_on_PauseButton_pressed"]