flame_ldtk library

A Flutter package for integrating LDtk levels into Flame Engine games.

This library provides components and utilities to load and render LDtk levels using the Super Simple Export format or JSON format.

Classes

LdtkDefinitions
LDtk definitions (layers, entities, tilesets, etc.).
LdtkEntity
Represents an entity from a LDtk level.
LdtkEntityComponent
A base Flame component representing a LDtk entity.
LdtkEntityDef
Entity definition.
LdtkEntityInstance
Entity instance in a layer.
LdtkEntityTile
Entity tile information.
LdtkIntGrid
Represents an IntGrid layer from LDtk.
LdtkJson
Root LDtk project structure.
LdtkJsonLevel
Level in LDtk JSON format.
LdtkJsonLevelComponent
A Flame component that loads and displays a LDtk level from JSON format.
LdtkJsonParser
Parser for LDtk JSON format (non-simplified export).
LdtkLayerDef
Layer definition.
LdtkLayerInstance
Layer instance in a level.
LdtkLevel
Represents a LDtk level loaded from Super Simple Export format.
LdtkLevelComponent
A Flame component that loads and displays a LDtk level using a LdtkWorld.
LdtkParserUtils
Utility functions shared between LDtk parsers.
LdtkSuperSimpleParser
Parser for LDtk Super Simple Export format.
LdtkTileInstance
Tile instance in a tile layer.
LdtkTileLayer
Represents a tile layer with its tileset image and tile data.
LdtkTileLayerComponent
Component that renders a tile layer from LDtk.
LdtkTilesetDef
Tileset definition.
LdtkWorld
Represents a LDtk world/project that can load levels.
LruCache<K, V>
A simple LRU (Least Recently Used) cache implementation.