optimize import and create new test area

pull/23/head
Sascha 2025-02-13 16:49:50 +07:00
parent 4a50fe282c
commit 08f908e269
70 changed files with 177 additions and 254 deletions

@ -1,9 +1,9 @@
[gd_scene load_steps=21 format=4 uid="uid://bkh0th4s2lkcq"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/dungeon_texture.png" id="1_3aqkg"]
[ext_resource type="Script" path="res://scripts/chest.gd" id="1_jught"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/Textures/dungeon_texture.png" id="1_3aqkg"]
[ext_resource type="Script" uid="uid://u00ya1sbak6i" path="res://scripts/chest.gd" id="1_jught"]
[ext_resource type="PackedScene" uid="uid://dt6h2uw768kid" path="res://resources/models/dungeon/coin_stack_medium.gltf" id="2_resnj"]
[ext_resource type="Script" path="res://scripts/interaction_area.gd" id="3_hc073"]
[ext_resource type="Script" uid="uid://v7cocm7eje8v" path="res://scripts/interaction_area.gd" id="3_hc073"]
[ext_resource type="AudioStream" uid="uid://0ciymc2gsrej" path="res://resources/audio/chest_open.mp3" id="4_4q6dc"]
[ext_resource type="AudioStream" uid="uid://djf2sghx7jiqx" path="res://resources/audio/take_gold.mp3" id="6_dsxoh"]

@ -1,7 +1,7 @@
[gd_scene load_steps=12 format=4 uid="uid://c8tec0l3liet0"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/dungeon_texture.png" id="1_36wbj"]
[ext_resource type="Script" path="res://scripts/item_interactable.gd" id="1_eabtu"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/Textures/dungeon_texture.png" id="1_36wbj"]
[ext_resource type="Script" uid="uid://did0e7iwyya4u" path="res://scripts/item_interactable.gd" id="1_eabtu"]
[ext_resource type="PackedScene" uid="uid://dt6h2uw768kid" path="res://resources/models/dungeon/coin_stack_medium.gltf" id="2_phmxy"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p1j55"]

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
[gd_scene load_steps=19 format=4 uid="uid://bh4kdk3huhnrr"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/dungeon_texture.png" id="1_qgxoc"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/Textures/dungeon_texture.png" id="1_qgxoc"]
[ext_resource type="Script" uid="uid://uigg23n8ddht" path="res://scripts/item_desctructable.gd" id="1_yso3r"]
[ext_resource type="Script" uid="uid://3rbry6yfuo6u" path="res://scripts/hurtbox.gd" id="2_rn274"]
[ext_resource type="AudioStream" uid="uid://bxnu674tk5euv" path="res://resources/audio/wallhit.mp3" id="4_6vgpt"]

@ -1,9 +1,9 @@
[gd_scene load_steps=17 format=4 uid="uid://d135lsanl2mnu"]
[ext_resource type="Script" path="res://scripts/wall_doorway.gd" id="1_hcpk0"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/dungeon_texture.png" id="1_o83vc"]
[ext_resource type="Script" uid="uid://cbdw457n70h0o" path="res://scripts/wall_doorway.gd" id="1_hcpk0"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/Textures/dungeon_texture.png" id="1_o83vc"]
[ext_resource type="AudioStream" uid="uid://bqpo1l7ivya6n" path="res://resources/voice/congratulations.ogg" id="3_x1qcj"]
[ext_resource type="Script" path="res://scripts/interaction_area.gd" id="4_lfot0"]
[ext_resource type="Script" uid="uid://v7cocm7eje8v" path="res://scripts/interaction_area.gd" id="4_lfot0"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i3et4"]
resource_name = "texture"

@ -1,6 +1,6 @@
[gd_resource type="MeshLibrary" load_steps=61 format=4 uid="uid://dje66fxvu4hnm"]
[ext_resource type="Material" uid="uid://cp62pt7u8nrka" path="res://resources/models/dungeon/texture.tres" id="1_h3coj"]
[ext_resource type="Material" uid="uid://cp62pt7u8nrka" path="res://resources/models/dungeon/Textures/texture.tres" id="1_h3coj"]
[sub_resource type="ArrayMesh" id="ArrayMesh_1j13a"]
_surfaces = [{

@ -1,7 +1,7 @@
[gd_resource type="MeshLibrary" load_steps=84 format=4 uid="uid://bs0yqy7xhugol"]
[ext_resource type="Material" uid="uid://cp62pt7u8nrka" path="res://resources/models/dungeon/texture.tres" id="1_7wu0l"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/dungeon_texture.png" id="1_liv3e"]
[ext_resource type="Material" uid="uid://cp62pt7u8nrka" path="res://resources/models/dungeon/Textures/texture.tres" id="1_7wu0l"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/Textures/dungeon_texture.png" id="1_liv3e"]
[sub_resource type="ArrayMesh" id="ArrayMesh_alv7x"]
_surfaces = [{

@ -1,6 +1,6 @@
[gd_resource type="ArrayMesh" load_steps=3 format=4 uid="uid://ijfwfk5cb1th"]
[ext_resource type="Material" uid="uid://cp62pt7u8nrka" path="res://resources/models/dungeon/texture.tres" id="1_jvwyk"]
[ext_resource type="Material" uid="uid://cp62pt7u8nrka" path="res://resources/models/dungeon/Textures/texture.tres" id="1_jvwyk"]
[sub_resource type="ArrayMesh" id="ArrayMesh_b2t7e"]
_surfaces = [{

@ -1,6 +1,6 @@
[gd_resource type="ArrayMesh" load_steps=3 format=4 uid="uid://culwbnc3r7own"]
[ext_resource type="Material" uid="uid://cp62pt7u8nrka" path="res://resources/models/dungeon/texture.tres" id="1_u3u4c"]
[ext_resource type="Material" uid="uid://cp62pt7u8nrka" path="res://resources/models/dungeon/Textures/texture.tres" id="1_u3u4c"]
[sub_resource type="ArrayMesh" id="ArrayMesh_ajui4"]
_surfaces = [{

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://b471l7axr3lfm"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/dungeon_texture.png" id="1_xkymj"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/Textures/dungeon_texture.png" id="1_xkymj"]
[resource]
resource_name = "texture"

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

@ -3,7 +3,7 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dvkrw7iq1wb3d"
path.s3tc="res://.godot/imported/dungeon_texture.png-11ea8155099d409dbf1975efcd53b585.s3tc.ctex"
path.s3tc="res://.godot/imported/dungeon_texture.png-4348596a438780158879d29c23a36d28.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
@ -11,8 +11,8 @@ metadata={
[deps]
source_file="res://resources/models/dungeon/dungeon_texture.png"
dest_files=["res://.godot/imported/dungeon_texture.png-11ea8155099d409dbf1975efcd53b585.s3tc.ctex"]
source_file="res://resources/models/dungeon/Textures/dungeon_texture.png"
dest_files=["res://.godot/imported/dungeon_texture.png-4348596a438780158879d29c23a36d28.s3tc.ctex"]
[params]

@ -0,0 +1,5 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://cp62pt7u8nrka"]
[resource]
resource_name = "texture"
roughness = 0.45

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_dirt_small_A.gltf-348690836134bea2e0f29
[params]
nodes/root_type="StaticBody3D"
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
@ -46,7 +46,12 @@ _subresources={
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://resources/models/dungeon/floor_dirt_small_A_floor_dirt_small_A.res"
"save_to_file/path": "uid://b1xve5magr2og"
}
},
"nodes": {
"PATH:floor_dirt_small_A": {
"generate/physics": true
}
}
}

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_dirt_small_B.gltf-411beb1c3fd36c061cc9f
[params]
nodes/root_type="StaticBody3D"
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
@ -36,7 +36,7 @@ _subresources={
"materials": {
"texture": {
"use_external/enabled": true,
"use_external/path": "res://resources/models/dungeon/texture.tres"
"use_external/path": "res://resources/models/dungeon/Textures/texture.tres"
}
},
"meshes": {
@ -46,7 +46,12 @@ _subresources={
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://resources/models/dungeon/floor_dirt_small_B_floor_dirt_small_B.res"
"save_to_file/path": "res://resources/models/dungeon/Meshes/floor_dirt_small_B_floor_dirt_small_B.res"
}
},
"nodes": {
"PATH:floor_dirt_small_B": {
"generate/physics": true
}
}
}

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_dirt_small_C.gltf-832337cc035dea3acc9a1
[params]
nodes/root_type="StaticBody3D"
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
@ -36,7 +36,7 @@ _subresources={
"materials": {
"texture": {
"use_external/enabled": true,
"use_external/path": "res://resources/models/dungeon/texture.tres"
"use_external/path": "res://resources/models/dungeon/Textures/texture.tres"
}
},
"meshes": {
@ -46,7 +46,12 @@ _subresources={
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://resources/models/dungeon/floor_dirt_small_C_floor_dirt_small_C.res"
"save_to_file/path": "res://resources/models/dungeon/Meshes/floor_dirt_small_C_floor_dirt_small_C.res"
}
},
"nodes": {
"PATH:floor_dirt_small_C": {
"generate/physics": true
}
}
}

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_dirt_small_D.gltf-db5bd9d622bf7090ae7ef
[params]
nodes/root_type="StaticBody3D"
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
@ -36,7 +36,7 @@ _subresources={
"materials": {
"texture": {
"use_external/enabled": true,
"use_external/path": "res://resources/models/dungeon/texture.tres"
"use_external/path": "res://resources/models/dungeon/Textures/texture.tres"
}
},
"meshes": {
@ -46,7 +46,12 @@ _subresources={
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://resources/models/dungeon/floor_dirt_small_D_floor_dirt_small_D.res"
"save_to_file/path": "res://resources/models/dungeon/Meshes/floor_dirt_small_D_floor_dirt_small_D.res"
}
},
"nodes": {
"PATH:floor_dirt_small_D": {
"generate/physics": true
}
}
}

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_dirt_small_corner.gltf-4932e07880608625
[params]
nodes/root_type="StaticBody3D"
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
@ -36,7 +36,7 @@ _subresources={
"materials": {
"texture": {
"use_external/enabled": true,
"use_external/path": "res://resources/models/dungeon/texture.tres"
"use_external/path": "res://resources/models/dungeon/Textures/texture.tres"
}
},
"meshes": {
@ -46,7 +46,12 @@ _subresources={
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://resources/models/dungeon/floor_dirt_small_corner_floor_dirt_small_corner.res"
"save_to_file/path": "res://resources/models/dungeon/Meshes/floor_dirt_small_corner_floor_dirt_small_corner.res"
}
},
"nodes": {
"PATH:floor_dirt_small_corner": {
"generate/physics": true
}
}
}

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_dirt_small_weeds.gltf-831e1c092e2d56c28
[params]
nodes/root_type="StaticBody3D"
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
@ -36,7 +36,7 @@ _subresources={
"materials": {
"texture": {
"use_external/enabled": true,
"use_external/path": "res://resources/models/dungeon/texture.tres"
"use_external/path": "res://resources/models/dungeon/Textures/texture.tres"
}
},
"meshes": {
@ -46,7 +46,12 @@ _subresources={
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://resources/models/dungeon/floor_dirt_small_weeds_floor_dirt_small_weeds.res"
"save_to_file/path": "res://resources/models/dungeon/Meshes/floor_dirt_small_weeds_floor_dirt_small_weeds.res"
}
},
"nodes": {
"PATH:floor_dirt_small_weeds": {
"generate/physics": true
}
}
}

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_tile_small.gltf-6b237d1377de75a320c3c9d
[params]
nodes/root_type=""
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_tile_small_corner.gltf-6a33aaf6402a5482
[params]
nodes/root_type=""
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0

@ -13,7 +13,7 @@ dest_files=["res://.godot/imported/floor_tile_small_decorated.gltf-f20557396447d
[params]
nodes/root_type=""
nodes/root_type="Node3D"
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0

@ -36,7 +36,7 @@ _subresources={
"materials": {
"texture": {
"use_external/enabled": true,
"use_external/path": "res://resources/models/dungeon/texture.tres"
"use_external/path": "res://resources/models/dungeon/Textures/texture.tres"
}
},
"meshes": {
@ -46,11 +46,12 @@ _subresources={
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://resources/models/dungeon/stairs_wood_decorated_stairs_wood_decorated.res"
"save_to_file/path": "res://resources/models/dungeon/Meshes/stairs_wood_decorated_stairs_wood_decorated.res"
}
},
"nodes": {
"PATH:stairs_wood_decorated": {
"generate/navmesh": 1,
"generate/physics": true
}
}

@ -1,8 +0,0 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://cp62pt7u8nrka"]
[ext_resource type="Texture2D" uid="uid://dvkrw7iq1wb3d" path="res://resources/models/dungeon/dungeon_texture.png" id="1_n8hgx"]
[resource]
resource_name = "texture"
albedo_texture = ExtResource("1_n8hgx")
roughness = 0.45

@ -36,7 +36,7 @@ _subresources={
"materials": {
"texture": {
"use_external/enabled": true,
"use_external/path": "res://resources/models/dungeon/texture.tres"
"use_external/path": "res://resources/models/dungeon/Textures/texture.tres"
}
},
"meshes": {
@ -46,7 +46,7 @@ _subresources={
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://resources/models/dungeon/wall_wall.res"
"save_to_file/path": "res://resources/models/dungeon/Meshes/wall_wall.res"
}
},
"nodes": {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,10 +1,10 @@
[gd_scene load_steps=18 format=3 uid="uid://tvxfoa8uoj8h"]
[ext_resource type="ArrayMesh" uid="uid://bkued3m8yifkj" path="res://resources/models/dungeon/coin_stack_large_coin_stack_large.res" id="1_lxeqs"]
[ext_resource type="ArrayMesh" uid="uid://xbinlpp5ab2i" path="res://resources/models/dungeon/coin_coin.res" id="2_3khpj"]
[ext_resource type="Material" uid="uid://b471l7axr3lfm" path="res://resources/models/dungeon/coin_texture.tres" id="3_rbtob"]
[ext_resource type="ArrayMesh" uid="uid://bnjdw3rsvdymf" path="res://resources/models/dungeon/coin_stack_medium_coin_stack_medium.res" id="4_5nptx"]
[ext_resource type="ArrayMesh" uid="uid://es5jp07n1g63" path="res://resources/models/dungeon/coin_stack_small_coin_stack_small.res" id="5_3ruvw"]
[ext_resource type="ArrayMesh" uid="uid://bkued3m8yifkj" path="res://resources/models/dungeon/Meshes/coin_stack_large_coin_stack_large.res" id="1_lxeqs"]
[ext_resource type="ArrayMesh" uid="uid://xbinlpp5ab2i" path="res://resources/models/dungeon/Meshes/coin_coin.res" id="2_3khpj"]
[ext_resource type="Material" uid="uid://b471l7axr3lfm" path="res://resources/models/dungeon/Textures/coin_texture.tres" id="3_rbtob"]
[ext_resource type="ArrayMesh" uid="uid://bnjdw3rsvdymf" path="res://resources/models/dungeon/Meshes/coin_stack_medium_coin_stack_medium.res" id="4_5nptx"]
[ext_resource type="ArrayMesh" uid="uid://es5jp07n1g63" path="res://resources/models/dungeon/Meshes/coin_stack_small_coin_stack_small.res" id="5_3ruvw"]
[ext_resource type="ArrayMesh" uid="uid://bc262e5xd6pi6" path="res://resources/models/castle/Meshes/tree-large_tree-large.res" id="6_3khpj"]
[ext_resource type="ArrayMesh" uid="uid://bjam7n2ufrf87" path="res://resources/models/castle/Meshes/tree-log_tree-log.res" id="7_5nptx"]
[ext_resource type="ArrayMesh" uid="uid://cix4ofjpn5yfl" path="res://resources/models/castle/Meshes/tree-small_tree-small.res" id="8_3ruvw"]