This commit is contained in:
Felix Kaiser
2025-02-17 16:46:19 +01:00
parent 534181eb88
commit 3f62e5e31d
245 changed files with 15711 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cqharsprh3uwr"
path="res://.godot/imported/Photoreal_Concrete_03-512x512.png-5aa9d287f799ba3b405466f8606a3196.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://level/Photoreal_Concrete_03-512x512.png"
dest_files=["res://.godot/imported/Photoreal_Concrete_03-512x512.png-5aa9d287f799ba3b405466f8606a3196.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://uyc41qckg5nj"
path="res://.godot/imported/Photoreal_Concrete_08-512x512.png-e45f5fb9a76170b0abe76278a9ce906b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://level/Photoreal_Concrete_08-512x512.png"
dest_files=["res://.godot/imported/Photoreal_Concrete_08-512x512.png-e45f5fb9a76170b0abe76278a9ce906b.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
level/bricks2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

35
level/bricks2.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dup74p22kide7"
path.s3tc="res://.godot/imported/bricks2.png-df6e6f917768ab430e8b35a214d9db1d.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://level/bricks2.png"
dest_files=["res://.godot/imported/bricks2.png-df6e6f917768ab430e8b35a214d9db1d.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -0,0 +1,9 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://bo7p14voeendf"]
[ext_resource type="Texture2D" uid="uid://dup74p22kide7" path="res://level/bricks2.png" id="1_cev4d"]
[resource]
albedo_texture = ExtResource("1_cev4d")
uv1_scale = Vector3(0.4, 0.4, 0.4)
uv1_triplanar = true
texture_filter = 2

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ggl6eey5qoqw"
path.s3tc="res://.godot/imported/clear+sea+water-128x128.png-28fa408ab485098366995b9944a979fa.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://level/clear+sea+water-128x128.png"
dest_files=["res://.godot/imported/clear+sea+water-128x128.png-28fa408ab485098366995b9944a979fa.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

1
level/container.gltf Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,36 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://odn2qd1638ak"
path="res://.godot/imported/container.gltf-c8b77bc3e67bf0f7ebe6f02ab864432f.scn"
[deps]
source_file="res://level/container.gltf"
dest_files=["res://.godot/imported/container.gltf-c8b77bc3e67bf0f7ebe6f02ab864432f.scn"]
[params]
nodes/root_type="StaticBody3D"
nodes/root_name="Container1"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

1
level/container2.gltf Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,36 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://daxbgobllphuj"
path="res://.godot/imported/container2.gltf-836f258578abcdcd8fc04b3a1320eb85.scn"
[deps]
source_file="res://level/container2.gltf"
dest_files=["res://.godot/imported/container2.gltf-836f258578abcdcd8fc04b3a1320eb85.scn"]
[params]
nodes/root_type="StaticBody3D"
nodes/root_name="Container2"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

BIN
level/container2_0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://blr32xmac887a"
path="res://.godot/imported/container2_0.png-1fe244f3b8dfddfeb82094748fe6d579.ctex"
metadata={
"vram_texture": false
}
generator_parameters={
"md5": "5cc8886ead891006eefcf3a290a9f357"
}
[deps]
source_file="res://level/container2_0.png"
dest_files=["res://.godot/imported/container2_0.png-1fe244f3b8dfddfeb82094748fe6d579.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
level/container2_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://btypbwmr8qp1s"
path="res://.godot/imported/container2_1.png-828c5af3f4e77bee9fb458a85b2a8f3a.ctex"
metadata={
"vram_texture": false
}
generator_parameters={
"md5": "1d06fd2b93f67b81489490d83e2a2f73"
}
[deps]
source_file="res://level/container2_1.png"
dest_files=["res://.godot/imported/container2_1.png-828c5af3f4e77bee9fb458a85b2a8f3a.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
level/container2_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://37fk6mrdwb2s"
path="res://.godot/imported/container2_2.png-27d45ab0cc295d6dd6a5349ffbdf2739.ctex"
metadata={
"vram_texture": false
}
generator_parameters={
"md5": "7f9afbe56c76fc715054e752d9e7251d"
}
[deps]
source_file="res://level/container2_2.png"
dest_files=["res://.godot/imported/container2_2.png-27d45ab0cc295d6dd6a5349ffbdf2739.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
level/container_0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b8p2gvpvbhh0q"
path="res://.godot/imported/container_0.png-a036c89ab1aed643e6712c6b981cfe62.ctex"
metadata={
"vram_texture": false
}
generator_parameters={
"md5": "87c82c5264dea9627c03e7a46de1a1ee"
}
[deps]
source_file="res://level/container_0.png"
dest_files=["res://.godot/imported/container_0.png-a036c89ab1aed643e6712c6b981cfe62.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

15
level/container_1.tscn Normal file
View File

@@ -0,0 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://dwuor8clmvqi"]
[ext_resource type="PackedScene" uid="uid://odn2qd1638ak" path="res://level/container.gltf" id="1_tplxh"]
[sub_resource type="BoxShape3D" id="BoxShape3D_klbem"]
size = Vector3(6.2, 1.5, 2.6)
[node name="Container1" instance=ExtResource("1_tplxh")]
[node name="Node" parent="." index="0"]
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="." index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.38419e-07, 0.75, 2.98023e-08)
shape = SubResource("BoxShape3D_klbem")

41
level/container_2.tscn Normal file
View File

@@ -0,0 +1,41 @@
[gd_scene load_steps=7 format=3 uid="uid://deydgroj4rtrw"]
[ext_resource type="PackedScene" uid="uid://daxbgobllphuj" path="res://level/container2.gltf" id="1_1byya"]
[ext_resource type="Script" path="res://components/healthcomponent.gd" id="2_v7c2l"]
[ext_resource type="PackedScene" uid="uid://cilj11mx2ahb1" path="res://enemies/enemy_hit_box.tscn" id="3_fwamy"]
[sub_resource type="BoxShape3D" id="BoxShape3D_aburc"]
size = Vector3(2.6, 1.775, 2.2)
[sub_resource type="BoxShape3D" id="BoxShape3D_qw2n1"]
[sub_resource type="BoxShape3D" id="BoxShape3D_3giuv"]
size = Vector3(3, 2, 2.5)
[node name="Container2" instance=ExtResource("1_1byya")]
collision_layer = 4
collision_mask = 6
[node name="Node" parent="." index="0"]
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="." index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0499999, 0.5, -5.96046e-08)
shape = SubResource("BoxShape3D_aburc")
[node name="HealthComponent" type="Area3D" parent="." index="2"]
script = ExtResource("2_v7c2l")
max_health = 50.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="HealthComponent" index="0"]
shape = SubResource("BoxShape3D_qw2n1")
disabled = true
[node name="EnemyHitBox" parent="." index="3" node_paths=PackedStringArray("health_component") instance=ExtResource("3_fwamy")]
health_component = NodePath("../HealthComponent")
[node name="CollisionShape3D" type="CollisionShape3D" parent="EnemyHitBox" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
shape = SubResource("BoxShape3D_3giuv")
[connection signal="start_dying" from="HealthComponent" to="." method="queue_free"]

11
level/deleteme.tscn Normal file
View File

@@ -0,0 +1,11 @@
[gd_scene load_steps=3 format=3 uid="uid://cp81eem6mjsbq"]
[ext_resource type="Texture2D" uid="uid://dephuhc6btov6" path="res://icon.svg" id="1_mvrjj"]
[ext_resource type="Script" path="res://level/player.gd" id="2_0piuv"]
[node name="Node2D" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(294, 196)
texture = ExtResource("1_mvrjj")
script = ExtResource("2_0piuv")

11
level/dialog_box.tscn Normal file
View File

@@ -0,0 +1,11 @@
[gd_scene load_steps=2 format=3 uid="uid://qw7lqfk6vytj"]
[ext_resource type="Script" path="res://ui/dialog_box.gd" id="1_q06ki"]
[node name="DialogBox" type="Area3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 0)
collision_layer = 0
collision_mask = 2
script = ExtResource("1_q06ki")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

BIN
level/dirt4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

35
level/dirt4.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csm0d74iwiqjh"
path.s3tc="res://.godot/imported/dirt4.png-c2505f84a5c52288327994b6b4b2dcbd.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://level/dirt4.png"
dest_files=["res://.godot/imported/dirt4.png-c2505f84a5c52288327994b6b4b2dcbd.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
level/fence2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

35
level/fence2.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6q6xyluxgy4j"
path.s3tc="res://.godot/imported/fence2.png-5130afd9857e6a7cf05aefe26add7a52.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://level/fence2.png"
dest_files=["res://.godot/imported/fence2.png-5130afd9857e6a7cf05aefe26add7a52.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
level/grass4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

35
level/grass4.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c223oyw70j7vs"
path.s3tc="res://.godot/imported/grass4.png-5c136e74752775acb12ff8ce35b524c9.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://level/grass4.png"
dest_files=["res://.godot/imported/grass4.png-5c136e74752775acb12ff8ce35b524c9.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

9
level/housematerial.tres Normal file
View File

@@ -0,0 +1,9 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://cxtxm20vm1v0y"]
[ext_resource type="Texture2D" uid="uid://jr7y13qfgqjw" path="res://level/windo.jpg" id="1_85l80"]
[resource]
albedo_texture = ExtResource("1_85l80")
uv1_scale = Vector3(0.2, 0.2, 0.2)
uv1_triplanar = true
texture_filter = 2

551
level/levAFAC.tmp Normal file

File diff suppressed because one or more lines are too long

540
level/level.tscn Normal file

File diff suppressed because one or more lines are too long

1721
level/level_2.tscn Normal file

File diff suppressed because one or more lines are too long

32
level/menu.gd Normal file
View File

@@ -0,0 +1,32 @@
extends CanvasLayer
func _process(delta: float) -> void:
if Input.is_action_just_pressed("pause"):
visible = true
get_tree().paused = true
func _on_resume_button_pressed() -> void:
visible = false
get_tree().paused = false
func _on_main_menu_button_pressed() -> void:
get_tree().paused = false
get_tree().change_scene_to_file("res://mainmenu.tscn")
func _on_music_slider_value_changed(value: float) -> void:
AudioServer.set_bus_volume_db(2, value)
if value == -40:
AudioServer.set_bus_mute(2, true)
else:
AudioServer.set_bus_mute(2, false)
func _on_sfx_slider_2_value_changed(value: float) -> void:
AudioServer.set_bus_volume_db(1, value)
if value == -40:
AudioServer.set_bus_mute(1, true)
else:
AudioServer.set_bus_mute(1, false)

View File

@@ -0,0 +1,10 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://cwk0ojannoxis"]
[ext_resource type="Texture2D" uid="uid://cqharsprh3uwr" path="res://level/Photoreal_Concrete_03-512x512.png" id="1_nxt20"]
[resource]
albedo_color = Color(0.501407, 0.501406, 0.501406, 1)
albedo_texture = ExtResource("1_nxt20")
uv1_scale = Vector3(0.2, 0.2, 0.2)
uv1_triplanar = true
texture_filter = 2

13
level/player.gd Normal file
View File

@@ -0,0 +1,13 @@
extends Sprite2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
if Input.is_action_pressed("move_front"):
pass
var variable : String = "123"

8
level/protomaterial.tres Normal file
View File

@@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://dajephuqpori"]
[ext_resource type="Texture2D" uid="uid://csq32lmqqugog" path="res://level/texture_01.png" id="1_be7c5"]
[resource]
albedo_texture = ExtResource("1_be7c5")
uv1_triplanar = true
texture_filter = 2

BIN
level/stone1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

35
level/stone1.png.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bcg7bw1gf8rqi"
path.s3tc="res://.godot/imported/stone1.png-253571d7b4237d89507af03ca7f81a7e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://level/stone1.png"
dest_files=["res://.godot/imported/stone1.png-253571d7b4237d89507af03ca7f81a7e.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -0,0 +1,9 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://d0uoy1ihwb4c8"]
[ext_resource type="Texture2D" uid="uid://bcg7bw1gf8rqi" path="res://level/stone1.png" id="1_sx8fp"]
[resource]
albedo_texture = ExtResource("1_sx8fp")
uv1_scale = Vector3(0.2, 0.2, 0.2)
uv1_triplanar = true
texture_filter = 2

BIN
level/texture_01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csq32lmqqugog"
path="res://.godot/imported/texture_01.png-d442fa205a7256662404382412f04ea1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://level/texture_01.png"
dest_files=["res://.godot/imported/texture_01.png-d442fa205a7256662404382412f04ea1.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
level/texture_02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://btgrdeq45okr3"
path="res://.godot/imported/texture_02.png-2ff8f651f3b46048d64f09da2c41da66.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://level/texture_02.png"
dest_files=["res://.godot/imported/texture_02.png-2ff8f651f3b46048d64f09da2c41da66.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

11
level/tree.gd Normal file
View File

@@ -0,0 +1,11 @@
extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

1
level/tree.gltf Normal file

File diff suppressed because one or more lines are too long

36
level/tree.gltf.import Normal file
View File

@@ -0,0 +1,36 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://csr0fkl5dx2q3"
path="res://.godot/imported/tree.gltf-d3c00cf92fe1bd486b1eef4830862434.scn"
[deps]
source_file="res://level/tree.gltf"
dest_files=["res://.godot/imported/tree.gltf-d3c00cf92fe1bd486b1eef4830862434.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

18
level/tree.tscn Normal file
View File

@@ -0,0 +1,18 @@
[gd_scene load_steps=4 format=3 uid="uid://c6k63btynoyqu"]
[ext_resource type="Script" path="res://level/tree.gd" id="1_hnmok"]
[ext_resource type="PackedScene" uid="uid://csr0fkl5dx2q3" path="res://level/tree.gltf" id="2_n8eof"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5xd24"]
radius = 0.2
height = 2.93703
[node name="Tree" type="StaticBody3D"]
script = ExtResource("1_hnmok")
[node name="blockbench_export" parent="." instance=ExtResource("2_n8eof")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.43138, 0)
shape = SubResource("CapsuleShape3D_5xd24")

BIN
level/tree_0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

38
level/tree_0.png.import Normal file
View File

@@ -0,0 +1,38 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cguh4msa4ua0w"
path.s3tc="res://.godot/imported/tree_0.png-03f9f451280c11169335ce243fdf017b.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "69ea8c94211356eb3d232bb9f96f624c"
}
[deps]
source_file="res://level/tree_0.png"
dest_files=["res://.godot/imported/tree_0.png-03f9f451280c11169335ce243fdf017b.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
level/tree_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

38
level/tree_1.png.import Normal file
View File

@@ -0,0 +1,38 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dmphfvhyr2cv"
path.s3tc="res://.godot/imported/tree_1.png-a26704cd92e06449499b7b4523358da1.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "40700f48bdb1c5a0450a95513193fa8d"
}
[deps]
source_file="res://level/tree_1.png"
dest_files=["res://.godot/imported/tree_1.png-a26704cd92e06449499b7b4523358da1.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

55
level/water.gdshader Normal file
View File

@@ -0,0 +1,55 @@
shader_type spatial;
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx;
uniform vec3 albedo : source_color;
uniform sampler2D water_texture1;
uniform sampler2D water_texture2;
uniform sampler2D noise_texture;
uniform vec2 scroll_speed1 = vec2(0.05, 0.0);
uniform vec2 scroll_speed2 = vec2(-0.03, 0.0);
uniform float blend_factor = 0.5;
uniform vec2 scale1 = vec2(1.0, 1.0);
uniform vec2 scale2 = vec2(1.0, 1.0);
uniform float wave_strength = 1.0;
uniform float wave_scale = 0.02;
uniform int pixelation_level = 64;
uniform float FoamSize = 0.5;
uniform sampler2D DepthTexture : hint_depth_texture;
uniform float WaterOpacity = 1.0;
uniform float FoamGlowIntensity = 0.5;
void vertex() {
vec2 global_position = (MODEL_MATRIX * vec4(VERTEX, 1.0)).xz;
float noise_value = texture(noise_texture, global_position * wave_scale).r;
float wave = sin(global_position.x * 0.2 + global_position.y * 0.2 + TIME + noise_value * 10.0) * wave_strength;
VERTEX.y += wave;
}
void fragment() {
vec2 scaledUV1 = UV * scale1;
vec2 scaledUV2 = UV * scale2;
vec2 scrolledUV1 = scaledUV1 + scroll_speed1 * TIME;
vec2 scrolledUV2 = scaledUV2 + scroll_speed2 * TIME;
scrolledUV1 = mod(scrolledUV1, vec2(1.0, 1.0));
scrolledUV2 = mod(scrolledUV2, vec2(1.0, 1.0));
scrolledUV1 = floor(scrolledUV1 * float(pixelation_level)) / float(pixelation_level);
scrolledUV2 = floor(scrolledUV2 * float(pixelation_level)) / float(pixelation_level);
vec4 water_color1 = texture(water_texture1, scrolledUV1);
vec4 water_color2 = texture(water_texture2, scrolledUV2);
vec4 blended_water_color = mix(water_color1, water_color2, blend_factor);
float depthValue = texture(DepthTexture, SCREEN_UV).r;
vec4 worldPosition = INV_PROJECTION_MATRIX * vec4(SCREEN_UV * 2.0 - 1.0, depthValue, 1.0);
worldPosition.xyz /= worldPosition.w;
float foamEffect = clamp(1.0 - smoothstep(worldPosition.z + FoamSize, worldPosition.z, VERTEX.z), 0.0, 1.0);
float foamOpacity = 1.0 - foamEffect;
float foamEffectRounded = round(foamOpacity);
float finalOpacity = foamEffectRounded + WaterOpacity;
ALBEDO = water_color1.xyz;
ALPHA = finalOpacity;
//EMISSION = vec3(foamEffectRounded) * FoamGlowIntensity;
METALLIC = 0.0;
ROUGHNESS = 1.0;
}

BIN
level/windo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

35
level/windo.jpg.import Normal file
View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://jr7y13qfgqjw"
path.s3tc="res://.godot/imported/windo.jpg-66128e6929da86296d61afb4fe53c7b9.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://level/windo.jpg"
dest_files=["res://.godot/imported/windo.jpg-66128e6929da86296d61afb4fe53c7b9.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0