started working on linear levels for demo
This commit is contained in:
BIN
FX_CloudAlpha02.png
Normal file
BIN
FX_CloudAlpha02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
35
FX_CloudAlpha02.png.import
Normal file
35
FX_CloudAlpha02.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://elenvf2ubqfw"
|
||||||
|
path.s3tc="res://.godot/imported/FX_CloudAlpha02.png-0967462c32312bef5563f3774394b2f1.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://FX_CloudAlpha02.png"
|
||||||
|
dest_files=["res://.godot/imported/FX_CloudAlpha02.png-0967462c32312bef5563f3774394b2f1.s3tc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
levels/Restaurant.blend
Normal file
BIN
levels/Restaurant.blend
Normal file
Binary file not shown.
68
levels/Restaurant.blend.import
Normal file
68
levels/Restaurant.blend.import
Normal 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
BIN
levels/Restaurant.blend1
Normal file
Binary file not shown.
@@ -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="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="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://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"]
|
[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"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_4andu"]
|
||||||
size = Vector3(5.505, 7.07, 1.35)
|
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")
|
script = ExtResource("1_jjeos")
|
||||||
player = NodePath("Player")
|
|
||||||
gun_1 = ExtResource("2_7dd4i")
|
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
environment = SubResource("Environment_ro14g")
|
environment = SubResource("Environment_ro14g")
|
||||||
@@ -413,7 +410,7 @@ shape = SubResource("ConvexPolygonShape3D_ep0aj")
|
|||||||
|
|
||||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Door1/Door"]
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Door1/Door"]
|
||||||
libraries = {
|
libraries = {
|
||||||
"": SubResource("AnimationLibrary_66q6k")
|
&"": SubResource("AnimationLibrary_66q6k")
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="switch" parent="Door1" groups=["interact"] instance=ExtResource("10_lktr8")]
|
[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"]
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Door2/Door"]
|
||||||
libraries = {
|
libraries = {
|
||||||
"": SubResource("AnimationLibrary_pobrj")
|
&"": SubResource("AnimationLibrary_pobrj")
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="InteractArea" type="Area3D" parent="Door2/Door" groups=["interact"]]
|
[node name="InteractArea" type="Area3D" parent="Door2/Door" groups=["interact"]]
|
||||||
|
|||||||
BIN
levels/restaurant1.VoxelGI_data.res
Normal file
BIN
levels/restaurant1.VoxelGI_data.res
Normal file
Binary file not shown.
52
levels/restaurant1.tscn
Normal file
52
levels/restaurant1.tscn
Normal 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)
|
||||||
@@ -12,7 +12,7 @@ config_version=5
|
|||||||
|
|
||||||
config/name="First Person Test"
|
config/name="First Person Test"
|
||||||
config/tags=PackedStringArray("fps")
|
config/tags=PackedStringArray("fps")
|
||||||
run/main_scene="uid://f7e0v1r6ra6c"
|
run/main_scene="uid://br5eo7d1ttenb"
|
||||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||||
config/icon="uid://6svuq1l83al5"
|
config/icon="uid://6svuq1l83al5"
|
||||||
|
|
||||||
|
|||||||
BIN
reference images/7c9b7420711577.562efdfccb641.webp
Normal file
BIN
reference images/7c9b7420711577.562efdfccb641.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
34
reference images/7c9b7420711577.562efdfccb641.webp.import
Normal file
34
reference images/7c9b7420711577.562efdfccb641.webp.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ddmkxfj40i700"
|
||||||
|
path="res://.godot/imported/7c9b7420711577.562efdfccb641.webp-4bc2066d0e25f02ffd982739b359f15a.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://reference images/7c9b7420711577.562efdfccb641.webp"
|
||||||
|
dest_files=["res://.godot/imported/7c9b7420711577.562efdfccb641.webp-4bc2066d0e25f02ffd982739b359f15a.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
@@ -142,8 +142,6 @@ var controlled_elsewhere = false
|
|||||||
@onready var clamber_max_ray: RayCast3D = $ClamberMaxRay
|
@onready var clamber_max_ray: RayCast3D = $ClamberMaxRay
|
||||||
@onready var clamber_check_ray: RayCast3D = $ClamberCheckRay
|
@onready var clamber_check_ray: RayCast3D = $ClamberCheckRay
|
||||||
@onready var clamber_point_ray: RayCast3D = $ClamberPointRay
|
@onready var clamber_point_ray: RayCast3D = $ClamberPointRay
|
||||||
@onready var ledge_l_ray: RayCast3D = $LedgeLRay
|
|
||||||
@onready var ledge_r_ray: RayCast3D = $LedgeRRay
|
|
||||||
@onready var ledge_collision: CollisionShape3D = $LedgeCollision
|
@onready var ledge_collision: CollisionShape3D = $LedgeCollision
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user