Implemented spawn points correctly. Added saving & loading (currently only implemented with the spawn_index). You can now set spawn indicies in the DynamicAreaLoader to automatically load when the game is set to that value (on ready). Added configuration warnings to DynamicAreaLoader & PlayerSpawnPoint Added some generic translation (pot) files. Added AudioManager autoload to play, stop, fade audio streams (and set the bus directly). Added SceneFader autoload. Added SaveManager autoload. Added OptionsMenu with currently only volume sliders and a fullscreen toggle button. Added PauseMenu
84 lines
3.6 KiB
Plaintext
84 lines
3.6 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://s7cw6ulb7kh7"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://clhy3kiceqf2o" path="res://components/characters/player/player_character.tscn" id="1_80nbo"]
|
|
[ext_resource type="Script" uid="uid://dbsjg3o61vuji" path="res://game.gd" id="1_fc0e3"]
|
|
[ext_resource type="Environment" uid="uid://xe70va0pjc6c" path="res://resources/game_environment.tres" id="2_7jktm"]
|
|
[ext_resource type="Script" uid="uid://3hlvt5k34xva" path="res://components/general/player_spawn_point.gd" id="2_e2o6t"]
|
|
[ext_resource type="PackedScene" uid="uid://dawmen0hlfaaq" path="res://components/ui/menus/pause_menu/pause_menu.tscn" id="3_feb5d"]
|
|
[ext_resource type="PackedScene" uid="uid://c0jearfhlqcvr" path="res://components/hazards/saw/saw.tscn" id="5_ryrav"]
|
|
|
|
[node name="Game" type="Node"]
|
|
script = ExtResource("1_fc0e3")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = ExtResource("2_7jktm")
|
|
|
|
[node name="PlayerCharacter" parent="." instance=ExtResource("1_80nbo")]
|
|
|
|
[node name="Menus" type="CanvasLayer" parent="."]
|
|
|
|
[node name="PauseMenu" parent="Menus" instance=ExtResource("3_feb5d")]
|
|
|
|
[node name="Areas" type="Node" parent="."]
|
|
|
|
[node name="IntroArea" type="Node3D" parent="Areas"]
|
|
|
|
[node name="Blockout" type="CSGCombiner3D" parent="Areas/IntroArea"]
|
|
use_collision = true
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="Areas/IntroArea/Blockout"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -4.5)
|
|
size = Vector3(5, 4, 12)
|
|
|
|
[node name="CSGBox3D3" type="CSGBox3D" parent="Areas/IntroArea/Blockout/CSGBox3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.5)
|
|
operation = 2
|
|
size = Vector3(4, 3, 12)
|
|
|
|
[node name="CSGBox3D2" type="CSGBox3D" parent="Areas/IntroArea/Blockout"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7, -22)
|
|
size = Vector3(32, 15, 27)
|
|
|
|
[node name="CSGBox3D3" type="CSGBox3D" parent="Areas/IntroArea/Blockout/CSGBox3D2"]
|
|
operation = 2
|
|
size = Vector3(31, 14, 25)
|
|
|
|
[node name="CSGBox3D4" type="CSGBox3D" parent="Areas/IntroArea/Blockout/CSGBox3D2"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5.5, 12.25)
|
|
operation = 2
|
|
size = Vector3(4, 3, 2.5)
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="Areas/IntroArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, -24)
|
|
omni_range = 20.0
|
|
|
|
[node name="Saw" parent="Areas/IntroArea" instance=ExtResource("5_ryrav")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0.5, -25)
|
|
|
|
[node name="Saw2" parent="Areas/IntroArea" instance=ExtResource("5_ryrav")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.2, 0.5, -25)
|
|
|
|
[node name="Saw3" parent="Areas/IntroArea" instance=ExtResource("5_ryrav")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.4, 0.5, -25)
|
|
|
|
[node name="Saw4" parent="Areas/IntroArea" instance=ExtResource("5_ryrav")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.6, 0.5, -25)
|
|
|
|
[node name="Saw5" parent="Areas/IntroArea" instance=ExtResource("5_ryrav")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.8, 0.5, -25)
|
|
|
|
[node name="Saw6" parent="Areas/IntroArea" instance=ExtResource("5_ryrav")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 1, 0.5, -25)
|
|
|
|
[node name="SpawnPoints" type="Node" parent="."]
|
|
|
|
[node name="PlayerSpawnPoint" type="Marker3D" parent="SpawnPoints"]
|
|
script = ExtResource("2_e2o6t")
|
|
metadata/_custom_type_script = "uid://3hlvt5k34xva"
|
|
|
|
[node name="PlayerSpawnPoint2" type="Marker3D" parent="SpawnPoints"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -15)
|
|
script = ExtResource("2_e2o6t")
|
|
spawn_index = 1
|
|
metadata/_custom_type_script = "uid://3hlvt5k34xva"
|