commit 9da06c11a116875a0e754c692fd5cc33a90b8330 Author: AmanIbrash-brsh Date: Sat Jul 25 23:45:47 2026 +0500 На половину готовая версия, есть ходьба тени, скажем что это версия 1.0 релиз 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/Main.tscn b/Main.tscn new file mode 100644 index 0000000..cd881e8 --- /dev/null +++ b/Main.tscn @@ -0,0 +1,65 @@ +[gd_scene format=3 uid="uid://djk5pbfui7ks7"] + +[ext_resource type="Texture2D" uid="uid://dwplniouc0rmw" path="res://Materials/grass/Poliigon_GrassPatchyGround_4585_BaseColor.jpg" id="2_3dxm6"] +[ext_resource type="Texture2D" uid="uid://dmrry3rrnwsej" path="res://Materials/grass/Poliigon_GrassPatchyGround_4585_Normal.png" id="3_lgr22"] +[ext_resource type="Texture2D" uid="uid://cfsjjd835bv75" path="res://Materials/grass/Poliigon_GrassPatchyGround_4585_Roughness.jpg" id="4_trn2v"] +[ext_resource type="PackedScene" uid="uid://c3efk6k8xnf57" path="res://Player.tscn" id="5_03owx"] +[ext_resource type="Texture2D" uid="uid://bbjv5hawxe2oy" path="res://landscape/citrus_orchard_road_puresky_2k.hdr" id="6_3dxm6"] + +[sub_resource type="PlaneMesh" id="PlaneMesh_bcw3a"] +size = Vector2(1000, 1000) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h8axm"] +albedo_texture = ExtResource("2_3dxm6") +roughness_texture = ExtResource("4_trn2v") +normal_enabled = true +normal_texture = ExtResource("3_lgr22") +uv1_scale = Vector3(99, 99, 99) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_tereu"] +data = PackedVector3Array(500, 0, 500, -500, 0, 500, 500, 0, -500, -500, 0, 500, -500, 0, -500, 500, 0, -500) + +[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_0yd22"] +panorama = ExtResource("6_3dxm6") +energy_multiplier = 0.5 + +[sub_resource type="Sky" id="Sky_k6m4d"] +sky_material = SubResource("PanoramaSkyMaterial_0yd22") + +[sub_resource type="Environment" id="Environment_h8axm"] +background_mode = 2 +sky = SubResource("Sky_k6m4d") +sky_custom_fov = 41.8 +ambient_light_source = 3 +glow_enabled = true + +[node name="main_world" type="Node3D" unique_id=452092728] + +[node name="Ground" type="StaticBody3D" parent="." unique_id=1859166560] +metadata/_edit_lock_ = true + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground" unique_id=1414465590] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.039506912, 0.023232937, -0.036078453) +mesh = SubResource("PlaneMesh_bcw3a") +surface_material_override/0 = SubResource("StandardMaterial3D_h8axm") +metadata/_edit_lock_ = true + +[node name="StaticBody3D" type="StaticBody3D" parent="Ground/MeshInstance3D" unique_id=32266743] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.039690018, -0.013710499, 0.029706955) + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/MeshInstance3D/StaticBody3D" unique_id=1892814998] +shape = SubResource("ConcavePolygonShape3D_tereu") + +[node name="CharacterBody3D" parent="." unique_id=365865796 instance=ExtResource("5_03owx")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.4852746, 1.449548, 2.3875265) + +[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1416601606] +environment = SubResource("Environment_h8axm") + +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment" unique_id=1348596878] +transform = Transform3D(1, 0, 0, 0, -0.5948227, 0.8038569, 0, -0.8038569, -0.5948227, 0, 0, 0) +shadow_enabled = true +shadow_bias = 0.0 +shadow_normal_bias = 2.349 +shadow_blur = 6.814 +metadata/_edit_lock_ = true diff --git a/Materials/grass/Poliigon_GrassPatchyGround_4585.mtlx b/Materials/grass/Poliigon_GrassPatchyGround_4585.mtlx new file mode 100644 index 0000000..433d04c --- /dev/null +++ b/Materials/grass/Poliigon_GrassPatchyGround_4585.mtlx @@ -0,0 +1,2 @@ + + diff --git a/Materials/grass/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg b/Materials/grass/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg new file mode 100644 index 0000000..833b7cb Binary files /dev/null and b/Materials/grass/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg differ diff --git a/Materials/grass/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg.import b/Materials/grass/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg.import new file mode 100644 index 0000000..2aea176 --- /dev/null +++ b/Materials/grass/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://diri1nt1o3uom" +path="res://.godot/imported/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg-71413f4284520407db92f25c7723ce18.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Materials/grass/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg" +dest_files=["res://.godot/imported/Poliigon_GrassPatchyGround_4585_AmbientOcclusion.jpg-71413f4284520407db92f25c7723ce18.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/Materials/grass/Poliigon_GrassPatchyGround_4585_BaseColor.jpg b/Materials/grass/Poliigon_GrassPatchyGround_4585_BaseColor.jpg new file mode 100644 index 0000000..1001254 Binary files /dev/null and b/Materials/grass/Poliigon_GrassPatchyGround_4585_BaseColor.jpg differ diff --git a/Materials/grass/Poliigon_GrassPatchyGround_4585_BaseColor.jpg.import b/Materials/grass/Poliigon_GrassPatchyGround_4585_BaseColor.jpg.import new file mode 100644 index 0000000..8a7761f --- /dev/null +++ b/Materials/grass/Poliigon_GrassPatchyGround_4585_BaseColor.jpg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwplniouc0rmw" +path.s3tc="res://.godot/imported/Poliigon_GrassPatchyGround_4585_BaseColor.jpg-944eea5ecb26bd9d2d3beafd723209db.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://Materials/grass/Poliigon_GrassPatchyGround_4585_BaseColor.jpg" +dest_files=["res://.godot/imported/Poliigon_GrassPatchyGround_4585_BaseColor.jpg-944eea5ecb26bd9d2d3beafd723209db.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/Materials/grass/Poliigon_GrassPatchyGround_4585_Displacement.tiff b/Materials/grass/Poliigon_GrassPatchyGround_4585_Displacement.tiff new file mode 100644 index 0000000..62329d9 Binary files /dev/null and b/Materials/grass/Poliigon_GrassPatchyGround_4585_Displacement.tiff differ diff --git a/Materials/grass/Poliigon_GrassPatchyGround_4585_Metallic.jpg b/Materials/grass/Poliigon_GrassPatchyGround_4585_Metallic.jpg new file mode 100644 index 0000000..5e10f75 Binary files /dev/null and b/Materials/grass/Poliigon_GrassPatchyGround_4585_Metallic.jpg differ diff --git a/Materials/grass/Poliigon_GrassPatchyGround_4585_Metallic.jpg.import b/Materials/grass/Poliigon_GrassPatchyGround_4585_Metallic.jpg.import new file mode 100644 index 0000000..d9f9920 --- /dev/null +++ b/Materials/grass/Poliigon_GrassPatchyGround_4585_Metallic.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dq2ofsahfipu6" +path="res://.godot/imported/Poliigon_GrassPatchyGround_4585_Metallic.jpg-c9f1b911992c91b2b6af25f6dbd059af.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Materials/grass/Poliigon_GrassPatchyGround_4585_Metallic.jpg" +dest_files=["res://.godot/imported/Poliigon_GrassPatchyGround_4585_Metallic.jpg-c9f1b911992c91b2b6af25f6dbd059af.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/Materials/grass/Poliigon_GrassPatchyGround_4585_Normal.png b/Materials/grass/Poliigon_GrassPatchyGround_4585_Normal.png new file mode 100644 index 0000000..fb1ba09 Binary files /dev/null and b/Materials/grass/Poliigon_GrassPatchyGround_4585_Normal.png differ diff --git a/Materials/grass/Poliigon_GrassPatchyGround_4585_Normal.png.import b/Materials/grass/Poliigon_GrassPatchyGround_4585_Normal.png.import new file mode 100644 index 0000000..fe7a54d --- /dev/null +++ b/Materials/grass/Poliigon_GrassPatchyGround_4585_Normal.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dmrry3rrnwsej" +path.s3tc="res://.godot/imported/Poliigon_GrassPatchyGround_4585_Normal.png-23359acfdc5e692f1b8c6b62de298156.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://Materials/grass/Poliigon_GrassPatchyGround_4585_Normal.png" +dest_files=["res://.godot/imported/Poliigon_GrassPatchyGround_4585_Normal.png-23359acfdc5e692f1b8c6b62de298156.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://Materials/grass/Poliigon_GrassPatchyGround_4585_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/Materials/grass/Poliigon_GrassPatchyGround_4585_Roughness.jpg b/Materials/grass/Poliigon_GrassPatchyGround_4585_Roughness.jpg new file mode 100644 index 0000000..9bfd89d Binary files /dev/null and b/Materials/grass/Poliigon_GrassPatchyGround_4585_Roughness.jpg differ diff --git a/Materials/grass/Poliigon_GrassPatchyGround_4585_Roughness.jpg.import b/Materials/grass/Poliigon_GrassPatchyGround_4585_Roughness.jpg.import new file mode 100644 index 0000000..20d58ad --- /dev/null +++ b/Materials/grass/Poliigon_GrassPatchyGround_4585_Roughness.jpg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cfsjjd835bv75" +path.s3tc="res://.godot/imported/Poliigon_GrassPatchyGround_4585_Roughness.jpg-f8c8391d5fb2c5905f50275fc13d3765.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://Materials/grass/Poliigon_GrassPatchyGround_4585_Roughness.jpg" +dest_files=["res://.godot/imported/Poliigon_GrassPatchyGround_4585_Roughness.jpg-f8c8391d5fb2c5905f50275fc13d3765.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/Player.tscn b/Player.tscn new file mode 100644 index 0000000..2c511d5 --- /dev/null +++ b/Player.tscn @@ -0,0 +1,24 @@ +[gd_scene format=3 uid="uid://c3efk6k8xnf57"] + +[ext_resource type="Script" uid="uid://c22hclit1affa" path="res://character_body_3d.gd" id="1_iwpo4"] + +[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_h8axm"] +height = 2.3198242 + +[sub_resource type="CapsuleMesh" id="CapsuleMesh_bcw3a"] +radius = 0.34472656 +height = 2.3242188 + +[node name="CharacterBody3D" type="CharacterBody3D" unique_id=365865796] +script = ExtResource("1_iwpo4") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1618285171] +shape = SubResource("CapsuleShape3D_h8axm") +debug_color = Color(0, 0.6, 0.69803923, 1) + +[node name="Camera3D" type="Camera3D" parent="." unique_id=1749679416] +transform = Transform3D(1, 0, -1.7484555e-07, 0, 1, 0, 1.7484555e-07, 0, 1, 0, 0.9, 0) +fov = 59.9 + +[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=81801455] +mesh = SubResource("CapsuleMesh_bcw3a") diff --git a/character_body_3d.gd b/character_body_3d.gd new file mode 100644 index 0000000..4f81bf2 --- /dev/null +++ b/character_body_3d.gd @@ -0,0 +1,81 @@ +extends CharacterBody3D + +# Настройки скорости +const WALK_SPEED = 5.0 +const SPRINT_SPEED = 8.5 +const JUMP_VELOCITY = 4.5 + +# Настройки чувствительности мыши +@export var MOUSE_SENSITIVITY: float = 0.003 + +# --- Настройки тряски камеры (Head Bobbing) --- +const BOB_FREQ = 2.4 # Частота покачивания +const BOB_AMP = 0.08 # Амплитуда покачивания +var bob_time: float = 0.0 + +# Ссылки на узлы +@onready var head: Node3D = $Camera3D + +func _ready() -> void: + Input.mouse_mode = Input.MOUSE_MODE_CAPTURED + +func _unhandled_input(event: InputEvent) -> void: + if event.is_action_pressed("ui_cancel"): + Input.mouse_mode = Input.MOUSE_MODE_VISIBLE + + if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT: + Input.mouse_mode = Input.MOUSE_MODE_CAPTURED + + if event is InputEventMouseMotion and Input.mouse_mode == Input.MOUSE_MODE_CAPTURED: + rotate_y(-event.relative.x * MOUSE_SENSITIVITY) + head.rotate_x(-event.relative.y * MOUSE_SENSITIVITY) + head.rotation.x = clamp(head.rotation.x, deg_to_rad(-80), deg_to_rad(80)) + +func _physics_process(delta: float) -> void: + # 1. Гравитация + if not is_on_floor(): + velocity += get_gravity() * delta + + # 2. Прыжок на Пробел + if Input.is_key_pressed(KEY_SPACE) and is_on_floor(): + velocity.y = JUMP_VELOCITY + + # 3. Определение скорости (Спринт) + var current_speed := WALK_SPEED + if Input.is_key_pressed(KEY_SHIFT): + current_speed = SPRINT_SPEED + + # 4. Управление WASD + var input_dir := Vector2.ZERO + if Input.is_key_pressed(KEY_D): + input_dir.x += 1 + if Input.is_key_pressed(KEY_A): + input_dir.x -= 1 + if Input.is_key_pressed(KEY_S): + input_dir.y += 1 + if Input.is_key_pressed(KEY_W): + input_dir.y -= 1 + + input_dir = input_dir.normalized() + + # 5. Движение относительно взгляда персонажа + var direction := (transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized() + if direction: + velocity.x = direction.x * current_speed + velocity.z = direction.z * current_speed + else: + velocity.x = move_toward(velocity.x, 0, current_speed) + velocity.z = move_toward(velocity.z, 0, current_speed) + + # 6. Эффект тряски / раскачивания камеры (Head Bobbing) + bob_time += delta * velocity.length() * float(is_on_floor()) + head.transform.origin = _head_bob(bob_time) + + move_and_slide() + +# Функция расчета позиционирования камеры при шагах +func _head_bob(time: float) -> Vector3: + var pos := Vector3.ZERO + pos.y = sin(time * BOB_FREQ) * BOB_AMP + pos.x = cos(time * BOB_FREQ / 2) * BOB_AMP + return pos diff --git a/character_body_3d.gd.uid b/character_body_3d.gd.uid new file mode 100644 index 0000000..b859d92 --- /dev/null +++ b/character_body_3d.gd.uid @@ -0,0 +1 @@ +uid://c22hclit1affa diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..717def0 --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,171 @@ +[runnable_presets] + +"Windows Desktop"="Windows Desktop" +Linux="Linux" +Web="Web" + +[preset.0] + +name="Windows Desktop" +platform="Windows Desktop" +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../Мой Мирок.exe" +patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=false +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_64" +codesign/enable=false +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PackedStringArray() +application/modify_resources=true +application/icon="" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" +application/export_angle=0 +application/export_d3d12=0 +application/d3d12_agility_sdk_multiarch=true +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}' +$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}' +$trigger = New-ScheduledTaskTrigger -Once -At 00:00 +$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries +$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings +Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true +Start-ScheduledTask -TaskName godot_remote_debug +while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 } +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue" +ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue +Remove-Item -Recurse -Force '{temp_dir}'" + +[preset.1] + +name="Linux" +platform="Linux" +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../linux/server.x86_64" +patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=false +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_64" +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +pkill -x -f \"{temp_dir}/{exe_name} {cmd_args}\" +rm -rf \"{temp_dir}\"" + +[preset.2] + +name="Web" +platform="Web" +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../site/index.html" +patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.2.options] + +custom_template/debug="" +custom_template/release="" +variant/extensions_support=false +variant/thread_support=false +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=false +html/export_icon=true +html/custom_html_shell="" +html/head_include="" +html/canvas_resize_policy=2 +html/focus_canvas_on_start=true +html/experimental_virtual_keyboard=false +progressive_web_app/enabled=false +progressive_web_app/ensure_cross_origin_isolation_headers=true +progressive_web_app/offline_page="" +progressive_web_app/display=1 +progressive_web_app/orientation=0 +progressive_web_app/icon_144x144="" +progressive_web_app/icon_180x180="" +progressive_web_app/icon_512x512="" +progressive_web_app/background_color=Color(0, 0, 0, 1) +threads/emscripten_pool_size=8 +threads/godot_pool_size=4 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..1b048e4 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://smxpxx0ioxus" +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/landscape/citrus_orchard_road_puresky_2k.hdr b/landscape/citrus_orchard_road_puresky_2k.hdr new file mode 100644 index 0000000..7df8e21 Binary files /dev/null and b/landscape/citrus_orchard_road_puresky_2k.hdr differ diff --git a/landscape/citrus_orchard_road_puresky_2k.hdr.import b/landscape/citrus_orchard_road_puresky_2k.hdr.import new file mode 100644 index 0000000..d8c5c8f --- /dev/null +++ b/landscape/citrus_orchard_road_puresky_2k.hdr.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbjv5hawxe2oy" +path.bptc="res://.godot/imported/citrus_orchard_road_puresky_2k.hdr-fa6286c7d13caecafc402f7c480d9128.bptc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://landscape/citrus_orchard_road_puresky_2k.hdr" +dest_files=["res://.godot/imported/citrus_orchard_road_puresky_2k.hdr-fa6286c7d13caecafc402f7c480d9128.bptc.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/landscape/landscape.mtl b/landscape/landscape.mtl new file mode 100644 index 0000000..dc7722b --- /dev/null +++ b/landscape/landscape.mtl @@ -0,0 +1,12 @@ +# Blender 5.2.0 LTS MTL File: 'None' +# www.blender.org + +newmtl Материал +Ns 250.000000 +Ka 1.000000 1.000000 1.000000 +Kd 0.000303 0.489847 0.002281 +Ks 0.500000 0.500000 0.500000 +Ke 0.000000 0.000000 0.000000 +Ni 1.500000 +d 1.000000 +illum 2 diff --git a/landscape/qwantani_sunset_puresky_2k.exr b/landscape/qwantani_sunset_puresky_2k.exr new file mode 100644 index 0000000..71b54bc Binary files /dev/null and b/landscape/qwantani_sunset_puresky_2k.exr differ diff --git a/landscape/qwantani_sunset_puresky_2k.exr.import b/landscape/qwantani_sunset_puresky_2k.exr.import new file mode 100644 index 0000000..3197e8e --- /dev/null +++ b/landscape/qwantani_sunset_puresky_2k.exr.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://doi0qks44xqti" +path.bptc="res://.godot/imported/qwantani_sunset_puresky_2k.exr-8a23884e8ef0c97f450d5c5d5d27207c.bptc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://landscape/qwantani_sunset_puresky_2k.exr" +dest_files=["res://.godot/imported/qwantani_sunset_puresky_2k.exr-8a23884e8ef0c97f450d5c5d5d27207c.bptc.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/landscape/qwantani_sunset_puresky_2k.hdr b/landscape/qwantani_sunset_puresky_2k.hdr new file mode 100644 index 0000000..c19a47d Binary files /dev/null and b/landscape/qwantani_sunset_puresky_2k.hdr differ diff --git a/landscape/qwantani_sunset_puresky_2k.hdr.import b/landscape/qwantani_sunset_puresky_2k.hdr.import new file mode 100644 index 0000000..90c15ca --- /dev/null +++ b/landscape/qwantani_sunset_puresky_2k.hdr.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cvd2qhpf3eyf0" +path.bptc="res://.godot/imported/qwantani_sunset_puresky_2k.hdr-fa10ea87c94b6e37960ef2d73cec46f6.bptc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://landscape/qwantani_sunset_puresky_2k.hdr" +dest_files=["res://.godot/imported/qwantani_sunset_puresky_2k.hdr-fa10ea87c94b6e37960ef2d73cec46f6.bptc.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/models/housik_01.mtl b/models/housik_01.mtl new file mode 100644 index 0000000..0ac122a --- /dev/null +++ b/models/housik_01.mtl @@ -0,0 +1,12 @@ +# Blender 5.2.0 LTS MTL File: 'None' +# www.blender.org + +newmtl Material +Ns 250.000000 +Ka 1.000000 1.000000 1.000000 +Kd 0.800000 0.800000 0.800000 +Ks 0.500000 0.500000 0.500000 +Ke 0.000000 0.000000 0.000000 +Ni 1.500000 +d 1.000000 +illum 2 diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..82ddd40 --- /dev/null +++ b/project.godot @@ -0,0 +1,33 @@ +; 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="Мой Мирок" +run/main_scene="uid://djk5pbfui7ks7" +config/features=PackedStringArray("4.7", "Forward Plus") +config/icon="res://icon.svg" + +[display] + +window/stretch/mode="canvas_items" +window/stretch/aspect="expand" + +[filesystem] + +import/blender/enabled=false + +[physics] + +3d/physics_engine="Jolt Physics" + +[rendering] + +rendering_device/driver.windows="d3d12"