commit a061aff066c430c3b1199cee3212db54aa3b8c70 Author: vbernardi Date: Fri Jul 31 18:18:18 2026 +0200 init diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0af181c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Godot 4+ specific ignores +.godot/ +/android/ diff --git a/assets/audio/footsteps/dirt_step_1.wav b/assets/audio/footsteps/dirt_step_1.wav new file mode 100644 index 0000000..c08a92c Binary files /dev/null and b/assets/audio/footsteps/dirt_step_1.wav differ diff --git a/assets/audio/footsteps/dirt_step_1.wav.import b/assets/audio/footsteps/dirt_step_1.wav.import new file mode 100644 index 0000000..a0c320c --- /dev/null +++ b/assets/audio/footsteps/dirt_step_1.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://doxcrd4vctpcg" +path="res://.godot/imported/dirt_step_1.wav-c2e6c11fd0ce026d865a839cbb4cfad2.sample" + +[deps] + +source_file="res://assets/audio/footsteps/dirt_step_1.wav" +dest_files=["res://.godot/imported/dirt_step_1.wav-c2e6c11fd0ce026d865a839cbb4cfad2.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/assets/audio/footsteps/dirt_step_2.wav b/assets/audio/footsteps/dirt_step_2.wav new file mode 100644 index 0000000..11a183e Binary files /dev/null and b/assets/audio/footsteps/dirt_step_2.wav differ diff --git a/assets/audio/footsteps/dirt_step_2.wav.import b/assets/audio/footsteps/dirt_step_2.wav.import new file mode 100644 index 0000000..8ba70f7 --- /dev/null +++ b/assets/audio/footsteps/dirt_step_2.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://cq20rmy1kund0" +path="res://.godot/imported/dirt_step_2.wav-e5b4bc410bd44b81af3c7d19a307594d.sample" + +[deps] + +source_file="res://assets/audio/footsteps/dirt_step_2.wav" +dest_files=["res://.godot/imported/dirt_step_2.wav-e5b4bc410bd44b81af3c7d19a307594d.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/assets/audio/footsteps/dirt_step_3.wav b/assets/audio/footsteps/dirt_step_3.wav new file mode 100644 index 0000000..02600bf Binary files /dev/null and b/assets/audio/footsteps/dirt_step_3.wav differ diff --git a/assets/audio/footsteps/dirt_step_3.wav.import b/assets/audio/footsteps/dirt_step_3.wav.import new file mode 100644 index 0000000..cad12df --- /dev/null +++ b/assets/audio/footsteps/dirt_step_3.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://bi4a3w2hhe28f" +path="res://.godot/imported/dirt_step_3.wav-4fa59917fb357e42e6ab88a07baf56dc.sample" + +[deps] + +source_file="res://assets/audio/footsteps/dirt_step_3.wav" +dest_files=["res://.godot/imported/dirt_step_3.wav-4fa59917fb357e42e6ab88a07baf56dc.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/assets/audio/footsteps/dirt_step_4.wav b/assets/audio/footsteps/dirt_step_4.wav new file mode 100644 index 0000000..f86ab78 Binary files /dev/null and b/assets/audio/footsteps/dirt_step_4.wav differ diff --git a/assets/audio/footsteps/dirt_step_4.wav.import b/assets/audio/footsteps/dirt_step_4.wav.import new file mode 100644 index 0000000..c06f2f6 --- /dev/null +++ b/assets/audio/footsteps/dirt_step_4.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://bigavbg5tn72r" +path="res://.godot/imported/dirt_step_4.wav-63661cb66efa94b20188ba4c68d8f2c0.sample" + +[deps] + +source_file="res://assets/audio/footsteps/dirt_step_4.wav" +dest_files=["res://.godot/imported/dirt_step_4.wav-63661cb66efa94b20188ba4c68d8f2c0.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/assets/audio/trumpet_climb_v2.wav b/assets/audio/trumpet_climb_v2.wav new file mode 100644 index 0000000..efddcbe Binary files /dev/null and b/assets/audio/trumpet_climb_v2.wav differ diff --git a/assets/audio/trumpet_climb_v2.wav.import b/assets/audio/trumpet_climb_v2.wav.import new file mode 100644 index 0000000..02a450f --- /dev/null +++ b/assets/audio/trumpet_climb_v2.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://bns2y1pgep5lm" +path="res://.godot/imported/trumpet_climb_v2.wav-2619b199f29232b4cce1fc7402d711a2.sample" + +[deps] + +source_file="res://assets/audio/trumpet_climb_v2.wav" +dest_files=["res://.godot/imported/trumpet_climb_v2.wav-2619b199f29232b4cce1fc7402d711a2.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/assets/blender/bridge.glb b/assets/blender/bridge.glb new file mode 100644 index 0000000..ccb93ce Binary files /dev/null and b/assets/blender/bridge.glb differ diff --git a/assets/blender/bridge.glb.import b/assets/blender/bridge.glb.import new file mode 100644 index 0000000..094b72b --- /dev/null +++ b/assets/blender/bridge.glb.import @@ -0,0 +1,45 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://bh8vfparu1fi" +path="res://.godot/imported/bridge.glb-1b5281d3c7ab99ab027640ed583ad5cd.scn" + +[deps] + +source_file="res://assets/blender/bridge.glb" +dest_files=["res://.godot/imported/bridge.glb-1b5281d3c7ab99ab027640ed583ad5cd.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +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="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 +gltf/texture_map_mode=1 diff --git a/assets/blender/bridge_colormap.png b/assets/blender/bridge_colormap.png new file mode 100644 index 0000000..a20ad94 Binary files /dev/null and b/assets/blender/bridge_colormap.png differ diff --git a/assets/blender/bridge_colormap.png.import b/assets/blender/bridge_colormap.png.import new file mode 100644 index 0000000..30bbc9b --- /dev/null +++ b/assets/blender/bridge_colormap.png.import @@ -0,0 +1,44 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ccneyj3va7i3b" +path.s3tc="res://.godot/imported/bridge_colormap.png-3e7c6a184ef59149d4d9e62dc2d8ccdf.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "ba059759a6d1a5c00589abf403baad91" +} + +[deps] + +source_file="res://assets/blender/bridge_colormap.png" +dest_files=["res://.godot/imported/bridge_colormap.png-3e7c6a184ef59149d4d9e62dc2d8ccdf.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 diff --git a/assets/blender/house_bis.glb b/assets/blender/house_bis.glb new file mode 100644 index 0000000..98743f9 Binary files /dev/null and b/assets/blender/house_bis.glb differ diff --git a/assets/blender/house_bis.glb.import b/assets/blender/house_bis.glb.import new file mode 100644 index 0000000..2688ea5 --- /dev/null +++ b/assets/blender/house_bis.glb.import @@ -0,0 +1,45 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://61a3p5h35tkb" +path="res://.godot/imported/house_bis.glb-4473e82a3f6d425ecca3f6bce768f4e5.scn" + +[deps] + +source_file="res://assets/blender/house_bis.glb" +dest_files=["res://.godot/imported/house_bis.glb-4473e82a3f6d425ecca3f6bce768f4e5.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +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="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 +gltf/texture_map_mode=1 diff --git a/assets/blender/house_bis_texture.png b/assets/blender/house_bis_texture.png new file mode 100644 index 0000000..7b74a3a Binary files /dev/null and b/assets/blender/house_bis_texture.png differ diff --git a/assets/blender/house_bis_texture.png.import b/assets/blender/house_bis_texture.png.import new file mode 100644 index 0000000..9507988 --- /dev/null +++ b/assets/blender/house_bis_texture.png.import @@ -0,0 +1,44 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cyc06jgtt7s1d" +path.s3tc="res://.godot/imported/house_bis_texture.png-0377521f567555f90f2de0feee1ebd03.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "68d81a8edb488e6be281afae32c9fd94" +} + +[deps] + +source_file="res://assets/blender/house_bis_texture.png" +dest_files=["res://.godot/imported/house_bis_texture.png-0377521f567555f90f2de0feee1ebd03.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 diff --git a/assets/blender/mountains.glb b/assets/blender/mountains.glb new file mode 100644 index 0000000..6f6f1cf Binary files /dev/null and b/assets/blender/mountains.glb differ diff --git a/assets/blender/mountains.glb.import b/assets/blender/mountains.glb.import new file mode 100644 index 0000000..1cbc8b0 --- /dev/null +++ b/assets/blender/mountains.glb.import @@ -0,0 +1,45 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://dbj7lpj43ul8q" +path="res://.godot/imported/mountains.glb-dac6f49cf55e591a57da64248e10a7c1.scn" + +[deps] + +source_file="res://assets/blender/mountains.glb" +dest_files=["res://.godot/imported/mountains.glb-dac6f49cf55e591a57da64248e10a7c1.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +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="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 +gltf/texture_map_mode=1 diff --git a/assets/blender/mountains_Plane Base Color.png b/assets/blender/mountains_Plane Base Color.png new file mode 100644 index 0000000..968fa8a Binary files /dev/null and b/assets/blender/mountains_Plane Base Color.png differ diff --git a/assets/blender/mountains_Plane Base Color.png.import b/assets/blender/mountains_Plane Base Color.png.import new file mode 100644 index 0000000..ab84999 --- /dev/null +++ b/assets/blender/mountains_Plane Base Color.png.import @@ -0,0 +1,44 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://beiuo8gkdsb22" +path.s3tc="res://.godot/imported/mountains_Plane Base Color.png-bcc2971df1a7b34c3c36aa5587436b00.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "3559ba0cf6a9edea082f39b44de430ea" +} + +[deps] + +source_file="res://assets/blender/mountains_Plane Base Color.png" +dest_files=["res://.godot/imported/mountains_Plane Base Color.png-bcc2971df1a7b34c3c36aa5587436b00.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 diff --git a/assets/blender/mountainsbis.glb b/assets/blender/mountainsbis.glb new file mode 100644 index 0000000..e9e0408 Binary files /dev/null and b/assets/blender/mountainsbis.glb differ diff --git a/assets/blender/mountainsbis.glb.import b/assets/blender/mountainsbis.glb.import new file mode 100644 index 0000000..c3440df --- /dev/null +++ b/assets/blender/mountainsbis.glb.import @@ -0,0 +1,45 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://bql0h0h5nkgex" +path="res://.godot/imported/mountainsbis.glb-6d7d10c788c3f63195e4eb164660e23e.scn" + +[deps] + +source_file="res://assets/blender/mountainsbis.glb" +dest_files=["res://.godot/imported/mountainsbis.glb-6d7d10c788c3f63195e4eb164660e23e.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +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="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 +gltf/texture_map_mode=1 diff --git a/assets/blender/mountainsbis_Plane Base Color.png b/assets/blender/mountainsbis_Plane Base Color.png new file mode 100644 index 0000000..e461cbc Binary files /dev/null and b/assets/blender/mountainsbis_Plane Base Color.png differ diff --git a/assets/blender/mountainsbis_Plane Base Color.png.import b/assets/blender/mountainsbis_Plane Base Color.png.import new file mode 100644 index 0000000..0e288a4 --- /dev/null +++ b/assets/blender/mountainsbis_Plane Base Color.png.import @@ -0,0 +1,44 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://0u13ultgvuln" +path.s3tc="res://.godot/imported/mountainsbis_Plane Base Color.png-aa1d892ce2ebc549fb8213107e74236f.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "d7385ddb8e64ab3332b56b373a4b8b3a" +} + +[deps] + +source_file="res://assets/blender/mountainsbis_Plane Base Color.png" +dest_files=["res://.godot/imported/mountainsbis_Plane Base Color.png-aa1d892ce2ebc549fb8213107e74236f.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 diff --git a/assets/blender/player.glb b/assets/blender/player.glb new file mode 100644 index 0000000..8c76ee2 Binary files /dev/null and b/assets/blender/player.glb differ diff --git a/assets/blender/player.glb.import b/assets/blender/player.glb.import new file mode 100644 index 0000000..1b20507 --- /dev/null +++ b/assets/blender/player.glb.import @@ -0,0 +1,45 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cm68vgjltv8fo" +path="res://.godot/imported/player.glb-a8bd7c442b7ff974ddf55dc53a1988f2.scn" + +[deps] + +source_file="res://assets/blender/player.glb" +dest_files=["res://.godot/imported/player.glb-a8bd7c442b7ff974ddf55dc53a1988f2.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +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="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 +gltf/texture_map_mode=1 diff --git a/assets/blender/player_colormap.png b/assets/blender/player_colormap.png new file mode 100644 index 0000000..fddb472 Binary files /dev/null and b/assets/blender/player_colormap.png differ diff --git a/assets/blender/player_colormap.png.import b/assets/blender/player_colormap.png.import new file mode 100644 index 0000000..0322c50 --- /dev/null +++ b/assets/blender/player_colormap.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://byn0on3df1kxw" +path.s3tc="res://.godot/imported/player_colormap.png-a8c7515ffd0601278af550a3a6585160.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/blender/player_colormap.png" +dest_files=["res://.godot/imported/player_colormap.png-a8c7515ffd0601278af550a3a6585160.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 diff --git a/assets/blender/watermill.glb b/assets/blender/watermill.glb new file mode 100644 index 0000000..e41f983 Binary files /dev/null and b/assets/blender/watermill.glb differ diff --git a/assets/blender/watermill.glb.import b/assets/blender/watermill.glb.import new file mode 100644 index 0000000..80b9b3b --- /dev/null +++ b/assets/blender/watermill.glb.import @@ -0,0 +1,53 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cbs0co0x4nh7e" +path="res://.godot/imported/watermill.glb-9b463208b750de8b74fd7b78e38bcc35.scn" + +[deps] + +source_file="res://assets/blender/watermill.glb" +dest_files=["res://.godot/imported/watermill.glb-9b463208b750de8b74fd7b78e38bcc35.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +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="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={ +"materials": { +"colormap": { +"use_external/enabled": true, +"use_external/fallback_path": "", +"use_external/path": "uid://l4phjawdk6ik" +} +} +} +gltf/naming_version=2 +gltf/embedded_image_handling=1 +gltf/texture_map_mode=1 diff --git a/assets/blender/watermill_colormap.png b/assets/blender/watermill_colormap.png new file mode 100644 index 0000000..52fc8a1 Binary files /dev/null and b/assets/blender/watermill_colormap.png differ diff --git a/assets/blender/watermill_colormap.png.import b/assets/blender/watermill_colormap.png.import new file mode 100644 index 0000000..1888816 --- /dev/null +++ b/assets/blender/watermill_colormap.png.import @@ -0,0 +1,44 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://1qamgs2xuo68" +path.s3tc="res://.godot/imported/watermill_colormap.png-7068d6594f9a9e6d4cbbb32ca77bcbc1.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "ba059759a6d1a5c00589abf403baad91" +} + +[deps] + +source_file="res://assets/blender/watermill_colormap.png" +dest_files=["res://.godot/imported/watermill_colormap.png-7068d6594f9a9e6d4cbbb32ca77bcbc1.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 diff --git a/assets/blender/watermill_colormap.png~ b/assets/blender/watermill_colormap.png~ new file mode 100644 index 0000000..c88ff2f Binary files /dev/null and b/assets/blender/watermill_colormap.png~ differ diff --git a/assets/img/normals/chien-normal.png b/assets/img/normals/chien-normal.png new file mode 100644 index 0000000..c64690f Binary files /dev/null and b/assets/img/normals/chien-normal.png differ diff --git a/assets/img/normals/chien-normal.png.import b/assets/img/normals/chien-normal.png.import new file mode 100644 index 0000000..30837f8 --- /dev/null +++ b/assets/img/normals/chien-normal.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://3xoqdq2g3r6r" +path.s3tc="res://.godot/imported/chien-normal.png-c599d12b151da0e336a5e33f5dd4d22a.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/normals/chien-normal.png" +dest_files=["res://.godot/imported/chien-normal.png-c599d12b151da0e336a5e33f5dd4d22a.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/img/normals/chien-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 diff --git a/assets/img/normals/housebisfloor.png b/assets/img/normals/housebisfloor.png new file mode 100644 index 0000000..a54d309 Binary files /dev/null and b/assets/img/normals/housebisfloor.png differ diff --git a/assets/img/normals/housebisfloor.png.import b/assets/img/normals/housebisfloor.png.import new file mode 100644 index 0000000..2068d04 --- /dev/null +++ b/assets/img/normals/housebisfloor.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b8awruooi8puw" +path.s3tc="res://.godot/imported/housebisfloor.png-103a7c91af48ea010571e4bfe159bc80.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/normals/housebisfloor.png" +dest_files=["res://.godot/imported/housebisfloor.png-103a7c91af48ea010571e4bfe159bc80.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/img/normals/housebisfloor.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 diff --git a/assets/img/normals/housebiswalls.png b/assets/img/normals/housebiswalls.png new file mode 100644 index 0000000..12e1a37 Binary files /dev/null and b/assets/img/normals/housebiswalls.png differ diff --git a/assets/img/normals/housebiswalls.png.import b/assets/img/normals/housebiswalls.png.import new file mode 100644 index 0000000..a39e323 --- /dev/null +++ b/assets/img/normals/housebiswalls.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cok6m2tu70x6q" +path.s3tc="res://.godot/imported/housebiswalls.png-e341e8031861f7992be46810a5bd4e23.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/normals/housebiswalls.png" +dest_files=["res://.godot/imported/housebiswalls.png-e341e8031861f7992be46810a5bd4e23.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=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 diff --git a/assets/img/normals/housefloor.png b/assets/img/normals/housefloor.png new file mode 100644 index 0000000..be3ccd0 Binary files /dev/null and b/assets/img/normals/housefloor.png differ diff --git a/assets/img/normals/housefloor.png.import b/assets/img/normals/housefloor.png.import new file mode 100644 index 0000000..353d433 --- /dev/null +++ b/assets/img/normals/housefloor.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cpe28cccrcha0" +path.s3tc="res://.godot/imported/housefloor.png-54e5d4a1f54a23bec273e87338a91c80.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/normals/housefloor.png" +dest_files=["res://.godot/imported/housefloor.png-54e5d4a1f54a23bec273e87338a91c80.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/img/normals/housefloor.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 diff --git a/assets/img/normals/houseroof.png b/assets/img/normals/houseroof.png new file mode 100644 index 0000000..90b6f63 Binary files /dev/null and b/assets/img/normals/houseroof.png differ diff --git a/assets/img/normals/houseroof.png.import b/assets/img/normals/houseroof.png.import new file mode 100644 index 0000000..f45b887 --- /dev/null +++ b/assets/img/normals/houseroof.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bqyrew5f2gcuo" +path.s3tc="res://.godot/imported/houseroof.png-83841087a0aed9ac96d1d507648b8510.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/normals/houseroof.png" +dest_files=["res://.godot/imported/houseroof.png-83841087a0aed9ac96d1d507648b8510.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/img/normals/houseroof.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 diff --git a/assets/img/normals/housewalls.png b/assets/img/normals/housewalls.png new file mode 100644 index 0000000..8d23b4e Binary files /dev/null and b/assets/img/normals/housewalls.png differ diff --git a/assets/img/normals/housewalls.png.import b/assets/img/normals/housewalls.png.import new file mode 100644 index 0000000..959a707 --- /dev/null +++ b/assets/img/normals/housewalls.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b54qtjv0lyufs" +path.s3tc="res://.godot/imported/housewalls.png-d45ba1d19c2a9a71a4b827ac14d8411e.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/normals/housewalls.png" +dest_files=["res://.godot/imported/housewalls.png-d45ba1d19c2a9a71a4b827ac14d8411e.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/img/normals/housewalls.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 diff --git a/assets/img/normals/millwalls.png b/assets/img/normals/millwalls.png new file mode 100644 index 0000000..fad1a94 Binary files /dev/null and b/assets/img/normals/millwalls.png differ diff --git a/assets/img/normals/millwalls.png.import b/assets/img/normals/millwalls.png.import new file mode 100644 index 0000000..764b72c --- /dev/null +++ b/assets/img/normals/millwalls.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://thvfy2fr8xxp" +path.s3tc="res://.godot/imported/millwalls.png-4bb67abc1e9195fe799c16dd349beb79.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/normals/millwalls.png" +dest_files=["res://.godot/imported/millwalls.png-4bb67abc1e9195fe799c16dd349beb79.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/img/normals/millwalls.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 diff --git a/assets/img/normals/road.png b/assets/img/normals/road.png new file mode 100644 index 0000000..607c070 Binary files /dev/null and b/assets/img/normals/road.png differ diff --git a/assets/img/normals/road.png.import b/assets/img/normals/road.png.import new file mode 100644 index 0000000..c014e7e --- /dev/null +++ b/assets/img/normals/road.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ugx73mp5varn" +path.s3tc="res://.godot/imported/road.png-29acdef6beed3dba4f54c0295caa4f6c.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/normals/road.png" +dest_files=["res://.godot/imported/road.png-29acdef6beed3dba4f54c0295caa4f6c.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/img/normals/road.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 diff --git a/assets/img/sky/paintskybox.jpg b/assets/img/sky/paintskybox.jpg new file mode 100644 index 0000000..5443a86 Binary files /dev/null and b/assets/img/sky/paintskybox.jpg differ diff --git a/assets/img/sky/paintskybox.jpg.import b/assets/img/sky/paintskybox.jpg.import new file mode 100644 index 0000000..6fd9f42 --- /dev/null +++ b/assets/img/sky/paintskybox.jpg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dgu4kkf5d0j3o" +path.s3tc="res://.godot/imported/paintskybox.jpg-3083e62fb19e2dadb7c210bc3c75ba19.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/sky/paintskybox.jpg" +dest_files=["res://.godot/imported/paintskybox.jpg-3083e62fb19e2dadb7c210bc3c75ba19.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 diff --git a/assets/img/sky/rogland_clear_night.jpg b/assets/img/sky/rogland_clear_night.jpg new file mode 100644 index 0000000..690705d Binary files /dev/null and b/assets/img/sky/rogland_clear_night.jpg differ diff --git a/assets/img/sky/rogland_clear_night.jpg.import b/assets/img/sky/rogland_clear_night.jpg.import new file mode 100644 index 0000000..bd4dfd1 --- /dev/null +++ b/assets/img/sky/rogland_clear_night.jpg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://djdak04s0psnx" +path.s3tc="res://.godot/imported/rogland_clear_night.jpg-d916eba0257f98d6bb702b35280c43fb.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/sky/rogland_clear_night.jpg" +dest_files=["res://.godot/imported/rogland_clear_night.jpg-d916eba0257f98d6bb702b35280c43fb.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 diff --git a/assets/img/textures/GRYDIRT2.JPG b/assets/img/textures/GRYDIRT2.JPG new file mode 100644 index 0000000..aa4c029 Binary files /dev/null and b/assets/img/textures/GRYDIRT2.JPG differ diff --git a/assets/img/textures/GRYDIRT2.JPG.import b/assets/img/textures/GRYDIRT2.JPG.import new file mode 100644 index 0000000..1ff460b --- /dev/null +++ b/assets/img/textures/GRYDIRT2.JPG.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://6pnnmpe5kfob" +path.s3tc="res://.godot/imported/GRYDIRT2.JPG-c0bbbf4ee9c0f864c2f410a9817f0cf9.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/GRYDIRT2.JPG" +dest_files=["res://.godot/imported/GRYDIRT2.JPG-c0bbbf4ee9c0f864c2f410a9817f0cf9.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 diff --git a/assets/img/textures/chaat.jpg b/assets/img/textures/chaat.jpg new file mode 100644 index 0000000..750077c Binary files /dev/null and b/assets/img/textures/chaat.jpg differ diff --git a/assets/img/textures/chaat.jpg.import b/assets/img/textures/chaat.jpg.import new file mode 100644 index 0000000..a53f23f --- /dev/null +++ b/assets/img/textures/chaat.jpg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dgvm66m0oeefq" +path.s3tc="res://.godot/imported/chaat.jpg-bb2d0c02e53cd59aaf2affc30a0e207e.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/chaat.jpg" +dest_files=["res://.godot/imported/chaat.jpg-bb2d0c02e53cd59aaf2affc30a0e207e.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 diff --git a/assets/img/textures/chien.jpg b/assets/img/textures/chien.jpg new file mode 100644 index 0000000..3da4995 Binary files /dev/null and b/assets/img/textures/chien.jpg differ diff --git a/assets/img/textures/chien.jpg.import b/assets/img/textures/chien.jpg.import new file mode 100644 index 0000000..f0f5ed2 --- /dev/null +++ b/assets/img/textures/chien.jpg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://hib4ix4c5xrw" +path.s3tc="res://.godot/imported/chien.jpg-8ed66af80120ca3787c44504561889e2.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/chien.jpg" +dest_files=["res://.godot/imported/chien.jpg-8ed66af80120ca3787c44504561889e2.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 diff --git a/assets/img/textures/cin60137.jpg b/assets/img/textures/cin60137.jpg new file mode 100644 index 0000000..52fa629 Binary files /dev/null and b/assets/img/textures/cin60137.jpg differ diff --git a/assets/img/textures/cin60137.jpg.import b/assets/img/textures/cin60137.jpg.import new file mode 100644 index 0000000..9d80830 --- /dev/null +++ b/assets/img/textures/cin60137.jpg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dt6ya80yl0g46" +path.s3tc="res://.godot/imported/cin60137.jpg-7f342289fdc3986b9e577c57de663376.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/cin60137.jpg" +dest_files=["res://.godot/imported/cin60137.jpg-7f342289fdc3986b9e577c57de663376.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 diff --git a/assets/img/textures/housebisfloor.png b/assets/img/textures/housebisfloor.png new file mode 100644 index 0000000..50c3381 Binary files /dev/null and b/assets/img/textures/housebisfloor.png differ diff --git a/assets/img/textures/housebisfloor.png.import b/assets/img/textures/housebisfloor.png.import new file mode 100644 index 0000000..44734ba --- /dev/null +++ b/assets/img/textures/housebisfloor.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dl36t240dslpq" +path.s3tc="res://.godot/imported/housebisfloor.png-3098ad860cf805917f41b6e9256e2a28.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/housebisfloor.png" +dest_files=["res://.godot/imported/housebisfloor.png-3098ad860cf805917f41b6e9256e2a28.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 diff --git a/assets/img/textures/housebiswall.png b/assets/img/textures/housebiswall.png new file mode 100644 index 0000000..e52e7d8 Binary files /dev/null and b/assets/img/textures/housebiswall.png differ diff --git a/assets/img/textures/housebiswall.png.import b/assets/img/textures/housebiswall.png.import new file mode 100644 index 0000000..0b2355b --- /dev/null +++ b/assets/img/textures/housebiswall.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://v1p1gomylvj4" +path.s3tc="res://.godot/imported/housebiswall.png-1c29a4f0b64538852f894c5017980773.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/housebiswall.png" +dest_files=["res://.godot/imported/housebiswall.png-1c29a4f0b64538852f894c5017980773.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 diff --git a/assets/img/textures/housefloor.png b/assets/img/textures/housefloor.png new file mode 100644 index 0000000..a85575c Binary files /dev/null and b/assets/img/textures/housefloor.png differ diff --git a/assets/img/textures/housefloor.png.import b/assets/img/textures/housefloor.png.import new file mode 100644 index 0000000..acd1e4e --- /dev/null +++ b/assets/img/textures/housefloor.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://uuaidsic32bq" +path.s3tc="res://.godot/imported/housefloor.png-6199adcdcb6cbeb2fe084ba61b1e348b.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/housefloor.png" +dest_files=["res://.godot/imported/housefloor.png-6199adcdcb6cbeb2fe084ba61b1e348b.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 diff --git a/assets/img/textures/houseroofs.png b/assets/img/textures/houseroofs.png new file mode 100644 index 0000000..e2cec96 Binary files /dev/null and b/assets/img/textures/houseroofs.png differ diff --git a/assets/img/textures/houseroofs.png.import b/assets/img/textures/houseroofs.png.import new file mode 100644 index 0000000..8105ed7 --- /dev/null +++ b/assets/img/textures/houseroofs.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ncvmnn4tck4x" +path.s3tc="res://.godot/imported/houseroofs.png-c517cf1486b05b753469281ace0eedff.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/houseroofs.png" +dest_files=["res://.godot/imported/houseroofs.png-c517cf1486b05b753469281ace0eedff.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 diff --git a/assets/img/textures/housetexture.png b/assets/img/textures/housetexture.png new file mode 100644 index 0000000..14508fe Binary files /dev/null and b/assets/img/textures/housetexture.png differ diff --git a/assets/img/textures/housetexture.png.import b/assets/img/textures/housetexture.png.import new file mode 100644 index 0000000..72cb225 --- /dev/null +++ b/assets/img/textures/housetexture.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dufl46mmqe5a" +path.s3tc="res://.godot/imported/housetexture.png-3b1983016cb584b94b0b7012fd344dcf.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/housetexture.png" +dest_files=["res://.godot/imported/housetexture.png-3b1983016cb584b94b0b7012fd344dcf.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 diff --git a/assets/img/textures/housewalls.png b/assets/img/textures/housewalls.png new file mode 100644 index 0000000..ef6f288 Binary files /dev/null and b/assets/img/textures/housewalls.png differ diff --git a/assets/img/textures/housewalls.png.import b/assets/img/textures/housewalls.png.import new file mode 100644 index 0000000..2f516fa --- /dev/null +++ b/assets/img/textures/housewalls.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://5urp0eyv7x3k" +path.s3tc="res://.godot/imported/housewalls.png-38511e7bd0aee520198a1859a3a48479.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/housewalls.png" +dest_files=["res://.godot/imported/housewalls.png-38511e7bd0aee520198a1859a3a48479.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 diff --git a/assets/img/textures/mill.jpg b/assets/img/textures/mill.jpg new file mode 100644 index 0000000..ad26098 Binary files /dev/null and b/assets/img/textures/mill.jpg differ diff --git a/assets/img/textures/mill.jpg.import b/assets/img/textures/mill.jpg.import new file mode 100644 index 0000000..f3b14ef --- /dev/null +++ b/assets/img/textures/mill.jpg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://j5ebu2jfhpm3" +path.s3tc="res://.godot/imported/mill.jpg-5996671eb0db6b222653b87802f7963e.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/mill.jpg" +dest_files=["res://.godot/imported/mill.jpg-5996671eb0db6b222653b87802f7963e.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 diff --git a/assets/img/textures/millwall.png b/assets/img/textures/millwall.png new file mode 100644 index 0000000..50c3dda Binary files /dev/null and b/assets/img/textures/millwall.png differ diff --git a/assets/img/textures/millwall.png.import b/assets/img/textures/millwall.png.import new file mode 100644 index 0000000..491a9f0 --- /dev/null +++ b/assets/img/textures/millwall.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d2mdeewkh0uyg" +path.s3tc="res://.godot/imported/millwall.png-18003baa0bbd0e28e14400ff0a2033eb.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/millwall.png" +dest_files=["res://.godot/imported/millwall.png-18003baa0bbd0e28e14400ff0a2033eb.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 diff --git a/assets/img/textures/road.png b/assets/img/textures/road.png new file mode 100644 index 0000000..607c070 Binary files /dev/null and b/assets/img/textures/road.png differ diff --git a/assets/img/textures/road.png.import b/assets/img/textures/road.png.import new file mode 100644 index 0000000..a545347 --- /dev/null +++ b/assets/img/textures/road.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://l78ngjlrilma" +path.s3tc="res://.godot/imported/road.png-75eb59e1689884f4a49b713e29268c4a.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/road.png" +dest_files=["res://.godot/imported/road.png-75eb59e1689884f4a49b713e29268c4a.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 diff --git a/assets/img/textures/roadvariant.png b/assets/img/textures/roadvariant.png new file mode 100644 index 0000000..9897f3c Binary files /dev/null and b/assets/img/textures/roadvariant.png differ diff --git a/assets/img/textures/roadvariant.png.import b/assets/img/textures/roadvariant.png.import new file mode 100644 index 0000000..ef11019 --- /dev/null +++ b/assets/img/textures/roadvariant.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ba4y2e0fwqfr5" +path.s3tc="res://.godot/imported/roadvariant.png-22edbd658dd4dc95fcb91c59ff90a423.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/img/textures/roadvariant.png" +dest_files=["res://.godot/imported/roadvariant.png-22edbd658dd4dc95fcb91c59ff90a423.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 diff --git a/assets/img/textures/texture.png~ b/assets/img/textures/texture.png~ new file mode 100644 index 0000000..c841d7a Binary files /dev/null and b/assets/img/textures/texture.png~ differ diff --git a/assets/img/textures/watermill_colormap.png b/assets/img/textures/watermill_colormap.png new file mode 100644 index 0000000..ab0c9c2 Binary files /dev/null and b/assets/img/textures/watermill_colormap.png differ diff --git a/assets/img/textures/watermill_colormap.png.import b/assets/img/textures/watermill_colormap.png.import new file mode 100644 index 0000000..442f618 --- /dev/null +++ b/assets/img/textures/watermill_colormap.png.import @@ -0,0 +1,44 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cqthoh7xcvgcw" +path.s3tc="res://.godot/imported/watermill_colormap.png-e239d165842dabe6f328bd8d815bf9ac.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "ba059759a6d1a5c00589abf403baad91" +} + +[deps] + +source_file="res://assets/img/textures/watermill_colormap.png" +dest_files=["res://.godot/imported/watermill_colormap.png-e239d165842dabe6f328bd8d815bf9ac.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 diff --git a/assets/img/textures/watermill_colormap.png~ b/assets/img/textures/watermill_colormap.png~ new file mode 100644 index 0000000..a20ad94 Binary files /dev/null and b/assets/img/textures/watermill_colormap.png~ differ diff --git a/assets/img/ui/en.png b/assets/img/ui/en.png new file mode 100644 index 0000000..1c032a7 Binary files /dev/null and b/assets/img/ui/en.png differ diff --git a/assets/img/ui/en.png.import b/assets/img/ui/en.png.import new file mode 100644 index 0000000..4669e95 --- /dev/null +++ b/assets/img/ui/en.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://mpo1px8jnlyq" +path="res://.godot/imported/en.png-702beb0dd7168493402574081b3baff6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/img/ui/en.png" +dest_files=["res://.godot/imported/en.png-702beb0dd7168493402574081b3baff6.ctex"] + +[params] + +compress/mode=0 +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=false +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=1 diff --git a/assets/img/ui/en_b.png b/assets/img/ui/en_b.png new file mode 100644 index 0000000..0fb9482 Binary files /dev/null and b/assets/img/ui/en_b.png differ diff --git a/assets/img/ui/en_b.png.import b/assets/img/ui/en_b.png.import new file mode 100644 index 0000000..90d4b40 --- /dev/null +++ b/assets/img/ui/en_b.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdcehsogmfiv2" +path="res://.godot/imported/en_b.png-4e16fabc39514074eb92b91e96049019.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/img/ui/en_b.png" +dest_files=["res://.godot/imported/en_b.png-4e16fabc39514074eb92b91e96049019.ctex"] + +[params] + +compress/mode=0 +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=false +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=1 diff --git a/assets/img/ui/fr.png b/assets/img/ui/fr.png new file mode 100644 index 0000000..4ca8b25 Binary files /dev/null and b/assets/img/ui/fr.png differ diff --git a/assets/img/ui/fr.png.import b/assets/img/ui/fr.png.import new file mode 100644 index 0000000..1503c1e --- /dev/null +++ b/assets/img/ui/fr.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dusujvur4igj4" +path="res://.godot/imported/fr.png-7df4633bd077ea03560e8fbff1feb9f1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/img/ui/fr.png" +dest_files=["res://.godot/imported/fr.png-7df4633bd077ea03560e8fbff1feb9f1.ctex"] + +[params] + +compress/mode=0 +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=false +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=1 diff --git a/assets/img/ui/fr_b.png b/assets/img/ui/fr_b.png new file mode 100644 index 0000000..fc136ce Binary files /dev/null and b/assets/img/ui/fr_b.png differ diff --git a/assets/img/ui/fr_b.png.import b/assets/img/ui/fr_b.png.import new file mode 100644 index 0000000..c204eb4 --- /dev/null +++ b/assets/img/ui/fr_b.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cdnkgbmh886ry" +path="res://.godot/imported/fr_b.png-09a3f5a23d411a81a712160baf1b9fc6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/img/ui/fr_b.png" +dest_files=["res://.godot/imported/fr_b.png-09a3f5a23d411a81a712160baf1b9fc6.ctex"] + +[params] + +compress/mode=0 +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=false +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=1 diff --git a/assets/material/dirt.tres b/assets/material/dirt.tres new file mode 100644 index 0000000..2001b75 --- /dev/null +++ b/assets/material/dirt.tres @@ -0,0 +1,11 @@ +[gd_resource type="StandardMaterial3D" format=3 uid="uid://bc142a6kakrnt"] + +[ext_resource type="Texture2D" uid="uid://6pnnmpe5kfob" path="res://assets/img/textures/GRYDIRT2.JPG" id="1_er38x"] + +[resource] +albedo_color = Color(0.78235406, 0.73255324, 0.53957504, 1) +albedo_texture = ExtResource("1_er38x") +uv1_scale = Vector3(0.06, 0.06, 0.06) +uv1_offset = Vector3(0.225, 0.595, 0.55) +uv1_triplanar = true +texture_filter = 0 diff --git a/assets/shader/kuwahara.gdshader b/assets/shader/kuwahara.gdshader new file mode 100644 index 0000000..e7d9d5e --- /dev/null +++ b/assets/shader/kuwahara.gdshader @@ -0,0 +1,84 @@ +shader_type canvas_item; +uniform int radius = 5; +uniform vec3 offset=vec3(0.0); +uniform sampler2D SCREEN_TEXTURE : hint_screen_texture; + +void fragment() + { + vec2 src_size = vec2 ( SCREEN_PIXEL_SIZE.x, SCREEN_PIXEL_SIZE.y); + vec2 uv = SCREEN_UV.xy; + float n = float((radius + 1) * (radius + 1)); + vec3 m0 = offset; vec3 m1 = offset; vec3 m2 = offset; vec3 m3 = offset; + vec3 s0 = offset; vec3 s1 = offset; vec3 s2 = offset; vec3 s3 = offset; + vec3 c; + + for (int j = -radius; j <= 0; ++j) { + for (int i = -radius; i <= 0; ++i) { + c = texture(SCREEN_TEXTURE, uv + vec2(float(i),float(j)) * src_size).rgb; + m0 += c; + s0 += c * c; + } + } + + for (int j = -radius; j <= 0; ++j) { + for (int i = 0; i <= radius; ++i) { + c = texture(SCREEN_TEXTURE, uv + vec2(float(i),float(j)) * src_size).rgb; + m1 += c; + s1 += c * c; + } + } + + for (int j = 0; j <= radius; ++j) { + for (int i = 0; i <= radius; ++i) { + c = texture(SCREEN_TEXTURE, uv + vec2(float(i),float(j)) * src_size).rgb; + m2 += c; + s2 += c * c; + } + } + + for (int j = 0; j <= radius; ++j) { + for (int i = -radius; i <= 0; ++i) { + c = texture(SCREEN_TEXTURE, uv + vec2(float(i),float(j)) * src_size).rgb; + m3 += c; + s3 += c * c; + } + } + + + float min_sigma2 = 1e+2; + m0 /= n; + s0 = abs(s0 / n - m0 * m0); + + float sigma2 = s0.r + s0.g + s0.b; + if (sigma2 < min_sigma2) { + min_sigma2 = sigma2; + COLOR = vec4(m0, 1.0); + } + + m1 /= n; + s1 = abs(s1 / n - m1 * m1); + + sigma2 = s1.r + s1.g + s1.b; + if (sigma2 < min_sigma2) { + min_sigma2 = sigma2; + COLOR = vec4(m1, 1.0); + } + + m2 /= n; + s2 = abs(s2 / n - m2 * m2); + + sigma2 = s2.r + s2.g + s2.b; + if (sigma2 < min_sigma2) { + min_sigma2 = sigma2; + COLOR = vec4(m2, 1.0); + } + + m3 /= n; + s3 = abs(s3 / n - m3 * m3); + + sigma2 = s3.r + s3.g + s3.b; + if (sigma2 < min_sigma2) { + min_sigma2 = sigma2; + COLOR = vec4(m3, 1.0); + } + } \ No newline at end of file diff --git a/assets/shader/kuwahara.gdshader.uid b/assets/shader/kuwahara.gdshader.uid new file mode 100644 index 0000000..06ff4c2 --- /dev/null +++ b/assets/shader/kuwahara.gdshader.uid @@ -0,0 +1 @@ +uid://drolsk0gyboao diff --git a/assets/shader/paint.gdshader b/assets/shader/paint.gdshader new file mode 100644 index 0000000..6ff5c50 --- /dev/null +++ b/assets/shader/paint.gdshader @@ -0,0 +1,72 @@ +shader_type canvas_item; + +// Récupère l'image rendue par la caméra 3D (Godot 4) +uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest; + +// Taille du "pinceau" (plus c'est grand, plus l'effet peinture est fort) +uniform int radius : hint_range(1, 10) = 4; + +void fragment() { + vec2 uv = SCREEN_UV; + vec2 tex_size = vec2(textureSize(screen_texture, 0)); + vec2 texel = 1.0 / tex_size; + + // Nombre de pixels analysés par quadrant + float n = float((radius + 1) * (radius + 1)); + + // Moyennes (m) et Variances (s) pour les 4 quadrants + vec3 m0 = vec3(0.0), m1 = vec3(0.0), m2 = vec3(0.0), m3 = vec3(0.0); + vec3 s0 = vec3(0.0), s1 = vec3(0.0), s2 = vec3(0.0), s3 = vec3(0.0); + vec3 c; + + // Quadrant 0 (Haut Gauche) + for (int j = -radius; j <= 0; ++j) { + for (int i = -radius; i <= 0; ++i) { + c = texture(screen_texture, uv + vec2(float(i), float(j)) * texel).rgb; + m0 += c; s0 += c * c; + } + } + // Quadrant 1 (Haut Droite) + for (int j = -radius; j <= 0; ++j) { + for (int i = 0; i <= radius; ++i) { + c = texture(screen_texture, uv + vec2(float(i), float(j)) * texel).rgb; + m1 += c; s1 += c * c; + } + } + // Quadrant 2 (Bas Droite) + for (int j = 0; j <= radius; ++j) { + for (int i = 0; i <= radius; ++i) { + c = texture(screen_texture, uv + vec2(float(i), float(j)) * texel).rgb; + m2 += c; s2 += c * c; + } + } + // Quadrant 3 (Bas Gauche) + for (int j = 0; j <= radius; ++j) { + for (int i = -radius; i <= 0; ++i) { + c = texture(screen_texture, uv + vec2(float(i), float(j)) * texel).rgb; + m3 += c; s3 += c * c; + } + } + + float min_var = 1e+6; // Valeur de base très haute + vec3 final_color = vec3(0.0); + float var; + + // Calcul pour le Q0 + m0 /= n; s0 = abs(s0 / n - m0 * m0); var = s0.r + s0.g + s0.b; + if (var < min_var) { min_var = var; final_color = m0; } + + // Calcul pour le Q1 + m1 /= n; s1 = abs(s1 / n - m1 * m1); var = s1.r + s1.g + s1.b; + if (var < min_var) { min_var = var; final_color = m1; } + + // Calcul pour le Q2 + m2 /= n; s2 = abs(s2 / n - m2 * m2); var = s2.r + s2.g + s2.b; + if (var < min_var) { min_var = var; final_color = m2; } + + // Calcul pour le Q3 + m3 /= n; s3 = abs(s3 / n - m3 * m3); var = s3.r + s3.g + s3.b; + if (var < min_var) { min_var = var; final_color = m3; } + + COLOR = vec4(final_color, 1.0); +} \ No newline at end of file diff --git a/assets/shader/paint.gdshader.uid b/assets/shader/paint.gdshader.uid new file mode 100644 index 0000000..9579780 --- /dev/null +++ b/assets/shader/paint.gdshader.uid @@ -0,0 +1 @@ +uid://b1y2oarbiem6l diff --git a/assets/shader/painterly_post_process.gdshader b/assets/shader/painterly_post_process.gdshader new file mode 100644 index 0000000..0f5f2da --- /dev/null +++ b/assets/shader/painterly_post_process.gdshader @@ -0,0 +1,103 @@ +shader_type canvas_item; + +uniform sampler2D SCREEN_TEXTURE : hint_screen_texture, filter_linear_mipmap, repeat_disable; + +// --- Kuwahara (painterly smoothing) --- +uniform int kuwahara_radius : hint_range(1, 10) = 4; + +// --- Edge / line art --- +uniform float edge_strength : hint_range(0.0, 4.0) = 1.2; +uniform float edge_threshold : hint_range(0.0, 1.0) = 0.12; +uniform vec3 edge_color : source_color = vec3(0.05, 0.04, 0.03); + +// --- Brush / canvas texture overlay --- +uniform sampler2D brush_tex : filter_linear_mipmap, repeat_enable; +uniform vec2 brush_scale = vec2(18.0, 18.0); +uniform float brush_strength : hint_range(0.0, 1.0) = 0.35; + +// --- Final color tweaks --- +uniform float saturation : hint_range(0.0, 2.0) = 1.1; + +float luminance(vec3 c) { + return dot(c, vec3(0.299, 0.587, 0.114)); +} + +// Classic 4-quadrant Kuwahara filter +vec3 kuwahara(sampler2D tex, vec2 uv, vec2 px, int r) { + vec3 mean[4]; + float variance[4]; + + vec2 signs[4]; + signs[0] = vec2(-1.0, -1.0); + signs[1] = vec2(1.0, -1.0); + signs[2] = vec2(-1.0, 1.0); + signs[3] = vec2(1.0, 1.0); + + for (int q = 0; q < 4; q++) { + vec3 sum = vec3(0.0); + vec3 sum_sq = vec3(0.0); + float count = 0.0; + for (int j = 0; j <= r; j++) { + for (int i = 0; i <= r; i++) { + vec2 offset = vec2(float(i), float(j)) * signs[q] * px; + vec3 c = texture(tex, uv + offset).rgb; + sum += c; + sum_sq += c * c; + count += 1.0; + } + } + vec3 m = sum / count; + vec3 v = sum_sq / count - m * m; + mean[q] = m; + variance[q] = v.r + v.g + v.b; + } + + float min_var = variance[0]; + vec3 result = mean[0]; + for (int q = 1; q < 4; q++) { + if (variance[q] < min_var) { + min_var = variance[q]; + result = mean[q]; + } + } + return result; +} + +// Sobel edge detection on luminance +float sobel_edge(sampler2D tex, vec2 uv, vec2 px) { + float tl = luminance(texture(tex, uv + vec2(-px.x, -px.y)).rgb); + float t = luminance(texture(tex, uv + vec2(0.0, -px.y)).rgb); + float tr = luminance(texture(tex, uv + vec2(px.x, -px.y)).rgb); + float l = luminance(texture(tex, uv + vec2(-px.x, 0.0)).rgb); + float r = luminance(texture(tex, uv + vec2(px.x, 0.0)).rgb); + float bl = luminance(texture(tex, uv + vec2(-px.x, px.y)).rgb); + float b = luminance(texture(tex, uv + vec2(0.0, px.y)).rgb); + float br = luminance(texture(tex, uv + vec2(px.x, px.y)).rgb); + + float gx = -tl - 2.0 * l - bl + tr + 2.0 * r + br; + float gy = -tl - 2.0 * t - tr + bl + 2.0 * b + br; + return sqrt(gx * gx + gy * gy); +} + +void fragment() { + vec2 uv = SCREEN_UV; + vec2 px = SCREEN_PIXEL_SIZE; + + // STEP 1: painterly color smoothing + vec3 painted = kuwahara(SCREEN_TEXTURE, uv, px, kuwahara_radius); + + // STEP 2: line art from the smoothed image (cleaner lines than raw noise) + float edge = sobel_edge(SCREEN_TEXTURE, uv, px); + edge = smoothstep(edge_threshold, edge_threshold + 0.3, edge) * edge_strength; + vec3 with_edges = mix(painted, edge_color, clamp(edge, 0.0, 1.0)); + + // STEP 3: brush / canvas texture overlay (fake stroke + paper grain) + vec3 brush = texture(brush_tex, uv * brush_scale).rgb; + vec3 with_brush = with_edges * mix(vec3(1.0), brush, brush_strength); + + // STEP 4: slight saturation boost, like paint pigment richness + float l = luminance(with_brush); + vec3 final_color = mix(vec3(l), with_brush, saturation); + + COLOR = vec4(final_color, 1.0); +} diff --git a/assets/shader/painterly_post_process.gdshader.uid b/assets/shader/painterly_post_process.gdshader.uid new file mode 100644 index 0000000..78b57cf --- /dev/null +++ b/assets/shader/painterly_post_process.gdshader.uid @@ -0,0 +1 @@ +uid://cy200il0ufw86 diff --git a/assets/shader/pause.gdshader b/assets/shader/pause.gdshader new file mode 100644 index 0000000..85e9e2a --- /dev/null +++ b/assets/shader/pause.gdshader @@ -0,0 +1,9 @@ +shader_type canvas_item; +uniform sampler2D SCREEN_TEXTURE: hint_screen_texture, filter_linear_mipmap; + +uniform float lod: hint_range(0.0, 5) = 0.0; + +void fragment(){ + vec4 color = texture(SCREEN_TEXTURE, SCREEN_UV, lod); + COLOR = color; +} \ No newline at end of file diff --git a/assets/shader/pause.gdshader.uid b/assets/shader/pause.gdshader.uid new file mode 100644 index 0000000..44eb353 --- /dev/null +++ b/assets/shader/pause.gdshader.uid @@ -0,0 +1 @@ +uid://1we0jycvvn8u diff --git a/assets/shader/road.gdshader b/assets/shader/road.gdshader new file mode 100644 index 0000000..4a57bdc --- /dev/null +++ b/assets/shader/road.gdshader @@ -0,0 +1,28 @@ +shader_type spatial; +render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx; + +uniform sampler2D main_texture : source_color; +// On passe en vec2 pour ajuster X et Y indépendamment +uniform vec2 main_uv_scale = vec2(1.0, 1.0); + +uniform sampler2D secondary_texture : source_color; +uniform vec2 secondary_uv_scale = vec2(1.0, 1.0); + +uniform sampler2D blend_noise : source_color; + +void fragment() { + // Multiplie l'UV par le vector 2D (ex: scale.x sur UV.x, scale.y sur UV.y) + vec2 main_uv = UV * main_uv_scale; + vec4 main_albedo = texture(main_texture, main_uv); + + vec2 secondary_uv = UV * secondary_uv_scale; + vec4 secondary_albedo = texture(secondary_texture, secondary_uv); + + vec4 blend_noise_texture = texture(blend_noise, UV); + + vec3 final_albedo = mix(main_albedo.rgb, secondary_albedo.rgb, blend_noise_texture.rgb); + + // Note : Votre conversion RGB -> HSV -> RGB était neutre (faisait un aller-retour sans modificateur). + // On peut assigner directement pour simplifier et optimiser les performances : + ALBEDO = final_albedo; +} \ No newline at end of file diff --git a/assets/shader/road.gdshader.uid b/assets/shader/road.gdshader.uid new file mode 100644 index 0000000..1ba7593 --- /dev/null +++ b/assets/shader/road.gdshader.uid @@ -0,0 +1 @@ +uid://cfu7cwiw7vrgq diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..c6bbb7d --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..982edf2 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://crn86ir408gcd" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +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=false +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=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/lang.json b/lang.json new file mode 100644 index 0000000..3bd9ecf --- /dev/null +++ b/lang.json @@ -0,0 +1,31 @@ +{ + "fr": { + "start" : "Commencer", + "quit" : "Quitter", + "credit" : "Credits", + "credit_detail" : "Credits\n\nJeu : Pouet\n\nSons : Playable Workshop,\nPixabay\n\nMusique : Pouet \n\nTextures : TextureTown\nCiel : Poly Haven", + "full_screen" : "Plein Ecran", + "window_screen" : "Fenetré", + + "resume": "Continuer", + "restart": "Recommencer", + "menu": "Menu", + + "tuto_1" : "Scroll Avant : Avancer, Clic Gauche : Attraper une prise", + + }, + "en":{ + "start" : "Start", + "quit" : "Quit", + "credit" : "Credits", + "credit_detail" : "Credits\n\nGame : Pouet\n\nSounds : Playable Workshop,\nPixabay\n\nMusic : Pouet \n\nTextures : TextureTown\nSky : Poly Haven", + "full_screen" : "Full Screen", + "window_screen" : "Window Screen", + + "resume": "Resume", + "restart": "Restart", + "menu": "Menu", + + "tuto_1" : "Scroll Forward: Move Forward, Left Click: Catch a Hold", + } +} diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..c84636f --- /dev/null +++ b/project.godot @@ -0,0 +1,99 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="frog" +run/main_scene="uid://b26lewmnsfj8a" +config/features=PackedStringArray("4.7", "GL Compatibility") +config/icon="res://icon.svg" + +[autoload] + +Sauvegarde="*uid://cu2fmy0ptf48t" + +[display] + +window/stretch/mode="canvas_items" +window/stretch/aspect="expand" + +[file_customization] + +folder_colors={ +"res://assets/": "orange", +"res://assets/blender/": "blue", +"res://assets/img/": "yellow", +"res://scenes/": "purple", +"res://scripts/": "red", +"res://ui/": "green" +} + +[input] + +ui_accept={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":16,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194309,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":16,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194310,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":16,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null) +] +} +ui_cancel={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":16,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194305,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +] +} +ui_left={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":16,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194319,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":113,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +] +} +ui_right={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":16,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194321,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +] +} +ui_up={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":16,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194320,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":11,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +] +} +ui_down={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":16,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194322,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":12,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +] +} + +[physics] + +3d/physics_engine="Jolt Physics" + +[rendering] + +rendering_device/driver.windows="d3d12" +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" diff --git a/scenes/house.tscn b/scenes/house.tscn new file mode 100644 index 0000000..0e11189 --- /dev/null +++ b/scenes/house.tscn @@ -0,0 +1,101 @@ +[gd_scene format=3 uid="uid://ciynh2ldy36po"] + +[ext_resource type="PackedScene" uid="uid://61a3p5h35tkb" path="res://assets/blender/house_bis.glb" id="1_qtlar"] +[ext_resource type="Texture2D" uid="uid://uuaidsic32bq" path="res://assets/img/textures/housefloor.png" id="2_3bgk5"] +[ext_resource type="Texture2D" uid="uid://5urp0eyv7x3k" path="res://assets/img/textures/housewalls.png" id="2_qtlar"] +[ext_resource type="Texture2D" uid="uid://cpe28cccrcha0" path="res://assets/img/normals/housefloor.png" id="3_f74lx"] +[ext_resource type="Texture2D" uid="uid://b54qtjv0lyufs" path="res://assets/img/normals/housewalls.png" id="3_rk7hg"] +[ext_resource type="Texture2D" uid="uid://ncvmnn4tck4x" path="res://assets/img/textures/houseroofs.png" id="4_se78b"] + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_f74lx"] +data = PackedVector3Array(-1.4375, -0.5, -1, -1.4375, 0.5, -0.0625, -1.4375, 0.5, -1, -1.4375, -0.5, -1, -1.4375, -0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.5, 0.5, -0.0625, -1.5, -0.5, -1, -1.5, 0.5, -1, -1.5, 0.5, -0.0625, -1.5, -0.5, -0.0625, -1.5, -0.5, -1, -1.5, 0.5, -1, -1.4375, -0.5, -1, -1.4375, 0.5, -1, -1.5, 0.5, -1, -1.5, -0.5, -1, -1.4375, -0.5, -1, -1.4375, -0.5, -0.0625, -1.5, 0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.4375, -0.5, -0.0625, -1.5, -0.5, -0.0625, -1.5, 0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.5, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.5, -0.0625, -1.5, 0.5, -0.0625, -1.5, 0.5, -1, -1.5, -0.5, -1, -1.4375, -0.5, -0.0625, -1.4375, -0.5, -1, -1.5, -0.5, -1, -1.5, -0.5, -0.0625, -1.4375, -0.5, -0.0625) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ptc3g"] +data = PackedVector3Array(0.5, -0.5, -1, 0.5, 0.5, -0.0625, 0.5, 0.5, -1, 0.5, -0.5, -1, 0.5, -0.5, -0.0625, 0.5, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, -0.5, -1, 0.4375, 0.5, -1, 0.4375, 0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.4375, -0.5, -1, 0.4375, 0.5, -1, 0.5, -0.5, -1, 0.5, 0.5, -1, 0.4375, 0.5, -1, 0.4375, -0.5, -1, 0.5, -0.5, -1, 0.5, -0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.5, 0.5, -0.0625, 0.5, -0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.5, 0.5, -0.0625, 0.4375, 0.5, -1, 0.5, 0.5, -1, 0.5, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.5, -1, 0.4375, -0.5, -1, 0.5, -0.5, -0.0625, 0.5, -0.5, -1, 0.4375, -0.5, -1, 0.4375, -0.5, -0.0625, 0.5, -0.5, -0.0625) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wcu0q"] +data = PackedVector3Array(0.4375, 0.5, -1, -1.4375, 0.4375, -1, 0.4375, 0.4375, -1, 0.4375, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.4375, -1, -1.4375, 0.4375, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.4375, -0.0625, -1.4375, 0.4375, -0.0625, -1.4375, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.4375, -0.0625, 0.4375, 0.5, -1, 0.4375, 0.4375, -1, 0.4375, 0.4375, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.4375, -0.0625, -1.4375, 0.4375, -1, -1.4375, 0.5, -1, -1.4375, 0.5, -0.0625, -1.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.82809997, -1.4375, 0.4375, -1, -1.2188, 0.4375, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.4375, 0.4375, -1, -1.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.82809997, 0.4375, 0.4375, -1, -1.4375, 0.4375, -1, -1.2188, 0.4375, -0.82809997, -1.4375, 0.4375, -0.0625, -1.2188, 0.4375, -0.4219, 0.21869999, 0.4375, -0.4219, 0.4375, 0.4375, -1, 0.21869999, 0.4375, -0.82809997, -1.2188, 0.4375, -0.4219, -1.4375, 0.4375, -0.0625, 0.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.4219, 0.4375, 0.4375, -0.0625, 0.4375, 0.4375, -1, -1.2188, 0.4375, -0.4219, 0.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.82809997, 0.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.4219, 0.21869999, 0.5, -0.4219, 0.4375, 0.5, -0.0625, -1.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.82809997, 0.4375, 0.5, -1, 0.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.4219, -1.4375, 0.5, -0.0625, -1.2188, 0.5, -0.4219, -1.2188, 0.5, -0.82809997, 0.4375, 0.5, -1, 0.21869999, 0.5, -0.82809997, -1.2188, 0.5, -0.4219, -1.4375, 0.5, -0.0625, -1.4375, 0.5, -1, -1.2188, 0.5, -0.82809997, -1.4375, 0.5, -1, 0.4375, 0.5, -1, -1.2188, 0.5, -0.4219, -1.4375, 0.5, -1, -1.2188, 0.5, -0.82809997, -1.2188, 0.4375, -0.4219, 0.21869999, 0.5, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.4375, -0.4219, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.4375, -0.82809997, -1.2188, 0.4375, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.5, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.2188, 0.5, -0.82809997, 0.21869999, 0.4375, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.2188, 0.5, -0.82809997, 0.21869999, 0.5, -0.82809997, 0.21869999, 0.4375, -0.82809997, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.82809997, 0.21869999, 0.5, -0.4219, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.4375, -0.82809997, 0.21869999, 0.5, -0.82809997) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_bwc8c"] +data = PackedVector3Array(0.4375, -0.5, -0.0625, 0.4375, -0.4375, -1, 0.4375, -0.5, -1, 0.4375, -0.5, -0.0625, 0.4375, -0.4375, -0.0625, 0.4375, -0.4375, -1, 0.4375, -0.4375, -1, -1.4375, -0.5, -1, 0.4375, -0.5, -1, 0.4375, -0.4375, -1, -1.4375, -0.4375, -1, -1.4375, -0.5, -1, 0.0937, -0.5, -0.5281, -1.4375, -0.5, -1, -0.2188, -0.5, -0.5281, 0.0937, -0.5, -0.5281, 0.4375, -0.5, -1, -1.4375, -0.5, -1, 0.0937, -0.5, -0.0594, 0.4375, -0.5, -1, 0.0937, -0.5, -0.5281, 0.0937, -0.5, -0.0594, 0.4375, -0.5, -0.0625, 0.4375, -0.5, -1, -1.4375, -0.5, -0.5311, -0.2188, -0.5, -0.5281, -1.4375, -0.5, -1, -0.6484, -0.5, -0.5043, -0.2188, -0.5, -0.5281, -1.4375, -0.5, -0.5311, -0.6484, -0.5, -0.2086, -0.2188, -0.5, -0.5281, -0.6484, -0.5, -0.5043, -0.6484, -0.5, -0.5043, -1.4375, -0.5, -0.5311, -1.1328, -0.5, -0.5062, -0.6484, -0.5, -0.2086, -0.2188, -0.5, -0.0594, -0.2188, -0.5, -0.5281, -1.1328, -0.5, -0.5062, -1.4375, -0.5, -0.5311, -1.4375, -0.5, -0.0625, -1.1328, -0.5, -0.21059999, -0.2188, -0.5, -0.0594, -0.6484, -0.5, -0.2086, -1.1328, -0.5, -0.5062, -1.4375, -0.5, -0.0625, -1.1328, -0.5, -0.21059999, -1.1328, -0.5, -0.21059999, -1.4375, -0.5, -0.0625, -0.2188, -0.5, -0.0594, -0.2188, -0.5, -0.0594, 0.4375, -0.5, -0.0625, 0.0937, -0.5, -0.0594, -0.2188, -0.5, -0.0594, -1.4375, -0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.0937, -0.4375, -0.5281, 0.4375, -0.4375, -0.0625, 0.0937, -0.4375, -0.0594, 0.0937, -0.4375, -0.5281, 0.4375, -0.4375, -1, 0.4375, -0.4375, -0.0625, -0.2188, -0.4375, -0.5281, 0.4375, -0.4375, -1, 0.0937, -0.4375, -0.5281, -0.2188, -0.4375, -0.5281, -1.4375, -0.4375, -1, 0.4375, -0.4375, -1, -0.2188, -0.4375, -0.5281, -1.4375, -0.4375, -0.536, -1.4375, -0.4375, -1, -1.1328, -0.4375, -0.51, -1.4375, -0.4375, -0.536, -0.2188, -0.4375, -0.5281, -1.1328, -0.4375, -0.2113, -1.4375, -0.4375, -0.536, -1.1328, -0.4375, -0.51, -1.1328, -0.4375, -0.51, -0.2188, -0.4375, -0.5281, -0.6484, -0.4375, -0.505, -1.1328, -0.4375, -0.2113, -1.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.536, -0.6484, -0.4375, -0.505, -0.2188, -0.4375, -0.5281, -0.2188, -0.4375, -0.0594, -0.6484, -0.4375, -0.2093, -1.4375, -0.4375, -0.0625, -1.1328, -0.4375, -0.2113, -0.6484, -0.4375, -0.505, -0.2188, -0.4375, -0.0594, -0.6484, -0.4375, -0.2093, -0.6484, -0.4375, -0.2093, -0.2188, -0.4375, -0.0594, -1.4375, -0.4375, -0.0625, 0.0937, -0.4375, -0.0594, -1.4375, -0.4375, -0.0625, -0.2188, -0.4375, -0.0594, 0.0937, -0.4375, -0.0594, 0.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.0625, -1.4375, -0.5, -0.5311, -1.4375, -0.4375, -0.0625, -1.4375, -0.5, -0.0625, -1.4375, -0.5, -0.5311, -1.4375, -0.4375, -0.536, -1.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.536, -1.4375, -0.5, -0.5311, -1.4375, -0.5, -1, -1.4375, -0.4375, -0.536, -1.4375, -0.5, -1, -1.4375, -0.4375, -1, 0.0937, -0.4375, -0.5281, 0.0937, -0.5, -0.0594, 0.0937, -0.5, -0.5281, 0.0937, -0.4375, -0.5281, 0.0937, -0.4375, -0.0594, 0.0937, -0.5, -0.0594, -0.2188, -0.5, -0.5281, -0.2188, -0.4375, -0.0594, -0.2188, -0.4375, -0.5281, -0.2188, -0.5, -0.5281, -0.2188, -0.5, -0.0594, -0.2188, -0.4375, -0.0594, -0.2188, -0.5, -0.5281, 0.0937, -0.4375, -0.5281, 0.0937, -0.5, -0.5281, -0.2188, -0.5, -0.5281, -0.2188, -0.4375, -0.5281, 0.0937, -0.4375, -0.5281, -0.6484, -0.5, -0.2086, -0.6484, -0.4375, -0.505, -0.6484, -0.4375, -0.2093, -0.6484, -0.5, -0.2086, -0.6484, -0.5, -0.5043, -0.6484, -0.4375, -0.505, -1.1328, -0.5, -0.21059999, -0.6484, -0.4375, -0.2093, -1.1328, -0.4375, -0.2113, -1.1328, -0.5, -0.21059999, -0.6484, -0.5, -0.2086, -0.6484, -0.4375, -0.2093, -1.1328, -0.5, -0.5062, -1.1328, -0.4375, -0.2113, -1.1328, -0.4375, -0.51, -1.1328, -0.5, -0.5062, -1.1328, -0.5, -0.21059999, -1.1328, -0.4375, -0.2113, -0.6484, -0.5, -0.5043, -1.1328, -0.4375, -0.51, -0.6484, -0.4375, -0.505, -0.6484, -0.5, -0.5043, -1.1328, -0.5, -0.5062, -1.1328, -0.4375, -0.51, -1.4375, -0.5, -0.0625, 0.4375, -0.4375, -0.0625, 0.4375, -0.5, -0.0625, -1.4375, -0.5, -0.0625, -1.4375, -0.4375, -0.0625, 0.4375, -0.4375, -0.0625) + +[sub_resource type="BoxShape3D" id="BoxShape3D_f74lx"] +size = Vector3(2, 1, 0.0625) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f74lx"] +albedo_color = Color(0.68307734, 0.6830774, 0.68307734, 1) +albedo_texture = ExtResource("2_3bgk5") +normal_enabled = true +normal_scale = 3.0 +normal_texture = ExtResource("3_f74lx") +uv1_scale = Vector3(0.59, 0.84, 0.84) +uv1_offset = Vector3(-1.04, 0.395, 0) +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rk7hg"] +albedo_texture = ExtResource("2_qtlar") +normal_enabled = true +normal_scale = 3.0 +normal_texture = ExtResource("3_rk7hg") +uv1_scale = Vector3(0.865, 0.865, 0.865) +uv1_offset = Vector3(-0.34, 1.48, 0.035) +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3bgk5"] +albedo_texture = ExtResource("4_se78b") +normal_enabled = true +uv1_scale = Vector3(0.5, 0.5, 0.5) +uv1_offset = Vector3(-0.25, 0.455, 0) +uv1_triplanar = true +uv1_triplanar_sharpness = 2.378415 + +[node name="house" unique_id=1699193859 instance=ExtResource("1_qtlar")] + +[node name="StaticBody3D" type="StaticBody3D" parent="." index="0" unique_id=1422989726] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0" unique_id=1147033829] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0) +shape = SubResource("ConcavePolygonShape3D_f74lx") + +[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D" index="1" unique_id=715017154] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0) +shape = SubResource("ConcavePolygonShape3D_ptc3g") + +[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D" index="2" unique_id=78085714] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0) +shape = SubResource("ConcavePolygonShape3D_wcu0q") + +[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D" index="3" unique_id=373353001] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0) +shape = SubResource("ConcavePolygonShape3D_bwc8c") + +[node name="CollisionShape3D5" type="CollisionShape3D" parent="StaticBody3D" index="4" unique_id=1300198327] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, -0.5, 0.03125, 0) +shape = SubResource("BoxShape3D_f74lx") + +[node name="floor" parent="." index="1" unique_id=1878065990] +material_override = SubResource("StandardMaterial3D_f74lx") + +[node name="wallR" parent="." index="2" unique_id=552690458] +material_override = SubResource("StandardMaterial3D_rk7hg") + +[node name="wallL" parent="." index="3" unique_id=547749752] +material_override = SubResource("StandardMaterial3D_rk7hg") + +[node name="wallB" parent="." index="4" unique_id=1632517268] +material_override = SubResource("StandardMaterial3D_rk7hg") + +[node name="wallF" parent="." index="5" unique_id=849564629] +material_override = SubResource("StandardMaterial3D_rk7hg") + +[node name="roof" parent="." index="6" unique_id=169749253] +material_override = SubResource("StandardMaterial3D_3bgk5") + +[node name="roofB" parent="." index="7" unique_id=1038723892] +material_override = SubResource("StandardMaterial3D_3bgk5") + +[node name="roofL" parent="." index="8" unique_id=1922219957] +material_override = SubResource("StandardMaterial3D_3bgk5") + +[node name="roofR" parent="." index="9" unique_id=1036763893] +material_override = SubResource("StandardMaterial3D_3bgk5") diff --git a/scenes/house_wo_col.tscn b/scenes/house_wo_col.tscn new file mode 100644 index 0000000..dadde50 --- /dev/null +++ b/scenes/house_wo_col.tscn @@ -0,0 +1,73 @@ +[gd_scene format=3 uid="uid://5p51ufxgpmrq"] + +[ext_resource type="PackedScene" uid="uid://61a3p5h35tkb" path="res://assets/blender/house_bis.glb" id="1_s43hf"] +[ext_resource type="Texture2D" uid="uid://uuaidsic32bq" path="res://assets/img/textures/housefloor.png" id="2_kr02q"] +[ext_resource type="Texture2D" uid="uid://cpe28cccrcha0" path="res://assets/img/normals/housefloor.png" id="3_oc7ix"] +[ext_resource type="Texture2D" uid="uid://5urp0eyv7x3k" path="res://assets/img/textures/housewalls.png" id="4_yvdf1"] +[ext_resource type="Texture2D" uid="uid://b54qtjv0lyufs" path="res://assets/img/normals/housewalls.png" id="5_s4lc2"] +[ext_resource type="Texture2D" uid="uid://ncvmnn4tck4x" path="res://assets/img/textures/houseroofs.png" id="6_dvvou"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f74lx"] +albedo_color = Color(0.68307734, 0.6830774, 0.68307734, 1) +albedo_texture = ExtResource("2_kr02q") +normal_enabled = true +normal_scale = 3.0 +normal_texture = ExtResource("3_oc7ix") +uv1_scale = Vector3(0.59, 0.84, 0.84) +uv1_offset = Vector3(-1.04, 0.395, 0) +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rk7hg"] +albedo_texture = ExtResource("4_yvdf1") +normal_enabled = true +normal_scale = 3.0 +normal_texture = ExtResource("5_s4lc2") +uv1_scale = Vector3(0.865, 0.865, 0.865) +uv1_offset = Vector3(-0.34, 1.48, 0.035) +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3bgk5"] +albedo_texture = ExtResource("6_dvvou") +normal_enabled = true +uv1_scale = Vector3(0.5, 0.5, 0.5) +uv1_offset = Vector3(-0.25, 0.455, 0) +uv1_triplanar = true +uv1_triplanar_sharpness = 2.378415 + +[node name="house" unique_id=1699193859 instance=ExtResource("1_s43hf")] + +[node name="floor" parent="." index="0" unique_id=1878065990] +material_override = SubResource("StandardMaterial3D_f74lx") +cast_shadow = 0 + +[node name="wallR" parent="." index="1" unique_id=552690458] +material_override = SubResource("StandardMaterial3D_rk7hg") +cast_shadow = 0 + +[node name="wallL" parent="." index="2" unique_id=547749752] +material_override = SubResource("StandardMaterial3D_rk7hg") +cast_shadow = 0 + +[node name="wallB" parent="." index="3" unique_id=1632517268] +material_override = SubResource("StandardMaterial3D_rk7hg") +cast_shadow = 0 + +[node name="wallF" parent="." index="4" unique_id=849564629] +material_override = SubResource("StandardMaterial3D_rk7hg") +cast_shadow = 0 + +[node name="roof" parent="." index="5" unique_id=169749253] +material_override = SubResource("StandardMaterial3D_3bgk5") +cast_shadow = 0 + +[node name="roofB" parent="." index="6" unique_id=1038723892] +material_override = SubResource("StandardMaterial3D_3bgk5") +cast_shadow = 0 + +[node name="roofL" parent="." index="7" unique_id=1922219957] +material_override = SubResource("StandardMaterial3D_3bgk5") +cast_shadow = 0 + +[node name="roofR" parent="." index="8" unique_id=1036763893] +material_override = SubResource("StandardMaterial3D_3bgk5") +cast_shadow = 0 diff --git a/scenes/housebis.tscn b/scenes/housebis.tscn new file mode 100644 index 0000000..f21bff1 --- /dev/null +++ b/scenes/housebis.tscn @@ -0,0 +1,101 @@ +[gd_scene format=3 uid="uid://cf7l4kwrovys"] + +[ext_resource type="PackedScene" uid="uid://61a3p5h35tkb" path="res://assets/blender/house_bis.glb" id="1_7bc46"] +[ext_resource type="Texture2D" uid="uid://dl36t240dslpq" path="res://assets/img/textures/housebisfloor.png" id="2_7bc46"] +[ext_resource type="Texture2D" uid="uid://b8awruooi8puw" path="res://assets/img/normals/housebisfloor.png" id="3_7bc46"] +[ext_resource type="Texture2D" uid="uid://v1p1gomylvj4" path="res://assets/img/textures/housebiswall.png" id="4_7bc46"] +[ext_resource type="Texture2D" uid="uid://cok6m2tu70x6q" path="res://assets/img/normals/housebiswalls.png" id="5_7bc46"] +[ext_resource type="Texture2D" uid="uid://ncvmnn4tck4x" path="res://assets/img/textures/houseroofs.png" id="6_qotll"] + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_f74lx"] +data = PackedVector3Array(-1.4375, -0.5, -1, -1.4375, 0.5, -0.0625, -1.4375, 0.5, -1, -1.4375, -0.5, -1, -1.4375, -0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.5, 0.5, -0.0625, -1.5, -0.5, -1, -1.5, 0.5, -1, -1.5, 0.5, -0.0625, -1.5, -0.5, -0.0625, -1.5, -0.5, -1, -1.5, 0.5, -1, -1.4375, -0.5, -1, -1.4375, 0.5, -1, -1.5, 0.5, -1, -1.5, -0.5, -1, -1.4375, -0.5, -1, -1.4375, -0.5, -0.0625, -1.5, 0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.4375, -0.5, -0.0625, -1.5, -0.5, -0.0625, -1.5, 0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.5, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.5, -0.0625, -1.5, 0.5, -0.0625, -1.5, 0.5, -1, -1.5, -0.5, -1, -1.4375, -0.5, -0.0625, -1.4375, -0.5, -1, -1.5, -0.5, -1, -1.5, -0.5, -0.0625, -1.4375, -0.5, -0.0625) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ptc3g"] +data = PackedVector3Array(0.5, -0.5, -1, 0.5, 0.5, -0.0625, 0.5, 0.5, -1, 0.5, -0.5, -1, 0.5, -0.5, -0.0625, 0.5, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, -0.5, -1, 0.4375, 0.5, -1, 0.4375, 0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.4375, -0.5, -1, 0.4375, 0.5, -1, 0.5, -0.5, -1, 0.5, 0.5, -1, 0.4375, 0.5, -1, 0.4375, -0.5, -1, 0.5, -0.5, -1, 0.5, -0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.5, 0.5, -0.0625, 0.5, -0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.5, 0.5, -0.0625, 0.4375, 0.5, -1, 0.5, 0.5, -1, 0.5, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.5, -1, 0.4375, -0.5, -1, 0.5, -0.5, -0.0625, 0.5, -0.5, -1, 0.4375, -0.5, -1, 0.4375, -0.5, -0.0625, 0.5, -0.5, -0.0625) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wcu0q"] +data = PackedVector3Array(0.4375, 0.5, -1, -1.4375, 0.4375, -1, 0.4375, 0.4375, -1, 0.4375, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.4375, -1, -1.4375, 0.4375, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.4375, -0.0625, -1.4375, 0.4375, -0.0625, -1.4375, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.4375, -0.0625, 0.4375, 0.5, -1, 0.4375, 0.4375, -1, 0.4375, 0.4375, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.4375, -0.0625, -1.4375, 0.4375, -1, -1.4375, 0.5, -1, -1.4375, 0.5, -0.0625, -1.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.82809997, -1.4375, 0.4375, -1, -1.2188, 0.4375, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.4375, 0.4375, -1, -1.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.82809997, 0.4375, 0.4375, -1, -1.4375, 0.4375, -1, -1.2188, 0.4375, -0.82809997, -1.4375, 0.4375, -0.0625, -1.2188, 0.4375, -0.4219, 0.21869999, 0.4375, -0.4219, 0.4375, 0.4375, -1, 0.21869999, 0.4375, -0.82809997, -1.2188, 0.4375, -0.4219, -1.4375, 0.4375, -0.0625, 0.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.4219, 0.4375, 0.4375, -0.0625, 0.4375, 0.4375, -1, -1.2188, 0.4375, -0.4219, 0.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.82809997, 0.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.4219, 0.21869999, 0.5, -0.4219, 0.4375, 0.5, -0.0625, -1.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.82809997, 0.4375, 0.5, -1, 0.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.4219, -1.4375, 0.5, -0.0625, -1.2188, 0.5, -0.4219, -1.2188, 0.5, -0.82809997, 0.4375, 0.5, -1, 0.21869999, 0.5, -0.82809997, -1.2188, 0.5, -0.4219, -1.4375, 0.5, -0.0625, -1.4375, 0.5, -1, -1.2188, 0.5, -0.82809997, -1.4375, 0.5, -1, 0.4375, 0.5, -1, -1.2188, 0.5, -0.4219, -1.4375, 0.5, -1, -1.2188, 0.5, -0.82809997, -1.2188, 0.4375, -0.4219, 0.21869999, 0.5, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.4375, -0.4219, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.4375, -0.82809997, -1.2188, 0.4375, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.5, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.2188, 0.5, -0.82809997, 0.21869999, 0.4375, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.2188, 0.5, -0.82809997, 0.21869999, 0.5, -0.82809997, 0.21869999, 0.4375, -0.82809997, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.82809997, 0.21869999, 0.5, -0.4219, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.4375, -0.82809997, 0.21869999, 0.5, -0.82809997) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_bwc8c"] +data = PackedVector3Array(0.4375, -0.5, -0.0625, 0.4375, -0.4375, -1, 0.4375, -0.5, -1, 0.4375, -0.5, -0.0625, 0.4375, -0.4375, -0.0625, 0.4375, -0.4375, -1, 0.4375, -0.4375, -1, -1.4375, -0.5, -1, 0.4375, -0.5, -1, 0.4375, -0.4375, -1, -1.4375, -0.4375, -1, -1.4375, -0.5, -1, 0.0937, -0.5, -0.5281, -1.4375, -0.5, -1, -0.2188, -0.5, -0.5281, 0.0937, -0.5, -0.5281, 0.4375, -0.5, -1, -1.4375, -0.5, -1, 0.0937, -0.5, -0.0594, 0.4375, -0.5, -1, 0.0937, -0.5, -0.5281, 0.0937, -0.5, -0.0594, 0.4375, -0.5, -0.0625, 0.4375, -0.5, -1, -1.4375, -0.5, -0.5311, -0.2188, -0.5, -0.5281, -1.4375, -0.5, -1, -0.6484, -0.5, -0.5043, -0.2188, -0.5, -0.5281, -1.4375, -0.5, -0.5311, -0.6484, -0.5, -0.2086, -0.2188, -0.5, -0.5281, -0.6484, -0.5, -0.5043, -0.6484, -0.5, -0.5043, -1.4375, -0.5, -0.5311, -1.1328, -0.5, -0.5062, -0.6484, -0.5, -0.2086, -0.2188, -0.5, -0.0594, -0.2188, -0.5, -0.5281, -1.1328, -0.5, -0.5062, -1.4375, -0.5, -0.5311, -1.4375, -0.5, -0.0625, -1.1328, -0.5, -0.21059999, -0.2188, -0.5, -0.0594, -0.6484, -0.5, -0.2086, -1.1328, -0.5, -0.5062, -1.4375, -0.5, -0.0625, -1.1328, -0.5, -0.21059999, -1.1328, -0.5, -0.21059999, -1.4375, -0.5, -0.0625, -0.2188, -0.5, -0.0594, -0.2188, -0.5, -0.0594, 0.4375, -0.5, -0.0625, 0.0937, -0.5, -0.0594, -0.2188, -0.5, -0.0594, -1.4375, -0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.0937, -0.4375, -0.5281, 0.4375, -0.4375, -0.0625, 0.0937, -0.4375, -0.0594, 0.0937, -0.4375, -0.5281, 0.4375, -0.4375, -1, 0.4375, -0.4375, -0.0625, -0.2188, -0.4375, -0.5281, 0.4375, -0.4375, -1, 0.0937, -0.4375, -0.5281, -0.2188, -0.4375, -0.5281, -1.4375, -0.4375, -1, 0.4375, -0.4375, -1, -0.2188, -0.4375, -0.5281, -1.4375, -0.4375, -0.536, -1.4375, -0.4375, -1, -1.1328, -0.4375, -0.51, -1.4375, -0.4375, -0.536, -0.2188, -0.4375, -0.5281, -1.1328, -0.4375, -0.2113, -1.4375, -0.4375, -0.536, -1.1328, -0.4375, -0.51, -1.1328, -0.4375, -0.51, -0.2188, -0.4375, -0.5281, -0.6484, -0.4375, -0.505, -1.1328, -0.4375, -0.2113, -1.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.536, -0.6484, -0.4375, -0.505, -0.2188, -0.4375, -0.5281, -0.2188, -0.4375, -0.0594, -0.6484, -0.4375, -0.2093, -1.4375, -0.4375, -0.0625, -1.1328, -0.4375, -0.2113, -0.6484, -0.4375, -0.505, -0.2188, -0.4375, -0.0594, -0.6484, -0.4375, -0.2093, -0.6484, -0.4375, -0.2093, -0.2188, -0.4375, -0.0594, -1.4375, -0.4375, -0.0625, 0.0937, -0.4375, -0.0594, -1.4375, -0.4375, -0.0625, -0.2188, -0.4375, -0.0594, 0.0937, -0.4375, -0.0594, 0.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.0625, -1.4375, -0.5, -0.5311, -1.4375, -0.4375, -0.0625, -1.4375, -0.5, -0.0625, -1.4375, -0.5, -0.5311, -1.4375, -0.4375, -0.536, -1.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.536, -1.4375, -0.5, -0.5311, -1.4375, -0.5, -1, -1.4375, -0.4375, -0.536, -1.4375, -0.5, -1, -1.4375, -0.4375, -1, 0.0937, -0.4375, -0.5281, 0.0937, -0.5, -0.0594, 0.0937, -0.5, -0.5281, 0.0937, -0.4375, -0.5281, 0.0937, -0.4375, -0.0594, 0.0937, -0.5, -0.0594, -0.2188, -0.5, -0.5281, -0.2188, -0.4375, -0.0594, -0.2188, -0.4375, -0.5281, -0.2188, -0.5, -0.5281, -0.2188, -0.5, -0.0594, -0.2188, -0.4375, -0.0594, -0.2188, -0.5, -0.5281, 0.0937, -0.4375, -0.5281, 0.0937, -0.5, -0.5281, -0.2188, -0.5, -0.5281, -0.2188, -0.4375, -0.5281, 0.0937, -0.4375, -0.5281, -0.6484, -0.5, -0.2086, -0.6484, -0.4375, -0.505, -0.6484, -0.4375, -0.2093, -0.6484, -0.5, -0.2086, -0.6484, -0.5, -0.5043, -0.6484, -0.4375, -0.505, -1.1328, -0.5, -0.21059999, -0.6484, -0.4375, -0.2093, -1.1328, -0.4375, -0.2113, -1.1328, -0.5, -0.21059999, -0.6484, -0.5, -0.2086, -0.6484, -0.4375, -0.2093, -1.1328, -0.5, -0.5062, -1.1328, -0.4375, -0.2113, -1.1328, -0.4375, -0.51, -1.1328, -0.5, -0.5062, -1.1328, -0.5, -0.21059999, -1.1328, -0.4375, -0.2113, -0.6484, -0.5, -0.5043, -1.1328, -0.4375, -0.51, -0.6484, -0.4375, -0.505, -0.6484, -0.5, -0.5043, -1.1328, -0.5, -0.5062, -1.1328, -0.4375, -0.51, -1.4375, -0.5, -0.0625, 0.4375, -0.4375, -0.0625, 0.4375, -0.5, -0.0625, -1.4375, -0.5, -0.0625, -1.4375, -0.4375, -0.0625, 0.4375, -0.4375, -0.0625) + +[sub_resource type="BoxShape3D" id="BoxShape3D_f74lx"] +size = Vector3(2, 1, 0.0625) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f74lx"] +albedo_color = Color(0.68307734, 0.6830774, 0.68307734, 1) +albedo_texture = ExtResource("2_7bc46") +normal_enabled = true +normal_scale = 3.0 +normal_texture = ExtResource("3_7bc46") +uv1_scale = Vector3(0.59, 0.84, 0.84) +uv1_offset = Vector3(-1.04, 0.395, 0) +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rk7hg"] +albedo_texture = ExtResource("4_7bc46") +normal_enabled = true +normal_scale = 3.0 +normal_texture = ExtResource("5_7bc46") +uv1_scale = Vector3(0.865, 0.865, 0.865) +uv1_offset = Vector3(-0.34, 1.48, 0.035) +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3bgk5"] +albedo_texture = ExtResource("6_qotll") +normal_enabled = true +uv1_scale = Vector3(0.5, 0.5, 0.5) +uv1_offset = Vector3(-0.25, 0.455, 0) +uv1_triplanar = true +uv1_triplanar_sharpness = 2.378415 + +[node name="house" unique_id=1699193859 instance=ExtResource("1_7bc46")] + +[node name="StaticBody3D" type="StaticBody3D" parent="." index="0" unique_id=1422989726] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0" unique_id=1147033829] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0) +shape = SubResource("ConcavePolygonShape3D_f74lx") + +[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D" index="1" unique_id=715017154] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0) +shape = SubResource("ConcavePolygonShape3D_ptc3g") + +[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D" index="2" unique_id=78085714] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0) +shape = SubResource("ConcavePolygonShape3D_wcu0q") + +[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D" index="3" unique_id=373353001] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0) +shape = SubResource("ConcavePolygonShape3D_bwc8c") + +[node name="CollisionShape3D5" type="CollisionShape3D" parent="StaticBody3D" index="4" unique_id=1300198327] +transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, -0.5, 0.03125, 0) +shape = SubResource("BoxShape3D_f74lx") + +[node name="floor" parent="." index="1" unique_id=1878065990] +material_override = SubResource("StandardMaterial3D_f74lx") + +[node name="wallR" parent="." index="2" unique_id=552690458] +material_override = SubResource("StandardMaterial3D_rk7hg") + +[node name="wallL" parent="." index="3" unique_id=547749752] +material_override = SubResource("StandardMaterial3D_rk7hg") + +[node name="wallB" parent="." index="4" unique_id=1632517268] +material_override = SubResource("StandardMaterial3D_rk7hg") + +[node name="wallF" parent="." index="5" unique_id=849564629] +material_override = SubResource("StandardMaterial3D_rk7hg") + +[node name="roof" parent="." index="6" unique_id=169749253] +material_override = SubResource("StandardMaterial3D_3bgk5") + +[node name="roofB" parent="." index="7" unique_id=1038723892] +material_override = SubResource("StandardMaterial3D_3bgk5") + +[node name="roofL" parent="." index="8" unique_id=1922219957] +material_override = SubResource("StandardMaterial3D_3bgk5") + +[node name="roofR" parent="." index="9" unique_id=1036763893] +material_override = SubResource("StandardMaterial3D_3bgk5") diff --git a/scenes/housebis_wo_wol.tscn b/scenes/housebis_wo_wol.tscn new file mode 100644 index 0000000..4fac5a6 --- /dev/null +++ b/scenes/housebis_wo_wol.tscn @@ -0,0 +1,73 @@ +[gd_scene format=3 uid="uid://dtqgrc01dwhso"] + +[ext_resource type="PackedScene" uid="uid://61a3p5h35tkb" path="res://assets/blender/house_bis.glb" id="1_tibdy"] +[ext_resource type="Texture2D" uid="uid://dl36t240dslpq" path="res://assets/img/textures/housebisfloor.png" id="2_6fjtr"] +[ext_resource type="Texture2D" uid="uid://b8awruooi8puw" path="res://assets/img/normals/housebisfloor.png" id="3_575vt"] +[ext_resource type="Texture2D" uid="uid://v1p1gomylvj4" path="res://assets/img/textures/housebiswall.png" id="4_ob1sp"] +[ext_resource type="Texture2D" uid="uid://cok6m2tu70x6q" path="res://assets/img/normals/housebiswalls.png" id="5_ndoyt"] +[ext_resource type="Texture2D" uid="uid://ncvmnn4tck4x" path="res://assets/img/textures/houseroofs.png" id="6_7a34p"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f74lx"] +albedo_color = Color(0.68307734, 0.6830774, 0.68307734, 1) +albedo_texture = ExtResource("2_6fjtr") +normal_enabled = true +normal_scale = 3.0 +normal_texture = ExtResource("3_575vt") +uv1_scale = Vector3(0.59, 0.84, 0.84) +uv1_offset = Vector3(-1.04, 0.395, 0) +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rk7hg"] +albedo_texture = ExtResource("4_ob1sp") +normal_enabled = true +normal_scale = 3.0 +normal_texture = ExtResource("5_ndoyt") +uv1_scale = Vector3(0.865, 0.865, 0.865) +uv1_offset = Vector3(-0.34, 1.48, 0.035) +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3bgk5"] +albedo_texture = ExtResource("6_7a34p") +normal_enabled = true +uv1_scale = Vector3(0.5, 0.5, 0.5) +uv1_offset = Vector3(-0.25, 0.455, 0) +uv1_triplanar = true +uv1_triplanar_sharpness = 2.378415 + +[node name="house" unique_id=1699193859 instance=ExtResource("1_tibdy")] + +[node name="floor" parent="." index="0" unique_id=1878065990] +material_override = SubResource("StandardMaterial3D_f74lx") +cast_shadow = 0 + +[node name="wallR" parent="." index="1" unique_id=552690458] +material_override = SubResource("StandardMaterial3D_rk7hg") +cast_shadow = 0 + +[node name="wallL" parent="." index="2" unique_id=547749752] +material_override = SubResource("StandardMaterial3D_rk7hg") +cast_shadow = 0 + +[node name="wallB" parent="." index="3" unique_id=1632517268] +material_override = SubResource("StandardMaterial3D_rk7hg") +cast_shadow = 0 + +[node name="wallF" parent="." index="4" unique_id=849564629] +material_override = SubResource("StandardMaterial3D_rk7hg") +cast_shadow = 0 + +[node name="roof" parent="." index="5" unique_id=169749253] +material_override = SubResource("StandardMaterial3D_3bgk5") +cast_shadow = 0 + +[node name="roofB" parent="." index="6" unique_id=1038723892] +material_override = SubResource("StandardMaterial3D_3bgk5") +cast_shadow = 0 + +[node name="roofL" parent="." index="7" unique_id=1922219957] +material_override = SubResource("StandardMaterial3D_3bgk5") +cast_shadow = 0 + +[node name="roofR" parent="." index="8" unique_id=1036763893] +material_override = SubResource("StandardMaterial3D_3bgk5") +cast_shadow = 0 diff --git a/scenes/main.scn b/scenes/main.scn new file mode 100644 index 0000000..53f12e2 Binary files /dev/null and b/scenes/main.scn differ diff --git a/scenes/main.scn.depren b/scenes/main.scn.depren new file mode 100644 index 0000000..70e8398 Binary files /dev/null and b/scenes/main.scn.depren differ diff --git a/scenes/menu.tscn b/scenes/menu.tscn new file mode 100644 index 0000000..12c6707 --- /dev/null +++ b/scenes/menu.tscn @@ -0,0 +1,172 @@ +[gd_scene format=3 uid="uid://b26lewmnsfj8a"] + +[ext_resource type="Script" uid="uid://de33ywim0v35a" path="res://scripts/menu.gd" id="1_ufwb2"] +[ext_resource type="Texture2D" uid="uid://dt6ya80yl0g46" path="res://assets/img/textures/cin60137.jpg" id="3_v86rl"] +[ext_resource type="Texture2D" uid="uid://cdnkgbmh886ry" path="res://assets/img/ui/fr_b.png" id="5_v86rl"] +[ext_resource type="Shader" uid="uid://1we0jycvvn8u" path="res://assets/shader/pause.gdshader" id="13_6cdou"] +[ext_resource type="Texture2D" uid="uid://6pnnmpe5kfob" path="res://assets/img/textures/GRYDIRT2.JPG" id="14_7jp70"] +[ext_resource type="Texture2D" uid="uid://djdak04s0psnx" path="res://assets/img/sky/rogland_clear_night.jpg" id="14_i42df"] +[ext_resource type="Texture2D" uid="uid://mpo1px8jnlyq" path="res://assets/img/ui/en.png" id="17_3dmrc"] + +[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_7jp70"] +panorama = ExtResource("14_i42df") + +[sub_resource type="Sky" id="Sky_ilty0"] +sky_material = SubResource("PanoramaSkyMaterial_7jp70") + +[sub_resource type="Environment" id="Environment_mxgkd"] +background_mode = 2 +sky = SubResource("Sky_ilty0") +tonemap_mode = 2 + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_13sgg"] +albedo_texture = ExtResource("3_v86rl") + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_6cdou"] +shader = ExtResource("13_6cdou") +shader_parameter/lod = 0.0 + +[sub_resource type="ViewportTexture" id="ViewportTexture_6cdou"] +viewport_path = NodePath("Sprite3D/SubViewport") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mxgkd"] +texture = ExtResource("14_7jp70") +texture_margin_left = 117.0 +modulate_color = Color(0.21768793, 0.19432282, 0.106170125, 1) + +[node name="Menu" type="Node3D" unique_id=1064277368] +script = ExtResource("1_ufwb2") + +[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1329831783] +environment = SubResource("Environment_mxgkd") + +[node name="floor" type="CSGBox3D" parent="." unique_id=1868334949] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24.59195, 0.11557007, 0) +material_override = SubResource("StandardMaterial3D_13sgg") +use_collision = true +size = Vector3(106.67551, 1, 54.07837) + +[node name="Camera3D" type="Camera3D" parent="." unique_id=1267348627] +transform = Transform3D(-0.8448849, -0.06828018, 0.5305728, -0.013883759, 0.9942856, 0.10584749, -0.5347682, 0.0820626, -0.84100455, 12.470481, 2.312337, 0.3884548) + +[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=1178058258] +anchors_preset = 7 +anchor_left = 0.5 +anchor_top = 1.0 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -455.0 +offset_top = -159.0 +offset_right = 399.0 +offset_bottom = -96.0 +grow_horizontal = 2 +grow_vertical = 0 +size_flags_horizontal = 4 + +[node name="Start" type="Button" parent="HBoxContainer" unique_id=1727461751] +layout_mode = 2 +theme_override_font_sizes/font_size = 40 +text = "Commencer" + +[node name="i" type="Button" parent="HBoxContainer" unique_id=944988885] +material = SubResource("ShaderMaterial_6cdou") +layout_mode = 2 +theme_override_font_sizes/font_size = 40 +text = " " + +[node name="Quit" type="Button" parent="HBoxContainer" unique_id=2068217536] +layout_mode = 2 +theme_override_font_sizes/font_size = 40 +text = "Quitter" + +[node name="i2" type="Button" parent="HBoxContainer" unique_id=1363635639] +material = SubResource("ShaderMaterial_6cdou") +layout_mode = 2 +theme_override_font_sizes/font_size = 40 +text = " " + +[node name="Credit" type="Button" parent="HBoxContainer" unique_id=1678492232] +layout_mode = 2 +theme_override_font_sizes/font_size = 40 +text = "Credits" + +[node name="i3" type="Button" parent="HBoxContainer" unique_id=1912463808] +material = SubResource("ShaderMaterial_6cdou") +layout_mode = 2 +theme_override_font_sizes/font_size = 40 +text = " " + +[node name="fr" type="TextureButton" parent="HBoxContainer" unique_id=151038084] +z_index = 1 +layout_mode = 2 +size_flags_vertical = 4 +texture_normal = ExtResource("5_v86rl") + +[node name="i4" type="Button" parent="HBoxContainer" unique_id=448501036] +material = SubResource("ShaderMaterial_6cdou") +layout_mode = 2 +theme_override_font_sizes/font_size = 40 +text = " " + +[node name="en" type="TextureButton" parent="HBoxContainer" unique_id=733177303] +layout_mode = 2 +size_flags_vertical = 4 +texture_normal = ExtResource("17_3dmrc") + +[node name="HBoxContainer2" type="HBoxContainer" parent="." unique_id=1520013053] +anchors_preset = 7 +anchor_left = 0.5 +anchor_top = 1.0 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -84.5 +offset_top = -63.0 +offset_right = 84.5 +grow_horizontal = 2 +grow_vertical = 0 + +[node name="Screen" type="Button" parent="HBoxContainer2" unique_id=1175982664] +layout_mode = 2 +theme_override_font_sizes/font_size = 30 +text = "Plein ecran" + +[node name="Sprite3D" type="Sprite3D" parent="." unique_id=340944975] +transform = Transform3D(0.082015246, 0.02591525, 0.99629414, -0.00212616, 0.99966425, -0.025827877, -0.9966288, -1.0481225e-09, 0.08204281, 1.1284189, 7.4036493, -3.3047075) +texture = SubResource("ViewportTexture_6cdou") + +[node name="SubViewport" type="SubViewport" parent="Sprite3D" unique_id=732684053] +size = Vector2i(1110, 1240) + +[node name="credit_label" type="Label" parent="Sprite3D/SubViewport" unique_id=924928650] +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -251.5 +offset_top = -317.5 +offset_right = 251.5 +offset_bottom = 317.5 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_font_sizes/font_size = 80 +theme_override_styles/normal = SubResource("StyleBoxTexture_mxgkd") +text = "Credits + +Jeu : Pouet + +Sons : Playable Workshop, +Pixabay + +Musique : Pouet + +Textures : TextureTown +Ciel : Poly Haven" +horizontal_alignment = 1 + +[connection signal="pressed" from="HBoxContainer/Start" to="." method="_on_start_pressed"] +[connection signal="pressed" from="HBoxContainer/Quit" to="." method="_on_quit_pressed"] +[connection signal="pressed" from="HBoxContainer/Credit" to="." method="_on_credit_pressed"] +[connection signal="pressed" from="HBoxContainer/fr" to="." method="_on_fr_pressed"] +[connection signal="pressed" from="HBoxContainer/en" to="." method="_on_en_pressed"] +[connection signal="pressed" from="HBoxContainer2/Screen" to="." method="_on_screen_pressed"] diff --git a/scenes/mountains.tscn b/scenes/mountains.tscn new file mode 100644 index 0000000..44ce3e4 --- /dev/null +++ b/scenes/mountains.tscn @@ -0,0 +1,5 @@ +[gd_scene format=3 uid="uid://cy7bho7n2htt6"] + +[ext_resource type="PackedScene" uid="uid://dbj7lpj43ul8q" path="res://assets/blender/mountains.glb" id="1_7t4qa"] + +[node name="mountains" unique_id=1489049164 instance=ExtResource("1_7t4qa")] diff --git a/scenes/mountainsbis.tscn b/scenes/mountainsbis.tscn new file mode 100644 index 0000000..12f2362 --- /dev/null +++ b/scenes/mountainsbis.tscn @@ -0,0 +1,5 @@ +[gd_scene format=3 uid="uid://dfir65uo78s83"] + +[ext_resource type="PackedScene" uid="uid://bql0h0h5nkgex" path="res://assets/blender/mountainsbis.glb" id="1_ax20v"] + +[node name="mountainsbis" unique_id=1420881740 instance=ExtResource("1_ax20v")] diff --git a/scenes/player.tscn b/scenes/player.tscn new file mode 100644 index 0000000..7e25b97 --- /dev/null +++ b/scenes/player.tscn @@ -0,0 +1,67 @@ +[gd_scene format=3 uid="uid://bhqudfixefudt"] + +[ext_resource type="Script" uid="uid://dcfljv6govi7a" path="res://scripts/player.gd" id="1_3vyb7"] +[ext_resource type="Script" uid="uid://d2qmolg6y1gq2" path="res://scripts/spring_arm_3d.gd" id="2_g2els"] +[ext_resource type="PackedScene" uid="uid://cm68vgjltv8fo" path="res://assets/blender/player.glb" id="2_qlg0r"] +[ext_resource type="PackedScene" uid="uid://bdh2q1npebnwu" path="res://ui/pause.tscn" id="3_qhqgy"] +[ext_resource type="Script" uid="uid://1ihmscldye3u" path="res://scripts/camera_pov.gd" id="5_qlg0r"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_u8vuu"] +size = Vector3(0.6230469, 1.8208008, 0.63305664) + +[sub_resource type="ViewportTexture" id="ViewportTexture_3vyb7"] +viewport_path = NodePath("SpriteTuto/SubViewport") + +[node name="Player" type="CharacterBody3D" unique_id=219675862 groups=["player"]] +script = ExtResource("1_3vyb7") + +[node name="model" parent="." unique_id=1210894604 instance=ExtResource("2_qlg0r")] +transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0) + +[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=704927304] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9104004, 0) +shape = SubResource("BoxShape3D_u8vuu") + +[node name="arm" type="Node3D" parent="." unique_id=400369090] + +[node name="SpringArm3D" type="SpringArm3D" parent="arm" unique_id=410437854] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.389, 0.77346754) +spring_length = 4.0 +script = ExtResource("2_g2els") + +[node name="Camera3D" type="Camera3D" parent="arm/SpringArm3D" unique_id=755136596] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.335144e-05, 0.00032949448) + +[node name="SpriteTuto" type="Sprite3D" parent="." unique_id=1739812786] +transform = Transform3D(1, 0, 0, 0, 0.4673591, 0.88406765, 0, -0.88406765, 0.4673591, 0, 0.3026433, -2.019) +visible = false +layers = 512 +modulate = Color(1, 0.5058824, 0.41568628, 1) +texture = SubResource("ViewportTexture_3vyb7") + +[node name="SubViewport" type="SubViewport" parent="SpriteTuto" unique_id=191166233] +size = Vector2i(512, 128) + +[node name="Label" type="Label" parent="SpriteTuto/SubViewport" unique_id=1928076689] +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -210.0 +offset_top = -24.5 +offset_right = 210.0 +offset_bottom = 24.5 +grow_horizontal = 2 +grow_vertical = 2 +text = "Scroll Avant : Avancer, Clic Gauche : Attraper une prise" + +[node name="Audio_Footstep" type="AudioStreamPlayer3D" parent="." unique_id=1235221918] +volume_db = -8.0 +max_db = 2.0 + +[node name="pause" parent="." unique_id=863144941 instance=ExtResource("3_qhqgy")] + +[node name="Camera3D_POV" type="Camera3D" parent="." unique_id=165893191] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4650376, -0.28022408) +script = ExtResource("5_qlg0r") diff --git a/scenes/watermill.tscn b/scenes/watermill.tscn new file mode 100644 index 0000000..af22fa5 --- /dev/null +++ b/scenes/watermill.tscn @@ -0,0 +1,89 @@ +[gd_scene format=3 uid="uid://chbs5jfs86v06"] + +[ext_resource type="PackedScene" uid="uid://cbs0co0x4nh7e" path="res://assets/blender/watermill.glb" id="1_qh1o0"] +[ext_resource type="PackedScene" uid="uid://bh8vfparu1fi" path="res://assets/blender/bridge.glb" id="2_go4xj"] +[ext_resource type="Texture2D" uid="uid://d2mdeewkh0uyg" path="res://assets/img/textures/millwall.png" id="2_nhhsb"] +[ext_resource type="Texture2D" uid="uid://thvfy2fr8xxp" path="res://assets/img/normals/millwalls.png" id="3_ih40e"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ih40e"] +albedo_texture = ExtResource("2_nhhsb") +normal_enabled = true +normal_texture = ExtResource("3_ih40e") +uv1_offset = Vector3(0.275, -0.085, 0) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sym4d"] +albedo_color = Color(0.5770089, 0.57700825, 0.57700837, 1) +albedo_texture = ExtResource("2_nhhsb") +uv1_scale = Vector3(0.5, 0.5, 0.5) +uv1_offset = Vector3(0.225, 0.535, 0) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ky2aw"] +albedo_texture = ExtResource("2_nhhsb") +normal_enabled = true +normal_texture = ExtResource("3_ih40e") +uv1_offset = Vector3(0.07, 0.19, 0.15) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gp8kn"] +albedo_color = Color(0.5770089, 0.57700825, 0.57700837, 1) +albedo_texture = ExtResource("2_nhhsb") +uv1_scale = Vector3(0.2, 0.2, 0.2) +uv1_offset = Vector3(0.145, 0.26, 0) + +[node name="watermill" type="Node3D" unique_id=237331475] + +[node name="CSGBox3D" type="CSGBox3D" parent="." unique_id=1426052152] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.807129, 0, -19.118164) +size = Vector3(43, 1, 81.52319) + +[node name="watermill" parent="." unique_id=1128474412 instance=ExtResource("1_qh1o0")] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -16.495707, 9.393879, -0.027528882) + +[node name="barre" type="CSGBox3D" parent="watermill" unique_id=1050503105] +transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 8.631642, 0.051800728, -0.0026101172) +size = Vector3(15.339844, 1, 1) + +[node name="tower" type="Node3D" parent="." unique_id=1055938531] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3) + +[node name="tower" type="CSGBox3D" parent="tower" unique_id=1808539919] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.2113457, 20.454132, 14.775812) +size = Vector3(18.272583, 41.908264, 18.60254) +material = SubResource("StandardMaterial3D_ih40e") + +[node name="fake_window" type="CSGBox3D" parent="tower/tower" unique_id=1747953357] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.164856, 16, 0) +size = Vector3(0.14807129, 3, 6) +material = SubResource("StandardMaterial3D_sym4d") + +[node name="CSGPolygon3D" type="CSGPolygon3D" parent="tower" unique_id=577665090] +transform = Transform3D(-0.70710665, 0, -0.70710665, 0, 1, 0, 0.70710665, 0, -0.70710665, 5.2754936, 41.472553, 14.775812) +polygon = PackedVector2Array(0, 0, 0, 9, 4, 8, 12.865, 0) +mode = 1 +spin_degrees = 360.0 +spin_sides = 4 + +[node name="tower2" type="Node3D" parent="." unique_id=1359331711] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25319433, 0, -26) + +[node name="tower" type="CSGBox3D" parent="tower2" unique_id=661899249] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.2113457, 20.454132, 14.775812) +size = Vector3(18.272583, 41.908264, 18.60254) +material = SubResource("StandardMaterial3D_ky2aw") + +[node name="fake_window" type="CSGBox3D" parent="tower2/tower" unique_id=1396805202] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.164856, 17, 5) +size = Vector3(0.14807129, 3, 4) +material = SubResource("StandardMaterial3D_gp8kn") + +[node name="fake_window2" type="CSGBox3D" parent="tower2/tower" unique_id=809058771] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.164856, 9, 5) +size = Vector3(0.14807129, 4, 4) +material = SubResource("StandardMaterial3D_gp8kn") + +[node name="fake_window3" type="CSGBox3D" parent="tower2/tower" unique_id=485509546] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.164856, 17, -1) +size = Vector3(0.14807129, 3, 3) +material = SubResource("StandardMaterial3D_gp8kn") + +[node name="bridge" parent="." unique_id=37247320 instance=ExtResource("2_go4xj")] +transform = Transform3D(5, 0, 2.842171e-14, 0, 5, 0, -2.842171e-14, 0, 5, -19.919495, 0, -42.812706) diff --git a/scripts/camera_pov.gd b/scripts/camera_pov.gd new file mode 100644 index 0000000..eacc4ad --- /dev/null +++ b/scripts/camera_pov.gd @@ -0,0 +1,11 @@ +extends Camera3D + +@onready var player: CharacterBody3D = $".." + +var sensitivity = 0.008 + +func _unhandled_input(event: InputEvent) -> void: + if event is InputEventMouseMotion and not get_tree().paused: + player.rotate_y(-event.relative.x * sensitivity) + player.camera_pov.rotate_x(-event.relative.y * sensitivity) + player.camera_pov.rotation.x=clamp(player.camera_pov.rotation.x,deg_to_rad(-90),deg_to_rad(90)) diff --git a/scripts/camera_pov.gd.uid b/scripts/camera_pov.gd.uid new file mode 100644 index 0000000..668600a --- /dev/null +++ b/scripts/camera_pov.gd.uid @@ -0,0 +1 @@ +uid://1ihmscldye3u diff --git a/scripts/menu.gd b/scripts/menu.gd new file mode 100644 index 0000000..334e24b --- /dev/null +++ b/scripts/menu.gd @@ -0,0 +1,83 @@ +extends Node3D + +@onready var camera: Camera3D = $Camera3D + +# BOUTONS +@onready var start: Button = $HBoxContainer/Start +@onready var quit: Button = $HBoxContainer/Quit +@onready var credit: Button = $HBoxContainer/Credit + +@onready var fr: TextureButton = $HBoxContainer/fr +@onready var en: TextureButton = $HBoxContainer/en +@onready var screen: Button = $HBoxContainer2/Screen + +@onready var credit_label: Label = $Sprite3D/SubViewport/credit_label + +var but_credit_exist : bool = true + +var cible_rot_y +var cible_rot_x + +func _ready() -> void: + Sauvegarde.is_in_menu = true + + load_lang(Sauvegarde.language) + if Sauvegarde.language == "en": + en.texture_normal = preload("uid://bdcehsogmfiv2") + fr.texture_normal = preload("uid://dusujvur4igj4") + screen.text = Sauvegarde.get_text("window_screen") + + cible_rot_y = deg_to_rad( 147.8 ) + cible_rot_x = deg_to_rad( -6.1 ) + + +func _on_start_pressed() -> void: + get_tree().change_scene_to_file( "res://scenes/main.scn" ) + Sauvegarde.is_in_menu = false + +func _on_quit_pressed() -> void: + get_tree().quit() + +func _physics_process(delta: float) -> void: + camera.rotation.y = lerp_angle(camera.rotation.y, cible_rot_y, 3 * delta) + camera.rotation.x = lerp_angle(camera.rotation.x, cible_rot_x, 3 * delta) + +func _on_credit_pressed() -> void: + cible_rot_y = deg_to_rad(100) + cible_rot_x = deg_to_rad(16) + credit.queue_free() + but_credit_exist = false + + +func _on_fr_pressed() -> void: + fr.texture_normal = preload("uid://cdnkgbmh886ry") + en.texture_normal = preload("uid://mpo1px8jnlyq") + + load_lang("fr") + +func _on_en_pressed() -> void: + en.texture_normal = preload("uid://bdcehsogmfiv2") + fr.texture_normal = preload("uid://dusujvur4igj4") + + load_lang("en") + +func _on_screen_pressed() -> void: + if get_window().mode == Window.MODE_FULLSCREEN: + get_window().mode = Window.MODE_WINDOWED + screen.text = Sauvegarde.get_text("full_screen") + else: + get_window().mode = Window.MODE_FULLSCREEN + screen.text = Sauvegarde.get_text("window_screen") + +func load_lang(l): + Sauvegarde.language = l + start.text = Sauvegarde.get_text("start") + quit.text = Sauvegarde.get_text("quit") + if but_credit_exist : + credit.text = Sauvegarde.get_text("credit") + if get_window().mode == Window.MODE_FULLSCREEN: + screen.text = Sauvegarde.get_text("window_screen") + else: + screen.text = Sauvegarde.get_text("full_screen") + + credit_label.text = Sauvegarde.get_text("credit_detail") diff --git a/scripts/menu.gd.uid b/scripts/menu.gd.uid new file mode 100644 index 0000000..52ca1d8 --- /dev/null +++ b/scripts/menu.gd.uid @@ -0,0 +1 @@ +uid://de33ywim0v35a diff --git a/scripts/pause.gd b/scripts/pause.gd new file mode 100644 index 0000000..1cbbd51 --- /dev/null +++ b/scripts/pause.gd @@ -0,0 +1,39 @@ +extends Control + +# Buttons +@onready var resume_but: Button = $ColorRect/PanelContainer/VBoxContainer/Resume +@onready var restart: Button = $ColorRect/PanelContainer/VBoxContainer/Restart +@onready var menu: Button = $ColorRect/PanelContainer/VBoxContainer/Menu + +func _ready() -> void: + hide() + $AnimationPlayer.play("RESET") + + resume_but.text = Sauvegarde.get_text("resume") + restart.text = Sauvegarde.get_text("restart") + menu.text = Sauvegarde.get_text("menu") + + +func resume(): + get_tree().paused = false + hide() + Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) + $AnimationPlayer.play_backwards("blur") + +func pause(): + get_tree().paused = true + show() + Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) + $AnimationPlayer.play("blur") + +func _on_resume_pressed() -> void: + resume() + +func _on_restart_pressed() -> void: + resume() + get_tree().reload_current_scene() + + +func _on_menu_pressed() -> void: + get_tree().paused = false + get_tree().change_scene_to_file( "res://scenes/menu.tscn" ) diff --git a/scripts/pause.gd.uid b/scripts/pause.gd.uid new file mode 100644 index 0000000..4890b13 --- /dev/null +++ b/scripts/pause.gd.uid @@ -0,0 +1 @@ +uid://bw3lylyfu7lds diff --git a/scripts/player.gd b/scripts/player.gd new file mode 100644 index 0000000..2faa853 --- /dev/null +++ b/scripts/player.gd @@ -0,0 +1,89 @@ +extends CharacterBody3D + + +var SPEED = 20 +var JUMP_VELOCITY = 8 + +@onready var arm: Node3D = $arm +@onready var model: Node3D = $model + +# GESTION CAMERA -------------------------- +@onready var spring_arm: SpringArm3D = $arm/SpringArm3D +@onready var camera: Camera3D = $arm/SpringArm3D/Camera3D +@onready var camera_pov: Camera3D = $Camera3D_POV +var third_person : bool = true + +@onready var sprite_tuto: Sprite3D = $SpriteTuto +@onready var label_tuto: Label = $SpriteTuto/SubViewport/Label + +@onready var audio_footstep: AudioStreamPlayer3D = $Audio_Footstep +var footstep_sounds: Array[AudioStream] = [ + preload("res://assets/audio/footsteps/dirt_step_1.wav"), + preload("res://assets/audio/footsteps/dirt_step_2.wav"), + preload("res://assets/audio/footsteps/dirt_step_3.wav"), + preload("res://assets/audio/footsteps/dirt_step_4.wav") +] +var footstep_timer: float = 0.0 +const FOOTSTEP_DELAY: float = 0.15 + +@onready var pause: Control = $pause + +var can_play : bool = true + + +func _ready(): + Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) + label_tuto.text = Sauvegarde.get_text("tuto_1") + + if third_person: + camera.make_current() + else: + camera_pov.make_current() + model.visible = false + +func _input(_event): + if Input.is_action_just_pressed("ui_cancel"): + if !get_tree().paused: + pause.pause() + else: + pause.resume() + + +func _physics_process(delta: float) -> void: + # Add the gravity. + if not is_on_floor(): + velocity += get_gravity() * delta + + # Handle jump + if Input.is_action_just_pressed("ui_accept") and is_on_floor(): + velocity.y = JUMP_VELOCITY + + # Get the input direction and handle the movement/deceleration. + var input_dir := Input.get_vector("ui_left", "ui_right", "ui_up", "ui_down") + var direction := (transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized() + if direction: + velocity.x = direction.x * SPEED + velocity.z = direction.z * SPEED + else: + velocity.x = move_toward(velocity.x, 0, SPEED) + velocity.z = move_toward(velocity.z, 0, SPEED) + + # footstep sounds + if is_on_floor() and Vector2(velocity.x, velocity.z).length() > 0.5: + footstep_timer -= delta + if footstep_timer <= 0.0: + play_random_footstep() + footstep_timer = FOOTSTEP_DELAY + else: + footstep_timer = 0.0 + + if can_play: + move_and_slide() + + +func play_random_footstep( pitch=[0.85, 1.15] ) -> void: + var random_index = randi() % footstep_sounds.size() + audio_footstep.stream = footstep_sounds[random_index] + + audio_footstep.pitch_scale = randf_range( pitch[0], pitch[1] ) + audio_footstep.play() diff --git a/scripts/player.gd.uid b/scripts/player.gd.uid new file mode 100644 index 0000000..1e2df1e --- /dev/null +++ b/scripts/player.gd.uid @@ -0,0 +1 @@ +uid://dcfljv6govi7a diff --git a/scripts/sauvegarde.gd b/scripts/sauvegarde.gd new file mode 100644 index 0000000..d6dcae4 --- /dev/null +++ b/scripts/sauvegarde.gd @@ -0,0 +1,15 @@ +extends Node +var is_in_menu : bool = false + +var language = "fr" + +var trad +func _ready() -> void: + var file = FileAccess.open("res://lang.json", FileAccess.READ) + var json_text = file.get_as_text() + var json = JSON.new() + var error = json.parse(json_text) + trad = json.data + +func get_text(key): + return trad[language][key] diff --git a/scripts/sauvegarde.gd.uid b/scripts/sauvegarde.gd.uid new file mode 100644 index 0000000..8615309 --- /dev/null +++ b/scripts/sauvegarde.gd.uid @@ -0,0 +1 @@ +uid://cu2fmy0ptf48t diff --git a/scripts/spring_arm_3d.gd b/scripts/spring_arm_3d.gd new file mode 100644 index 0000000..7d0800a --- /dev/null +++ b/scripts/spring_arm_3d.gd @@ -0,0 +1,12 @@ +extends SpringArm3D + +@onready var player: CharacterBody3D = $"../.." + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _unhandled_input(event: InputEvent) -> void: + if player.third_person and event is InputEventMouseMotion : + player.rotation.y -= event.relative.x * 0.005 + player.rotation.y = wrapf( player.rotation.y, 0.0, TAU ) + + rotation.x -= event.relative.y * 0.005 + rotation.x = clamp( rotation.x, -PI/2, PI/4 ) diff --git a/scripts/spring_arm_3d.gd.uid b/scripts/spring_arm_3d.gd.uid new file mode 100644 index 0000000..6b77773 --- /dev/null +++ b/scripts/spring_arm_3d.gd.uid @@ -0,0 +1 @@ +uid://d2qmolg6y1gq2 diff --git a/ui/pause.tscn b/ui/pause.tscn new file mode 100644 index 0000000..0b4e14e --- /dev/null +++ b/ui/pause.tscn @@ -0,0 +1,208 @@ +[gd_scene format=3 uid="uid://bdh2q1npebnwu"] + +[ext_resource type="Shader" uid="uid://1we0jycvvn8u" path="res://assets/shader/pause.gdshader" id="1_f1d2v"] +[ext_resource type="Script" uid="uid://bw3lylyfu7lds" path="res://scripts/pause.gd" id="1_r8yp4"] + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_r8yp4"] +shader = ExtResource("1_f1d2v") +shader_parameter/lod = 0.0 + +[sub_resource type="Animation" id="Animation_m0klm"] +length = 0.001 +tracks/0/type = "bezier" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ColorRect:material:shader_parameter/lod") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"handle_modes": PackedInt32Array(0), +"points": PackedFloat32Array(0, -0.15, 0, 0.15, 0), +"times": PackedFloat32Array(0) +} +tracks/1/type = "bezier" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("ColorRect/PanelContainer:modulate:r") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"handle_modes": PackedInt32Array(0), +"points": PackedFloat32Array(1, -0.0005, 0, 0.0005, 0), +"times": PackedFloat32Array(0) +} +tracks/2/type = "bezier" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("ColorRect/PanelContainer:modulate:g") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"handle_modes": PackedInt32Array(0), +"points": PackedFloat32Array(1, -0.0005, 0, 0.0005, 0), +"times": PackedFloat32Array(0) +} +tracks/3/type = "bezier" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("ColorRect/PanelContainer:modulate:b") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"handle_modes": PackedInt32Array(0), +"points": PackedFloat32Array(1, -0.0005, 0, 0.0005, 0), +"times": PackedFloat32Array(0) +} +tracks/4/type = "bezier" +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/path = NodePath("ColorRect/PanelContainer:modulate:a") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/keys = { +"handle_modes": PackedInt32Array(0), +"points": PackedFloat32Array(0, -0.0005, 0, 0.0005, 0), +"times": PackedFloat32Array(0) +} + +[sub_resource type="Animation" id="Animation_aicil"] +resource_name = "blur" +length = 0.6333333 +tracks/0/type = "bezier" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ColorRect:material:shader_parameter/lod") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"handle_modes": PackedInt32Array(0, 2), +"points": PackedFloat32Array(0, -0.15, 0, 0.15, 0, 0.8, -0.050000004, -0.13333334, 0, 0), +"times": PackedFloat32Array(0, 0.3) +} +tracks/1/type = "bezier" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("ColorRect/PanelContainer:modulate:r") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"handle_modes": PackedInt32Array(0, 2), +"points": PackedFloat32Array(1, -0.0005, 0, 0.0005, 0, 1, -0.050000004, 0, 0, 0), +"times": PackedFloat32Array(0, 0.3) +} +tracks/2/type = "bezier" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("ColorRect/PanelContainer:modulate:g") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"handle_modes": PackedInt32Array(0, 2), +"points": PackedFloat32Array(1, -0.0005, 0, 0.0005, 0, 1, -0.050000004, 0, 0, 0), +"times": PackedFloat32Array(0, 0.3) +} +tracks/3/type = "bezier" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("ColorRect/PanelContainer:modulate:b") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"handle_modes": PackedInt32Array(0, 2), +"points": PackedFloat32Array(1, -0.0005, 0, 0.0005, 0, 1, -0.050000004, 0, 0, 0), +"times": PackedFloat32Array(0, 0.3) +} +tracks/4/type = "bezier" +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/path = NodePath("ColorRect/PanelContainer:modulate:a") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/keys = { +"handle_modes": PackedInt32Array(0, 2), +"points": PackedFloat32Array(0, -0.0005, 0, 0.0005, 0, 1, -0.050000004, -0.16666667, 0, 0), +"times": PackedFloat32Array(0, 0.3) +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_jn4bt"] +_data = { +&"RESET": SubResource("Animation_m0klm"), +&"blur": SubResource("Animation_aicil") +} + +[node name="pause" type="Control" unique_id=863144941] +process_mode = 2 +layout_mode = 3 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -374.0 +offset_top = -216.0 +offset_right = 374.0 +offset_bottom = 216.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_r8yp4") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=641382320] +material = SubResource("ShaderMaterial_r8yp4") +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -576.0 +offset_top = -324.0 +offset_right = 576.0 +offset_bottom = 324.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="PanelContainer" type="PanelContainer" parent="ColorRect" unique_id=538488732] +modulate = Color(1, 1, 1, 0) +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -212.5 +offset_top = -166.5 +offset_right = 212.5 +offset_bottom = 166.5 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect/PanelContainer" unique_id=996680090] +layout_mode = 2 +size_flags_horizontal = 4 +theme_override_constants/separation = 30 +alignment = 1 + +[node name="Resume" type="Button" parent="ColorRect/PanelContainer/VBoxContainer" unique_id=1797402879] +layout_mode = 2 +size_flags_horizontal = 5 +theme_override_font_sizes/font_size = 60 +text = "Continuer" + +[node name="Restart" type="Button" parent="ColorRect/PanelContainer/VBoxContainer" unique_id=1625445820] +layout_mode = 2 +size_flags_horizontal = 5 +theme_override_font_sizes/font_size = 60 +text = "Recommencer" + +[node name="Menu" type="Button" parent="ColorRect/PanelContainer/VBoxContainer" unique_id=1445169436] +layout_mode = 2 +size_flags_horizontal = 5 +theme_override_font_sizes/font_size = 60 +text = "Menu" + +[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1393900707] +libraries/ = SubResource("AnimationLibrary_jn4bt") + +[connection signal="pressed" from="ColorRect/PanelContainer/VBoxContainer/Resume" to="." method="_on_resume_pressed"] +[connection signal="pressed" from="ColorRect/PanelContainer/VBoxContainer/Restart" to="." method="_on_restart_pressed"] +[connection signal="pressed" from="ColorRect/PanelContainer/VBoxContainer/Menu" to="." method="_on_menu_pressed"]