Files
max-effort/Scenes/main.tscn

151 lines
5.7 KiB
Plaintext

[gd_scene load_steps=19 format=3 uid="uid://xtm08af0e82g"]
[ext_resource type="Script" uid="uid://dnmsuw3knxhp0" path="res://Code/Systems/TunnelSystem.cs" id="2_jjvhh"]
[ext_resource type="Script" uid="uid://c4bnx8w383o4e" path="res://Code/Data/TunnelConfig.cs" id="3_21xkr"]
[ext_resource type="Script" uid="uid://dorbq313ggc7e" path="res://Code/Systems/PlayerInputSystem.cs" id="3_kry3j"]
[ext_resource type="Shader" uid="uid://bnx36sl78tvt5" path="res://Shaders/TunnelVision.gdshader" id="4_jjvhh"]
[ext_resource type="Script" uid="uid://bwtppr4djfdwf" path="res://Code/Systems/HazardSystem.cs" id="5_ynf5e"]
[ext_resource type="Script" uid="uid://bsdan2qixddeg" path="res://Code/UI/LiftProgressBar.cs" id="6_21xkr"]
[ext_resource type="Resource" uid="uid://dvtj8fd5nnjcc" path="res://Resources/Hazard_GymBro.tres" id="6_hptm8"]
[ext_resource type="Script" uid="uid://cmiktfrffb3pc" path="res://Code/Systems/GameManager.cs" id="8_fdnlq"]
[ext_resource type="PackedScene" uid="uid://btslndkq4qgcb" path="res://Objects/hazard_animated.tscn" id="8_wsu2k"]
[ext_resource type="Resource" uid="uid://dhtyc6ivhkbr5" path="res://Resources/Day_Day1.tres" id="9_jkdf5"]
[ext_resource type="Resource" uid="uid://b0j1f8h6tioaf" path="res://Resources/Day_Day2.tres" id="10_wsu2k"]
[ext_resource type="Script" uid="uid://cvrn2apa0djla" path="res://Code/Systems/CameraShakeSystem.cs" id="11_fdnlq"]
[ext_resource type="Resource" uid="uid://dynnmhq1bxcen" path="res://Resources/Day_Day3.tres" id="11_k12tt"]
[ext_resource type="Script" uid="uid://khh8yy66oq36" path="res://Code/Systems/SoundManager.cs" id="14_wsu2k"]
[ext_resource type="Resource" uid="uid://b8ouri8tqw8vp" path="res://Resources/SoundBank.tres" id="15_k12tt"]
[sub_resource type="Curve" id="Curve_6bp64"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 1.4, 0.0, 0, 0]
point_count = 2
[sub_resource type="Resource" id="Resource_344ge"]
script = ExtResource("3_21xkr")
MaxTunnelIntensity = 0.8
VisionCurve = SubResource("Curve_6bp64")
metadata/_custom_type_script = "uid://c4bnx8w383o4e"
[sub_resource type="ShaderMaterial" id="ShaderMaterial_kry3j"]
shader = ExtResource("4_jjvhh")
shader_parameter/vignette_intensity = 0.0
shader_parameter/vignette_color = Color(0, 0, 0, 1)
[node name="Main" type="Node"]
[node name="Systems" type="Node" parent="."]
[node name="SoundManager" type="Node" parent="Systems"]
script = ExtResource("14_wsu2k")
_bank = ExtResource("15_k12tt")
metadata/_custom_type_script = "uid://khh8yy66oq36"
[node name="TunnelSystem" type="Node" parent="Systems" node_paths=PackedStringArray("_vignetteOverlay")]
script = ExtResource("2_jjvhh")
_config = SubResource("Resource_344ge")
_vignetteOverlay = NodePath("../../UI/Vignette")
metadata/_custom_type_script = "uid://dnmsuw3knxhp0"
[node name="PlayerInputSystem" type="Node" parent="Systems"]
script = ExtResource("3_kry3j")
metadata/_custom_type_script = "uid://dorbq313ggc7e"
[node name="HazardSystem" type="Node" parent="Systems" node_paths=PackedStringArray("_spawnLocations")]
script = ExtResource("5_ynf5e")
_possibleHazards = Array[Object]([ExtResource("6_hptm8")])
_spawnLocations = [NodePath("../../HazardSpots/Right"), NodePath("../../HazardSpots/Left")]
_hazardPrefab = ExtResource("8_wsu2k")
metadata/_custom_type_script = "uid://bwtppr4djfdwf"
[node name="GameManager" type="Node" parent="Systems" node_paths=PackedStringArray("_hazardSystem", "_minigameContainer", "_winScreen", "_loseScreen")]
script = ExtResource("8_fdnlq")
_days = Array[Object]([ExtResource("9_jkdf5"), ExtResource("10_wsu2k"), ExtResource("11_k12tt")])
_hazardSystem = NodePath("../HazardSystem")
_minigameContainer = NodePath("../../GameContainer")
_winScreen = NodePath("../../UI/Win")
_loseScreen = NodePath("../../UI/Lose")
metadata/_custom_type_script = "uid://cmiktfrffb3pc"
[node name="CameraShakeSystem" type="Node" parent="Systems" node_paths=PackedStringArray("_camera")]
script = ExtResource("11_fdnlq")
_camera = NodePath("../../Camera2D")
metadata/_custom_type_script = "uid://cvrn2apa0djla"
[node name="GameContainer" type="Node" parent="."]
[node name="HazardSpots" type="Node2D" parent="."]
[node name="Right" type="Node2D" parent="HazardSpots"]
position = Vector2(517, 0)
[node name="Left" type="Node2D" parent="HazardSpots"]
position = Vector2(-559, 0)
[node name="UI" type="CanvasLayer" parent="."]
[node name="Vignette" type="ColorRect" parent="UI"]
material = SubResource("ShaderMaterial_kry3j")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="LiftProgressBar" type="ProgressBar" parent="UI"]
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -27.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 3
size_flags_vertical = 4
script = ExtResource("6_21xkr")
[node name="Win" type="ColorRect" parent="UI"]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 1, 0, 1)
[node name="Label" type="Label" parent="UI/Win"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 48
text = "LIGHT WEIGHT"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Lose" type="ColorRect" parent="UI"]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(1, 0, 0, 1)
[node name="Label" type="Label" parent="UI/Lose"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 48
text = "FAILURE"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Camera2D" type="Camera2D" parent="."]
metadata/_edit_lock_ = true