feat: developing the visual identity of the game

This commit is contained in:
Sara Gerretsen 2026-05-13 16:24:36 +02:00
parent 682d2c9533
commit cf21edb738
28 changed files with 16995 additions and 37 deletions

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,30 @@
[gd_scene format=3 uid="uid://c1g1vy67lf550"]
[ext_resource type="PackedScene" uid="uid://t3vyihwed4ko" path="res://assets/character/player/player.blend" id="1_1oybq"]
[ext_resource type="Material" uid="uid://4jw7ckdluil6" path="res://assets/character/player/player_body.tres" id="2_0o6ap"]
[ext_resource type="PackedScene" uid="uid://b6vnp6u3i5u47" path="res://objects/effects/kaleidoscope_omni_projector.tscn" id="3_c6tah"]
[node name="PlayerModel" unique_id=1710695753 instance=ExtResource("1_1oybq")]
[node name="HumanArmature" parent="." index="0" unique_id=28369906]
[node name="HumanArmature" parent="." index="0" unique_id=1041438227]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
[node name="BlankCharacterMesh_003" parent="HumanArmature/Skeleton3D" parent_id_path=PackedInt32Array(2120577038) index="0" unique_id=996568988]
layers = 2
material_override = ExtResource("2_0o6ap")
[node name="BoneAttachment3D" type="BoneAttachment3D" parent="HumanArmature/Skeleton3D" parent_id_path=PackedInt32Array(2120577038) index="1" unique_id=953622118]
transform = Transform3D(-0.43670923, -0.2342398, 0.8685712, 0.58769214, -0.8052855, 0.07831342, 0.6811039, 0.5446529, 0.48933658, 0.27654913, 1.1532913, -0.11448075)
bone_name = "lower.arm.l"
bone_idx = 8
[node name="OmniLight3D" parent="HumanArmature/Skeleton3D/BoneAttachment3D" index="0" unique_id=388804586 instance=ExtResource("3_c6tah")]
visible = false
[node name="BoneAttachment3D2" type="BoneAttachment3D" parent="HumanArmature/Skeleton3D" parent_id_path=PackedInt32Array(2120577038) index="2" unique_id=438311526]
transform = Transform3D(-0.28352258, 0.08499061, -0.9551916, -0.47142142, -0.87975025, 0.06165074, -0.83509046, 0.46777722, 0.2894955, -0.24930736, 1.1615275, -0.16366436)
bone_name = "lower.arm.r"
bone_idx = 28
[node name="OmniLight3D" parent="HumanArmature/Skeleton3D/BoneAttachment3D2" index="0" unique_id=1898305433 instance=ExtResource("3_c6tah")]
visible = false

View file

@ -0,0 +1,29 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://4jw7ckdluil6"]
[ext_resource type="Texture2D" uid="uid://ddaso2y8ooove" path="res://assets/materials/kaleidoscope_mosaic_albedo.png" id="1_3wsv7"]
[ext_resource type="Texture2D" uid="uid://34f1swwafqoa" path="res://assets/materials/kaleidoscope_mosaic_emission.png" id="2_7ylji"]
[ext_resource type="Texture2D" uid="uid://b0yi45ldkax5s" path="res://assets/materials/kaleidoscope_mosaic_heightmap.png" id="3_cd41l"]
[ext_resource type="Texture2D" uid="uid://dwskfat6ut10d" path="res://assets/materials/kaleidoscope_mosaic_normal.png" id="4_8bxh1"]
[ext_resource type="Texture2D" uid="uid://bvjdobdajaloq" path="res://assets/materials/kaleidoscope_mosaic_orm.png" id="4_kwxth"]
[ext_resource type="Material" uid="uid://drtkue0sg42tu" path="res://assets/character/player/skin.tres" id="4_o3a35"]
[resource]
render_priority = -1
next_pass = ExtResource("4_o3a35")
albedo_texture = ExtResource("1_3wsv7")
metallic = 1.0
metallic_texture = ExtResource("4_kwxth")
metallic_texture_channel = 2
roughness = 0.19
emission_enabled = true
emission_energy_multiplier = 0.03
emission_texture = ExtResource("2_7ylji")
normal_enabled = true
normal_texture = ExtResource("4_8bxh1")
heightmap_enabled = true
heightmap_scale = 25.0
heightmap_deep_parallax = true
heightmap_min_layers = 8
heightmap_max_layers = 32
heightmap_texture = ExtResource("3_cd41l")
uv1_scale = Vector3(8.64, 8.64, 8.64)

