add initial implementation of LDtk importer with data models and scene builder

This commit is contained in:
2025-09-23 01:54:37 +02:00
parent faa4715250
commit d92e2b004e
22 changed files with 1710 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c4ssxvikdpnld"
path="res://.godot/imported/PS_Tileset_10_nes.png-4155769689f4e11687b219cee5a0f90d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/PS_Tileset_10_nes.png"
dest_files=["res://.godot/imported/PS_Tileset_10_nes.png-4155769689f4e11687b219cee5a0f90d.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

1267
assets/test.ldtk Normal file

File diff suppressed because it is too large Load Diff

16
assets/test.ldtk.import Normal file
View File

@@ -0,0 +1,16 @@
[remap]
importer="ldtk.importer"
type="PackedScene"
uid="uid://c4xhtpmir26ah"
path="res://.godot/imported/test.ldtk-5da58debf60b2ac4adee332e85c3c4bc.tscn"
[deps]
source_file="res://assets/test.ldtk"
dest_files=["res://.godot/imported/test.ldtk-5da58debf60b2ac4adee332e85c3c4bc.tscn"]
[params]
import_entities=true
import_tilemaps=true