flame_ldtk 0.3.0
flame_ldtk: ^0.3.0 copied to clipboard
LDtk support for flame-engine. Integrate LDtk levels into Flame Engine games.
Changelog #
0.3.0 - 2025-10-06 #
0.2.2 - 2025-10-06 #
0.2.1 - 2025-10-05 #
0.2.0 - 2025-10-05 #
Features #
- LdtkJsonLevelComponent - Unified API for both export formats (dac6896)
LdtkLevelComponentfor Super Simple Export (existing)LdtkJsonLevelComponentfor standard JSON format (new!)- Both components share the same API - just swap them based on your format
- JSON Parser Enhancement: Full support for custom fields extraction in both levels and entities
- Levels now properly extract
customDatafromfieldInstances - Entities now extract
fieldsfromfieldInstancesandcolorfrom__smartColor
- Levels now properly extract
- Parser Harmonization: Both JSON and Super Simple parsers now have consistent behavior
Performance Improvements #
- Both parsers now use optimized shared functions for common operations
- Code Refactoring: Introduced
LdtkParserUtilsutility class- Shared utilities between both parsers (color parsing, image loading, field parsing)
- Centralized image cache for better memory management
- Reduced code duplication
- Cleaner, more maintainable codebase
0.1.0 - 2024-11-15 #
Features #
- Initial release
- LDtk Integration: Support for LDtk Super Simple Export format
- Level Loading: Load and render complete levels with composite images
- Entity Parsing: Extract entities with positions, sizes, custom fields, and colors
- IntGrid Support: CSV-based IntGrid layers for collision detection and game logic
- Flexible Architecture: Override hooks to customize entity rendering
- Generic Design: No built-in collision logic, adaptable to any game type
- Example App: Complete platformer example with physics and collision detection