BIN
project/assets/character/player/player_skin.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dd2iq84g8eup2"
path="res://.godot/imported/player_skin.png-043e79a7f2f6862d71416e2d9b3b148c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/character/player/player_skin.png"
dest_files=["res://.godot/imported/player_skin.png-043e79a7f2f6862d71416e2d9b3b148c.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

View file

@ -0,0 +1,28 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://drtkue0sg42tu"]
[ext_resource type="Texture2D" uid="uid://dd2iq84g8eup2" path="res://assets/character/player/player_skin.png" id="1_bgydp"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bgydp"]
render_priority = 1
transparency = 1
cull_mode = 1
shading_mode = 0
albedo_color = Color(0, 0, 0, 1)
grow = true
grow_amount = 0.01
stencil_mode = 3
stencil_flags = 1
stencil_compare = 5
metadata/_stencil_owned = true
[resource]
next_pass = SubResource("StandardMaterial3D_bgydp")
transparency = 2
alpha_scissor_threshold = 0.212
alpha_antialiasing_mode = 2
alpha_antialiasing_edge = 0.3
diffuse_mode = 3
albedo_texture = ExtResource("1_bgydp")
roughness = 0.0
stencil_mode = 1
stencil_flags = 2

View file

@ -0,0 +1,22 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://c5si8tfw024di"]
[ext_resource type="Texture2D" uid="uid://ddaso2y8ooove" path="res://assets/materials/kaleidoscope_mosaic_albedo.png" id="1"]
[ext_resource type="Texture2D" uid="uid://dwskfat6ut10d" path="res://assets/materials/kaleidoscope_mosaic_normal.png" id="3"]
[ext_resource type="Texture2D" uid="uid://b0yi45ldkax5s" path="res://assets/materials/kaleidoscope_mosaic_heightmap.png" id="4"]
[ext_resource type="Texture2D" uid="uid://34f1swwafqoa" path="res://assets/materials/kaleidoscope_mosaic_emission.png" id="5"]
[resource]
albedo_texture = ExtResource("1")
metallic = 1.0
roughness = 0.19
emission_enabled = true
emission_energy_multiplier = 0.03
emission_texture = ExtResource("5")
normal_enabled = true
normal_texture = ExtResource("3")
heightmap_enabled = true
heightmap_scale = 25.0
heightmap_deep_parallax = true
heightmap_min_layers = 8
heightmap_max_layers = 32
heightmap_texture = ExtResource("4")

BIN
project/assets/materials/kaleidoscope_mosaic_albedo.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ddaso2y8ooove"
path.s3tc="res://.godot/imported/kaleidoscope_mosaic_albedo.png-3d397454b78fd11766d709887bb9a52e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/materials/kaleidoscope_mosaic_albedo.png"
dest_files=["res://.godot/imported/kaleidoscope_mosaic_albedo.png-3d397454b78fd11766d709887bb9a52e.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

BIN
project/assets/materials/kaleidoscope_mosaic_emission.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://34f1swwafqoa"
path.s3tc="res://.godot/imported/kaleidoscope_mosaic_emission.png-4fc8fff7313c7fe7c675d4a23672370e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/materials/kaleidoscope_mosaic_emission.png"
dest_files=["res://.godot/imported/kaleidoscope_mosaic_emission.png-4fc8fff7313c7fe7c675d4a23672370e.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

BIN
project/assets/materials/kaleidoscope_mosaic_heightmap.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b0yi45ldkax5s"
path.s3tc="res://.godot/imported/kaleidoscope_mosaic_heightmap.png-df7de51c4af19cd25dd4e798016b6729.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/materials/kaleidoscope_mosaic_heightmap.png"
dest_files=["res://.godot/imported/kaleidoscope_mosaic_heightmap.png-df7de51c4af19cd25dd4e798016b6729.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=7
roughness/src_normal="res://assets/materials/kaleidoscope_mosaic_normal.png"
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

BIN
project/assets/materials/kaleidoscope_mosaic_normal.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dwskfat6ut10d"
path.s3tc="res://.godot/imported/kaleidoscope_mosaic_normal.png-b2a7e82f9c5a7844da4c41a7168413e4.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/materials/kaleidoscope_mosaic_normal.png"
dest_files=["res://.godot/imported/kaleidoscope_mosaic_normal.png-b2a7e82f9c5a7844da4c41a7168413e4.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://assets/materials/kaleidoscope_mosaic_normal.png"
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

BIN
project/assets/materials/kaleidoscope_mosaic_orm.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bvjdobdajaloq"
path.s3tc="res://.godot/imported/kaleidoscope_mosaic_orm.png-5039db2b9e38d1f87c791214e05ac243.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/materials/kaleidoscope_mosaic_orm.png"
dest_files=["res://.godot/imported/kaleidoscope_mosaic_orm.png-5039db2b9e38d1f87c791214e05ac243.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=8
roughness/src_normal="res://assets/materials/kaleidoscope_mosaic_normal.png"
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

View file

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://c6uf0ckexrkxk"]
[ext_resource type="Texture2D" uid="uid://cwqjqtxp8hwxs" path="res://assets/test_materials/textures/Green/texture_01.png" id="1_os1b1"]
[ext_resource type="Texture2D" uid="uid://b0upds1s0qy3i" path="res://assets/test_materials/textures/Light/texture_07.png" id="1_os1b1"]
[resource]
albedo_texture = ExtResource("1_os1b1")

View file

@ -1,7 +1,8 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://diprpexdcxpja"]
[ext_resource type="Texture2D" uid="uid://cfmlyyhylu84m" path="res://assets/test_materials/textures/Red/texture_01.png" id="1_67vah"]
[ext_resource type="Texture2D" uid="uid://bs16xbmqmqdad" path="res://assets/test_materials/textures/Light/texture_03.png" id="1_67vah"]
[resource]
albedo_color = Color(0.5649617, 0.5649616, 0.5649616, 1)
albedo_texture = ExtResource("1_67vah")
uv1_triplanar = true

View file

@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://bs16xbmqmqdad"
path="res://.godot/imported/texture_03.png-376a730a337b5297e6913ad1dfd6d799.ctex"
path.s3tc="res://.godot/imported/texture_03.png-376a730a337b5297e6913ad1dfd6d799.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/test_materials/textures/Light/texture_03.png"
dest_files=["res://.godot/imported/texture_03.png-376a730a337b5297e6913ad1dfd6d799.ctex"]
dest_files=["res://.godot/imported/texture_03.png-376a730a337b5297e6913ad1dfd6d799.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@ -37,4 +38,4 @@ 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
detect_3d/compress_to=0

View file

@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://b0upds1s0qy3i"
path="res://.godot/imported/texture_07.png-a062d607f6fc361dbde3075cfec7f024.ctex"
path.s3tc="res://.godot/imported/texture_07.png-a062d607f6fc361dbde3075cfec7f024.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/test_materials/textures/Light/texture_07.png"
dest_files=["res://.godot/imported/texture_07.png-a062d607f6fc361dbde3075cfec7f024.ctex"]
dest_files=["res://.godot/imported/texture_07.png-a062d607f6fc361dbde3075cfec7f024.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@ -37,4 +38,4 @@ 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
detect_3d/compress_to=0

View file

@ -1,3 +1,63 @@
[gd_scene format=3 uid="uid://c8lrrlkhctu75"]
[ext_resource type="Material" uid="uid://diprpexdcxpja" path="res://assets/test_materials/materials/test_material_red.tres" id="1_pys30"]
[ext_resource type="Material" uid="uid://c6uf0ckexrkxk" path="res://assets/test_materials/materials/test_material_green.tres" id="2_mrdo8"]
[ext_resource type="PackedScene" uid="uid://8t87iy0t0igo" path="res://objects/player.tscn" id="3_7ksv2"]
[ext_resource type="PackedScene" uid="uid://b6vnp6u3i5u47" path="res://objects/effects/kaleidoscope_omni_projector.tscn" id="4_x2n25"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_7ksv2"]
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
[sub_resource type="Sky" id="Sky_x2n25"]
sky_material = SubResource("ProceduralSkyMaterial_7ksv2")
[sub_resource type="Environment" id="Environment_64s6k"]
background_mode = 2
sky = SubResource("Sky_x2n25")
tonemap_mode = 2
glow_enabled = true
[node name="Core" type="Node3D" unique_id=1034984951]
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=270720542]
environment = SubResource("Environment_64s6k")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=2111401994]
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
shadow_enabled = true
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1175188261]
use_collision = true
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=630742958]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9033203, 1.881854, -0.17913818)
size = Vector3(6.9697266, 3.7343044, 8.668945)
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1638629808]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.88183594, 1.7865148, -0.15673828)
operation = 2
size = Vector3(6.7851563, 3.5671387, 8.388672)
material = ExtResource("1_pys30")
[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1851629063]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5299485, 1.1862035, -4.3951926)
operation = 2
size = Vector3(1.1953125, 2.366516, 0.7294922)
material = ExtResource("1_pys30")
[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D" unique_id=448865471]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.89553833, -0.015258789, -0.16778564)
size = Vector3(6.9075317, 0.14282227, 8.670288)
material = ExtResource("2_mrdo8")
[node name="Player" parent="." unique_id=591139793 instance=ExtResource("3_7ksv2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0569975, 0)
[node name="OmniLight3D" parent="." unique_id=388804586 instance=ExtResource("4_x2n25")]
transform = Transform3D(0.6410673, 0.43229145, 0.6341584, -0.76748466, 0.36108595, 0.52970207, 0, -0.8262815, 0.56325746, 0, 2.5504265, 0)
light_energy = 0.075
light_cull_mask = 4294967295
shadow_caster_mask = 4294967295
omni_range = 10.967
omni_attenuation = 0.385

View file

@ -2,6 +2,7 @@
[ext_resource type="PackedScene" uid="uid://8t87iy0t0igo" path="res://objects/player.tscn" id="1_ctiq7"]
[ext_resource type="Material" uid="uid://diprpexdcxpja" path="res://assets/test_materials/materials/test_material_red.tres" id="1_nlfnm"]
[ext_resource type="Material" uid="uid://c5si8tfw024di" path="res://assets/materials/kaleidoscope_mosaic.tres" id="2_hw6vf"]
[ext_resource type="Material" uid="uid://c6uf0ckexrkxk" path="res://assets/test_materials/materials/test_material_green.tres" id="2_x4mbn"]
[sub_resource type="GDScript" id="GDScript_x4mbn"]
@ -15,7 +16,6 @@ func _unhandled_input(event: InputEvent) -> void:
"
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ctiq7"]
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
[sub_resource type="Sky" id="Sky_nlfnm"]
@ -24,12 +24,21 @@ sky_material = SubResource("ProceduralSkyMaterial_ctiq7")
[sub_resource type="Environment" id="Environment_x4mbn"]
background_mode = 2
sky = SubResource("Sky_nlfnm")
ssao_enabled = true
ssao_radius = 0.4
ssao_intensity = 1.04
ssao_power = 5.621738
ssao_sharpness = 0.51
sdfgi_cascades = 1
sdfgi_min_cell_size = 0.8
sdfgi_y_scale = 0
sdfgi_energy = 1.1
glow_enabled = true
adjustment_enabled = true
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_hw6vf"]
auto_exposure_speed = 9.82
auto_exposure_min_sensitivity = 3.0
auto_exposure_max_sensitivity = 1000.0
[node name="TestRoom" type="Node3D" unique_id=112638301]
script = SubResource("GDScript_x4mbn")
@ -39,40 +48,46 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.071734905, 1.0063746, 5.297
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1908495879]
transform = Transform3D(-0.8341968, 0.47758433, -0.27573326, 5.6423783e-08, 0.4999999, 0.8660255, 0.5514667, 0.7224357, -0.4170983, 0, 1.434021, 4.157542)
shadow_enabled = true
shadow_bias = 0.056
shadow_opacity = 0.78
shadow_blur = 0.522
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1908998327]
environment = SubResource("Environment_x4mbn")
camera_attributes = SubResource("CameraAttributesPractical_hw6vf")
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=664068670]
material_overlay = ExtResource("1_nlfnm")
use_collision = true
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D" unique_id=191114692]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.991539, 2.9512854, -17.751625)
size = Vector3(11.383057, 23.959974, 31.818665)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D5" type="CSGBox3D" parent="CSGCombiner3D" unique_id=2074144829]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.985878, -0.106285095, -28.151665)
size = Vector3(11.271973, 18.138779, 52.59424)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D10" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1786873333]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.653528, 0.92398834, 1.5257759)
material_override = ExtResource("2_hw6vf")
size = Vector3(3.3828316, 2.1601563, 6.996826)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D11" type="CSGBox3D" parent="CSGCombiner3D" unique_id=394932180]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.6592455, 2.3439102, -43.909866)
size = Vector3(0.73794556, 5, 21.215439)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D" unique_id=2098568400]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.078620434, 0.34961605, -23.528507)
size = Vector3(7.533722, 17.305996, 4.536865)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D9" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1023898064]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.6830983, 4.1781054, -40.385952)
size = Vector3(2, 8.585564, 2)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D14" type="CSGBox3D" parent="CSGCombiner3D" unique_id=306043989]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 8.961569, 8.730846, -28.135025)
@ -82,24 +97,29 @@ material = ExtResource("2_x4mbn")
[node name="CSGBox3D30" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1234145919]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.858661, -1.9499207, -23.528507)
size = Vector3(1.864624, 12.706923, 0.8496094)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D20" type="CSGBox3D" parent="CSGCombiner3D" unique_id=332092224]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6967564, -2.68553, -23.528507)
operation = 2
size = Vector3(5.8767815, 10.87368, 5.795166)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D19" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1874001058]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.234858, 6.584762, -37.56486)
operation = 2
size = Vector3(7, 7.8739157, 33.867874)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D17" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1138974560]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.01117754, 8.460324, -33.44603)
size = Vector3(7.354126, 1.0828781, 15.911278)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.01117754, 8.460324, -33.85737)
size = Vector3(7.354126, 1.0828781, 16.73396)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D" unique_id=2113952448]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -5.486357, -4.5720077, -1.8097903)
size = Vector3(18.40221, 9.111989, 21.841692)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D15" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1997182185]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -5.392821, -0.3146298, -1.786389)
@ -117,7 +137,7 @@ size = Vector3(5.218512, 0.6420107, 4.210966)
material = ExtResource("2_x4mbn")
[node name="CSGBox3D27" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1573045647]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -5.9904985, 3.50139, -35.06688)
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -5.9904985, 4.720073, -37.07273)
size = Vector3(7.5529785, 0.17765355, 11.588734)
material = ExtResource("2_x4mbn")
@ -132,21 +152,24 @@ size = Vector3(11.229938, 0.59587574, 31.750126)
material = ExtResource("2_x4mbn")
[node name="CSGBox3D8" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1838759176]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0.03350285, 8.860284, -31.348833)
size = Vector3(7.36936, 0.33700037, 20.01178)
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0.033502813, 8.860284, -31.768679)
size = Vector3(7.36936, 0.33700037, 20.85147)
material = ExtResource("2_x4mbn")
[node name="CSGBox3D6" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1564599820]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 2.5166473, -4.492906, -43.914806)
size = Vector3(24.305954, 8.953786, 21.112314)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D24" type="CSGBox3D" parent="CSGCombiner3D" unique_id=877566912]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -3.8814046, -4.428776, -31.676651)
size = Vector3(5.4628997, 8.825525, 4.630616)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D26" type="CSGBox3D" parent="CSGCombiner3D" unique_id=780570957]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -5.8714023, 3.331369, -35.05903)
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -5.8714023, 4.550052, -37.06488)
size = Vector3(7.380766, 0.499228, 11.64978)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D28" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1486590753]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.6073493, 6.314084, -8.71521)
@ -157,10 +180,12 @@ material = ExtResource("2_x4mbn")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.2428513, -0.10077858, -23.528507)
operation = 2
size = Vector3(5.003441, 16.043182, 5.795166)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D29" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1161233408]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.6312003, 6.0177565, -8.717578)
size = Vector3(10.311796, 1.0698754, 13.683594)
material = ExtResource("1_nlfnm")
[node name="CSGBox3D13" type="CSGBox3D" parent="CSGCombiner3D" unique_id=2006282059]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0.8745491, -8.613188, -22.526043)

