148 lines
4.7 KiB
Plaintext
148 lines
4.7 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://xtm08af0e82g"]
|
|
|
|
[ext_resource type="GameState" uid="uid://2gma8vvisnqo" path="res://Resources/GameState.tres" id="1_bo1nx"]
|
|
[ext_resource type="Shader" uid="uid://dndm4jfifooyk" path="res://Shaders/TunnelVision.gdshader" id="1_jjgbg"]
|
|
[ext_resource type="DayConfig" uid="uid://d30pwvrr7m72j" path="res://Resources/Day_Day1.tres" id="2_8gbba"]
|
|
[ext_resource type="SoundBank" uid="uid://b8ouri8tqw8vp" path="res://Resources/SoundBank.tres" id="2_21xkr"]
|
|
[ext_resource type="HazardDef" uid="uid://pgmnp6ev1ark" path="res://Resources/Hazard_GymBro.tres" id="3_kry3j"]
|
|
[ext_resource type="PackedScene" uid="uid://bg4uaukekjbx" path="res://Scenes/main_menu.tscn" id="4_6bp64"]
|
|
[ext_resource type="PackedScene" uid="uid://bqxc62tofqger" path="res://Objects/hazard_animated.tscn" id="4_21xkr"]
|
|
|
|
[sub_resource type="Curve" id="Curve_bo1nx"]
|
|
_data = [Vector2(0, 0), 0.0, 1.4, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="TunnelConfig" id="TunnelConfig_8gbba"]
|
|
max_tunnel_intensity = 0.7
|
|
vision_curve = SubResource("Curve_bo1nx")
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bo1nx"]
|
|
shader = ExtResource("1_jjgbg")
|
|
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="PlayerInputSystem" type="PlayerInputSystem" parent="Systems"]
|
|
game_state = ExtResource("1_bo1nx")
|
|
|
|
[node name="TunnelSystem" type="TunnelSystem" parent="Systems" node_paths=PackedStringArray("vignette_overlay")]
|
|
game_state = ExtResource("1_bo1nx")
|
|
config = SubResource("TunnelConfig_8gbba")
|
|
vignette_overlay = NodePath("../../Ui/Vignette")
|
|
|
|
[node name="SoundManager" type="SoundManager" parent="Systems"]
|
|
bank = ExtResource("2_21xkr")
|
|
game_state = ExtResource("1_bo1nx")
|
|
|
|
[node name="GameManager" type="GameManager" parent="Systems" node_paths=PackedStringArray("hazard_system", "minigame_container", "win_screen", "lose_screen")]
|
|
days = Array[DayConfig]([ExtResource("2_8gbba")])
|
|
game_state = ExtResource("1_bo1nx")
|
|
hazard_system = NodePath("../HazardSystem")
|
|
minigame_container = NodePath("../../GameContainer")
|
|
win_screen = NodePath("../../Ui/Win")
|
|
lose_screen = NodePath("../../Ui/Lose")
|
|
main_menu_scene = ExtResource("4_6bp64")
|
|
|
|
[node name="CameraShakeSystem" type="CameraShakeSystem" parent="Systems" node_paths=PackedStringArray("camera")]
|
|
camera = NodePath("../../Camera2D")
|
|
game_state = ExtResource("1_bo1nx")
|
|
min_focus_for_shake = 0.7
|
|
|
|
[node name="HazardSystem" type="HazardSystem" parent="Systems" node_paths=PackedStringArray("spawn_locations")]
|
|
possible_hazards = Array[HazardDef]([ExtResource("3_kry3j")])
|
|
spawn_locations = [NodePath("../../HazardSpots/Right"), NodePath("../../HazardSpots/Left")]
|
|
hazard_prefab = ExtResource("4_21xkr")
|
|
game_state = ExtResource("1_bo1nx")
|
|
|
|
[node name="GameContainer" type="Node" parent="."]
|
|
|
|
[node name="HazardSpots" type="Node2D" parent="."]
|
|
|
|
[node name="Right" type="Marker2D" parent="HazardSpots"]
|
|
position = Vector2(502, 0)
|
|
|
|
[node name="Left" type="Marker2D" parent="HazardSpots"]
|
|
position = Vector2(-500, 0)
|
|
|
|
[node name="Ui" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Vignette" type="ColorRect" parent="Ui"]
|
|
material = SubResource("ShaderMaterial_bo1nx")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="LiftProgressBar" type="LiftProgressBar" parent="Ui"]
|
|
game_state = ExtResource("1_bo1nx")
|
|
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
|
|
|
|
[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 = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -11.5
|
|
offset_right = 20.0
|
|
offset_bottom = 11.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_font_sizes/font_size = 72
|
|
text = "Light Weight"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
uppercase = true
|
|
|
|
[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 = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -11.5
|
|
offset_right = 20.0
|
|
offset_bottom = 11.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_font_sizes/font_size = 72
|
|
text = "Failure"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
uppercase = true
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|