Update 5.0.0
5.0.0
May 5, 2024
Additions
-
Added support for animated tiles in the import pipeline! Learn the setup here
-
Added new component
LDtkComponentLayerParallax
: For all layers to mimic the parallax motions seen in LDtk -
Added new component
LDtkComponentLayerIntGridValues
: A component with various functions to help with getting IntGrid value data -
Added new component
LDtkComponentTilesetTiles
: A component with various functions to help with tileset tiles -
Added various new components and ScriptableObjects, eliminating any requirement to deserialize json data. Check the docs here for more info
- Total new ScriptableObjects
LDtkDefinitionObjectAutoLayerRule
LDtkDefinitionObjectAutoLayerRuleGroup
LDtkDefinitionObjectEntity
LDtkDefinitionObjectEnum
LDtkDefinitionObjectField
LDtkDefinitionObjectLayer
LDtkDefinitionObjectTileset
- Updated existing components with new json data:
LDtkComponentProject
LDtkComponentWorld
LDtkComponentLevel
LDtkComponentLayer
LDtkComponentEntity
(new)
- Total new ScriptableObjects
-
LDtkComponentWorld
: Added a new convenience button to the world component inspector to spawn all the world’s separate levels- Supports multi-selection & undo
- Project hierarchies with separate levels enabled will now build the world GameObjects in the project hierarchy to allow this feature
-
Added three new “reimport all” buttons into project settings to optionally only reimport all
.ldtk
,.ldtkl
, or.ldtkt
files -
LDtkPostprocessor
: Added new AssetImportContext field to work with the ScriptedImporter, like to access the asset path -
LDtkTilesetTile
: Added new helper functionGetEnumTagValues
to parse the tile’s string fields into enum data -
LDtkTilesetTile
: Added newTileId
int field toLDtkTilesetTile
-
LDtkReferenceToAnEntityInstance
: Added public fields for getting IID -
LDtkIid
: Added implicit operator to string
Changes
- Optimization: Built tilemaps will now CompressBounds to potentially improve on memory/processing
- Optimization: Greatly improved the operation speed of clicking the “Reimport All” button in Project Settings
- Updated: New icon for AutoLayer-related content
- Updated: Samples
Fixes
- Compile Error: Fixed a compile error encountered in Unity 6
- Import Fail: Fixed a tileset file import failure if a tileset texture is not set in LDtk
- Import Fail: Fixed a problem where the export app would not work on macOS easily
- This issue is not retroactively fixed, so for any Mac users currently facing this issue, add a
$1
to the end of the file’s contents inLibrary/LDtkTilesetExporter/ExportTilesetDefinitionMac.sh
- This issue is not retroactively fixed, so for any Mac users currently facing this issue, add a
- Expectancy: Fixed the project importer’s composite collider option not showing in the inspector if there’s no IntGrid layer but if there is a Tile/Auto layer
- Expectancy: Fixed issue when reimporting all in project settings, where some assets that failed to import would not reimport whatsoever
- Expectancy: Added new error log if a tileset file’s texture is not a TextureType of Sprite
- Expectancy: Removed an unnecessary error log if a layer’s tileset definition was not set
- Expectancy: All checks for a backup file will now happen before checking json version to avoid unnecessary errors
Breaking Changes
- Deprecated some values in the imported components. They are instead accessed in their definition object.
- All deprecated values will still work the same, except for
LDtkComponentProject.FromJson
which now return null
- All deprecated values will still work the same, except for
- Planning to remove
LDtkEntityDrawerComponent
in the future; the newLDtkComponentEntity
will be responsible instead
Files
Get LDtk to Unity
LDtk to Unity
A fully-featured Unity importer for LDtk (Level Designer Toolkit)
More posts
- Update 4.2.2Jan 16, 2024
- Update 4.2.1Jan 16, 2024
- Update 4.2.0Jan 13, 2024
- Update 4.1.0Oct 23, 2023
- Update 4.0.1Sep 29, 2023
- Update 4.0.0Sep 23, 2023
- Update 3.3.3May 04, 2023
- Update 3.3.2Apr 29, 2023
- Update 3.3.1Mar 27, 2023
Leave a comment
Log in with itch.io to leave a comment.