tweaks to controller and savegames are stored by level

This commit is contained in:
Derek
2024-12-09 22:49:44 -06:00
parent 7ed9d2a774
commit 0ec82d84aa
10 changed files with 73 additions and 25 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,8 +1,7 @@
[gd_scene load_steps=48 format=4 uid="uid://ddyfy6iosbgsj"]
[gd_scene load_steps=47 format=4 uid="uid://ddyfy6iosbgsj"]
[ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_jjeos"]
[ext_resource type="PackedScene" uid="uid://b5eclfg0cmmal" path="res://assets/revolver_1.tscn" id="2_7dd4i"]
[ext_resource type="PackedScene" uid="uid://brl0bsqjl5dg3" path="res://assets/mac_10.tscn" id="3_i5y5k"]
[ext_resource type="LightmapGIData" uid="uid://boq5kgy4vhxxw" path="res://levels/blockout_3.lmbake" id="4_hwpk3"]
[ext_resource type="Material" uid="uid://b6hhomp4kcjvb" path="res://assets/materials/prototype/tadaoando.tres" id="4_oo277"]
[ext_resource type="Material" uid="uid://isd7ca2ymvs8" path="res://assets/materials/prototype/CeilingLight.tres" id="5_76d5c"]
@@ -346,7 +345,6 @@ size = Vector3(5.505, 7.07, 1.35)
script = ExtResource("1_jjeos")
player = NodePath("Player")
gun_1 = ExtResource("2_7dd4i")
gun_2 = ExtResource("3_i5y5k")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ro14g")
@@ -354,7 +352,6 @@ camera_attributes = SubResource("CameraAttributesPractical_23vvh")
[node name="Player" parent="." instance=ExtResource("6_m8xxf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.281984, 28.8469, 30.8246)
AUDIO = false
[node name="LightmapGI" type="LightmapGI" parent="."]
quality = 3
@@ -511,7 +508,16 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.38419e-07, -1.90735e-06)
shape = SubResource("BoxShape3D_4andu")
[node name="Tree1" parent="." instance=ExtResource("20_2qgoy")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -0.668062, -0.93, 0.265823)
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, -0.668062, -0.93, 0.265823)
[node name="SpotLight3D" type="SpotLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -2.7933, 45.8303, 4.27025)
light_energy = 11.83
light_bake_mode = 1
shadow_enabled = true
spot_range = 54.245
spot_attenuation = 0.2
spot_angle = 27.1
[connection signal="switch_hit" from="Door1/switch/StaticBody3D" to="Door1/switch" method="_on_static_body_3d_switch_hit"]
[connection signal="switch_hit" from="Door1/switch2/StaticBody3D" to="Door1/switch2" method="_on_static_body_3d_switch_hit"]