View file

@ -0,0 +1,26 @@
[gd_scene format=3 uid="uid://b6vnp6u3i5u47"]
[ext_resource type="Texture2D" uid="uid://ddaso2y8ooove" path="res://assets/materials/kaleidoscope_mosaic_albedo.png" id="1_61ws2"]
[sub_resource type="GDScript" id="GDScript_4vq5b"]
resource_name = "PlayerRefractor"
script/source = "extends OmniLight3D
@export var rotation_scale : float = 1.0
@export var offset : Vector3 = Vector3()
func _process(_delta : float):
rotation = global_position * rotation_scale
"
[node name="OmniLight3D" type="OmniLight3D" unique_id=388804586]
light_energy = 0.039
light_projector = ExtResource("1_61ws2")
light_specular = 16.0
light_cull_mask = 4294967293
shadow_enabled = true
shadow_caster_mask = 4294967293
omni_range = 10.644
omni_attenuation = 0.745
omni_shadow_mode = 0
script = SubResource("GDScript_4vq5b")

View file

@ -217,6 +217,7 @@ var wall_normal : Vector3
func _enter() -> int:
blackboard.anim.set(\"parameters/Ledge/request\", AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE)
blackboard.anim.set(\"parameters/Air/blend_amount\", 0.0)
wall_normal = body.get_wall_normal()
wall_normal = Vector3(wall_normal.x, 0, wall_normal.z).normalized()
blackboard.character.look_at(blackboard.character.global_position - wall_normal)
@ -244,8 +245,8 @@ resource_name = "PlayerLedgeClimbAnimation"
script/source = "extends PlayerAnimationAction
func _exit():
blackboard.anim.set(\"parameters/Air/blend_amount\", 0.0)
blackboard.anim.set(\"parameters/Wall/blend_amount\", 0.0)
blackboard.anim.set(\"parameters/Air/blend_amount\", 0.0)
blackboard.anim.set(\"parameters/Ledge/request\", AnimationNodeOneShot.ONE_SHOT_REQUEST_ABORT)
"
@ -290,18 +291,22 @@ script/source = "extends PlayerAction
@export var jump_normal_force : float
@export var jump_input_force : float
@export var jump_vertical_force : float
@export var min_run_time : float
var run_time : float = 0.0
func _enter() -> int:
var flat_velocity := Vector2(body.velocity.x, body.velocity.z)
var input_velocity_dot : float = blackboard.get_world_move_input().normalized().dot(body.velocity.normalized())
var ground_velocity := Vector3(body.velocity.x, 0, body.velocity.z)
if body.is_on_wall_only() and input_velocity_dot > 0.01 and ground_velocity.length() >= min_ground_speed and flat_velocity.length() > -body.velocity.y * 4.0:
if Input.is_action_just_pressed(\"jump\"):
if Input.is_action_just_pressed(\"jump\") and run_time > min_run_time:
var wall_flat := Vector3(body.get_wall_normal().x, 0, body.get_wall_normal().z)
body.velocity = wall_flat * jump_normal_force + (ground_velocity + blackboard.get_world_move_input()).normalized() * jump_input_force * ground_velocity.length()
body.velocity.y = max(0, body.velocity.y) + jump_vertical_force
blackboard.character.look_at(blackboard.character.global_position + ground_velocity)
else:
run_time += get_process_delta_time()
body.velocity *= 1 - drag
body.velocity += body.get_gravity() * get_process_delta_time() * gravity_scale
blackboard.character.look_at(blackboard.character.global_position + body.velocity)
@ -311,6 +316,7 @@ func _enter() -> int:
blackboard.anim.set(\"parameters/WallRunSide/blend_amount\", 0.0 if dot > 0 else 1.0)
return Success
else:
run_time = 0.0
return Fail
"
@ -318,8 +324,11 @@ func _enter() -> int:
resource_name = "FallingAction"
script/source = "extends PlayerAction
@export var drag : float = 0.001
func _enter() -> int:
if not body.is_on_floor():
body.velocity *= 1.0 - drag
body.velocity += body.get_gravity() * get_process_delta_time()
var look_direction := Vector3(blackboard.character.global_basis.z.x, 0, blackboard.character.global_basis.z.z)
blackboard.character.look_at(blackboard.character.global_position - look_direction)
@ -400,8 +409,8 @@ dist_mul = -0.508
[node name="Camera3D" type="PlayerCamera" parent="." unique_id=709217818]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.3841858e-07, 0.81082594, 1.2089427)
fov = 71.84121
target_distance = 4.0
fov = 96.8
target_distance = 3.077
[node name="PlayerBehaviourTree" type="PlayerBehaviourTree" parent="." unique_id=1439326326 node_paths=PackedStringArray("character")]
character = NodePath("../PlayerModel")
@ -439,23 +448,25 @@ jump_vertical_force = 6.0
[node name="WallRun" type="PlayerAction" parent="PlayerBehaviourTree/BehaviourRepeater/ActionSelector" unique_id=2090512639]
script = SubResource("GDScript_3rfka")
gravity_scale = 0.25
drag = 0.006
gravity_scale = 0.169
drag = 0.013
blend_in_time = 50.0
min_ground_speed = 5.0
jump_normal_force = 4.0
jump_input_force = 1.1
jump_input_force = 1.3
jump_vertical_force = 3.0
min_run_time = 0.05
[node name="Fall" type="PlayerAction" parent="PlayerBehaviourTree/BehaviourRepeater/ActionSelector" unique_id=570179125]
script = SubResource("GDScript_ykyjo")
drag = 0.003
[node name="Jump" type="PlayerAction" parent="PlayerBehaviourTree/BehaviourRepeater/ActionSelector" unique_id=553747039]
script = SubResource("GDScript_eqqp1")
vertical_jump_velocity = 5.0
[node name="Run" type="PlayerMovementAction" parent="PlayerBehaviourTree/BehaviourRepeater/ActionSelector" unique_id=2080183164]
target_speed = 10.0
target_speed = 12.0
acceleration = 25.0
deceleration = 30.0
script = SubResource("GDScript_bxedw")

View file

@ -78,6 +78,12 @@ run={
]
}
[layer_names]
3d_render/layer_1="General"
3d_render/layer_2="Player"
3d_render/layer_3="Environment"
[rendering]
lights_and_shadows/directional_shadow/size=8192