123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- [gd_scene load_steps=26 format=3 uid="uid://ijfntxr822tg"]
- [ext_resource type="Script" uid="uid://bmtn1x85p6i63" path="res://Scripts/Player.gd" id="1"]
- [ext_resource type="Script" uid="uid://bi11j8yvisf2u" path="res://Scripts/ui_handler.gd" id="2"]
- [ext_resource type="Texture2D" uid="uid://db1igregnmakb" path="res://Textures/Controls/MLG Hitmarker.png" id="3"]
- [ext_resource type="PackedScene" uid="uid://di1fvicjwhp2a" path="res://Scenes/pause_screen.tscn" id="4"]
- [ext_resource type="PackedScene" uid="uid://cjrl3cgbr8py5" path="res://Scenes/death_screen.tscn" id="5"]
- [ext_resource type="Script" uid="uid://qc7f0meblvt3" path="res://Scripts/Inventory.gd" id="6"]
- [ext_resource type="PackedScene" uid="uid://dmr0fcamx7t56" path="res://addons/virtual_joystick/virtual_joystick_scene.tscn" id="8"]
- [ext_resource type="Texture2D" uid="uid://cunjv0lj0krd1" path="res://Textures/Controls/jump.png" id="9"]
- [ext_resource type="Texture2D" uid="uid://clgt4oy12723p" path="res://Textures/Controls/jump_pressed.png" id="10"]
- [ext_resource type="Texture2D" uid="uid://bljc2vayshggi" path="res://Textures/Controls/reload.png" id="11"]
- [ext_resource type="Texture2D" uid="uid://u4gf0cr1rlrc" path="res://Textures/Controls/reload_pressed.png" id="12"]
- [ext_resource type="Texture2D" uid="uid://dg1br6xx7uc1t" path="res://Textures/Controls/interact.png" id="13"]
- [ext_resource type="Texture2D" uid="uid://bgytct4238m2b" path="res://Textures/Controls/interact_pressed.png" id="14"]
- [ext_resource type="Texture2D" uid="uid://dguwvgwjdjwe0" path="res://Textures/Controls/shoot.png" id="15"]
- [ext_resource type="Texture2D" uid="uid://cbq4ix6tjmf3k" path="res://Textures/Controls/shoot_pressed.png" id="16"]
- [ext_resource type="Texture2D" uid="uid://ch7lay8kmpcp3" path="res://Textures/Controls/pause.png" id="17"]
- [ext_resource type="Texture2D" uid="uid://ch3irnvh44bvu" path="res://Textures/Controls/pause_pressed.png" id="18"]
- [ext_resource type="AudioStream" uid="uid://bbr1enmvln5vj" path="res://Audio/sfx/footstep 1.wav" id="21_qidb7"]
- [ext_resource type="AudioStream" uid="uid://pjunjs66vfso" path="res://Audio/sfx/footstep 2.wav" id="22_70hv0"]
- [ext_resource type="AudioStream" uid="uid://vg1p1sp7i5sy" path="res://Audio/sfx/footstep 3.wav" id="23_8flut"]
- [ext_resource type="AudioStream" uid="uid://lguad0fwoc73" path="res://Audio/sfx/footstep 4.wav" id="24_u7x0b"]
- [sub_resource type="CapsuleMesh" id="CapsuleMesh_bn3cl"]
- [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_mf8yx"]
- radius = 0.224981
- [sub_resource type="CircleShape2D" id="CircleShape2D_j4t3y"]
- radius = 256.0
- [sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_utwlt"]
- streams_count = 4
- stream_0/stream = ExtResource("21_qidb7")
- stream_1/stream = ExtResource("22_70hv0")
- stream_2/stream = ExtResource("23_8flut")
- stream_3/stream = ExtResource("24_u7x0b")
- [node name="Player" type="CharacterBody3D"]
- process_mode = 1
- floor_max_angle = 1.22173
- script = ExtResource("1")
- [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
- mesh = SubResource("CapsuleMesh_bn3cl")
- skeleton = NodePath("")
- [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
- shape = SubResource("CapsuleShape3D_mf8yx")
- [node name="Neck" type="Node3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.549726, 0)
- [node name="Camera3D" type="Camera3D" parent="Neck"]
- fov = 90.0
- script = ExtResource("2")
- [node name="Pause Screen" parent="Neck/Camera3D" instance=ExtResource("4")]
- [node name="hitmarker" type="Sprite2D" parent="Neck/Camera3D"]
- position = Vector2(225, 200)
- scale = Vector2(0.0142857, 0.0142857)
- texture = ExtResource("3")
- [node name="objectives" type="Panel" parent="Neck/Camera3D"]
- visible = false
- offset_left = 260.0
- offset_top = 2.0
- offset_right = 451.0
- offset_bottom = 108.0
- mouse_filter = 2
- [node name="text" type="Label" parent="Neck/Camera3D/objectives"]
- layout_mode = 0
- offset_left = 4.0
- offset_top = -1.0
- offset_right = 87.0
- offset_bottom = 22.0
- text = "objectives:"
- [node name="container" type="BoxContainer" parent="Neck/Camera3D/objectives"]
- layout_mode = 0
- offset_left = 2.0
- offset_top = 21.0
- offset_right = 190.0
- offset_bottom = 106.0
- vertical = true
- [node name="Death Screen" parent="Neck/Camera3D" instance=ExtResource("5")]
- visible = false
- [node name="interaction" type="Label" parent="Neck/Camera3D"]
- offset_left = 130.0
- offset_top = 204.0
- offset_right = 321.0
- offset_bottom = 298.0
- horizontal_alignment = 1
- autowrap_mode = 2
- metadata/_edit_use_anchors_ = true
- [node name="inventory" type="HBoxContainer" parent="Neck/Camera3D"]
- offset_left = 230.0
- offset_top = 354.0
- offset_right = 446.0
- offset_bottom = 394.0
- alignment = 2
- script = ExtResource("6")
- [node name="AudioListener3D" type="AudioListener3D" parent="Neck/Camera3D"]
- current = true
- [node name="RayCast3D" type="RayCast3D" parent="Neck/Camera3D"]
- target_position = Vector3(0, 0, -200)
- [node name="mobile controls" type="CanvasLayer" parent="Neck/Camera3D"]
- visible = false
- [node name="Move" parent="Neck/Camera3D/mobile controls" instance=ExtResource("8")]
- anchors_preset = -1
- offset_top = -129.0
- offset_right = 297.0
- offset_bottom = 153.0
- scale = Vector2(0.45, 0.45)
- clampzone_size = 60.0
- metadata/_edit_use_anchors_ = true
- [node name="jump" type="TouchScreenButton" parent="Neck/Camera3D/mobile controls"]
- position = Vector2(370, 284)
- scale = Vector2(0.0976562, 0.0976562)
- texture_normal = ExtResource("9")
- texture_pressed = ExtResource("10")
- shape = SubResource("CircleShape2D_j4t3y")
- action = "jump"
- [node name="reload" type="TouchScreenButton" parent="Neck/Camera3D/mobile controls"]
- position = Vector2(327, 242)
- scale = Vector2(0.0703124, 0.0703124)
- texture_normal = ExtResource("11")
- texture_pressed = ExtResource("12")
- shape = SubResource("CircleShape2D_j4t3y")
- action = "reload"
- [node name="interact" type="TouchScreenButton" parent="Neck/Camera3D/mobile controls"]
- position = Vector2(309, 287)
- scale = Vector2(0.0976562, 0.0976562)
- texture_normal = ExtResource("13")
- texture_pressed = ExtResource("14")
- shape = SubResource("CircleShape2D_j4t3y")
- action = "interact"
- [node name="shoot" type="TouchScreenButton" parent="Neck/Camera3D/mobile controls"]
- position = Vector2(370, 222)
- scale = Vector2(0.0976562, 0.0976562)
- texture_normal = ExtResource("15")
- texture_pressed = ExtResource("16")
- shape = SubResource("CircleShape2D_j4t3y")
- action = "mobile_fire"
- [node name="pause" type="TouchScreenButton" parent="Neck/Camera3D/mobile controls"]
- position = Vector2(429, 5.96046e-08)
- scale = Vector2(0.0410156, 0.0410156)
- texture_normal = ExtResource("17")
- texture_pressed = ExtResource("18")
- shape = SubResource("CircleShape2D_j4t3y")
- action = "pause"
- [node name="Hand" type="Node3D" parent="Neck"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.92744, -0.647957, -1.13801)
- [node name="footstep" type="AudioStreamPlayer3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.01009, 0)
- stream = SubResource("AudioStreamRandomizer_utwlt")
- bus = &"Reverb"
|