started working on linear levels for demo

This commit is contained in:
derek
2025-07-14 11:34:56 -05:00
parent 2301ba149d
commit c3d028f556
16 changed files with 207 additions and 38 deletions

BIN
levels/Restaurant.blend Normal file

Binary file not shown.

View File

@@ -0,0 +1,68 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://be3j4isp6stxj"
path="res://.godot/imported/Restaurant.blend-d2db49f082ec0e03762979f0049214fe.scn"
[deps]
source_file="res://levels/Restaurant.blend"
dest_files=["res://.godot/imported/Restaurant.blend-d2db49f082ec0e03762979f0049214fe.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={
"materials": {
"Ceilinglight": {
"use_external/enabled": true,
"use_external/path": "uid://c2vqpce65a4qv"
},
"Walls1": {
"use_external/enabled": true,
"use_external/path": "uid://o5nsj4glt0wa"
},
"floortile": {
"use_external/enabled": true,
"use_external/path": "uid://cpxg4h7dj4xdd"
}
}
}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/colors=false
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/export_geometry_nodes_instances=false
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true

BIN
levels/Restaurant.blend1 Normal file

Binary file not shown.

View File

@@ -1,7 +1,6 @@
[gd_scene load_steps=47 format=4 uid="uid://ddyfy6iosbgsj"]
[gd_scene load_steps=46 format=4 uid="uid://ddyfy6iosbgsj"]
[ext_resource type="Script" uid="uid://bkii8jwf0k7tq" 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="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"]
@@ -341,10 +340,8 @@ _data = {
[sub_resource type="BoxShape3D" id="BoxShape3D_4andu"]
size = Vector3(5.505, 7.07, 1.35)
[node name="Blockout3" type="Node3D" node_paths=PackedStringArray("player")]
[node name="Blockout3" type="Node3D"]
script = ExtResource("1_jjeos")
player = NodePath("Player")
gun_1 = ExtResource("2_7dd4i")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ro14g")
@@ -413,7 +410,7 @@ shape = SubResource("ConvexPolygonShape3D_ep0aj")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Door1/Door"]
libraries = {
"": SubResource("AnimationLibrary_66q6k")
&"": SubResource("AnimationLibrary_66q6k")
}
[node name="switch" parent="Door1" groups=["interact"] instance=ExtResource("10_lktr8")]
@@ -496,7 +493,7 @@ skeleton = NodePath("../..")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Door2/Door"]
libraries = {
"": SubResource("AnimationLibrary_pobrj")
&"": SubResource("AnimationLibrary_pobrj")
}
[node name="InteractArea" type="Area3D" parent="Door2/Door" groups=["interact"]]

Binary file not shown.

52
levels/restaurant1.tscn Normal file
View File

@@ -0,0 +1,52 @@
[gd_scene load_steps=8 format=3 uid="uid://br5eo7d1ttenb"]
[ext_resource type="PackedScene" uid="uid://be3j4isp6stxj" path="res://levels/Restaurant.blend" id="1_namj3"]
[ext_resource type="Script" uid="uid://bkii8jwf0k7tq" path="res://scripts/LevelManager.gd" id="1_wjlww"]
[ext_resource type="VoxelGIData" uid="uid://bgy5cy3old5ck" path="res://levels/restaurant1.VoxelGI_data.res" id="3_y1csj"]
[ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="4_3b4a6"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_asv3s"]
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
energy_multiplier = 0.0
[sub_resource type="Sky" id="Sky_l66j6"]
sky_material = SubResource("ProceduralSkyMaterial_asv3s")
[sub_resource type="Environment" id="Environment_wjlww"]
background_mode = 2
sky = SubResource("Sky_l66j6")
tonemap_mode = 2
ssao_enabled = true
ssil_enabled = true
sdfgi_enabled = true
glow_enabled = true
glow_blend_mode = 1
volumetric_fog_enabled = true
volumetric_fog_density = 0.01
[node name="Restaurant" type="Node3D"]
script = ExtResource("1_wjlww")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_wjlww")
[node name="Restaurant" parent="." instance=ExtResource("1_namj3")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.89038, 3.12024, 0.644226)
[node name="OmniLight3D2" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.89038, 3.12024, 8.64712)
[node name="OmniLight3D3" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.16657, 3.12024, 8.64712)
[node name="VoxelGI" type="VoxelGI" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.89038, 3.12024, 0.644226)
size = Vector3(27.7808, 7.54224, 33.1761)
data = ExtResource("3_y1csj")
[node name="Player" parent="." instance=ExtResource("4_3b4a6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.41088, 12.4276)