Files
GDevelop/Extensions/TileMap/helper/dts/load/tiled/TiledTileMapLoader.d.ts
Baptiste Augrain 77320ce12e Add support for LDtk Tilemaps (#4575)
* Tilemaps made with [LDtk](https://ldtk.io/), a modern 2D level editor, can be now used directly. Make sure to save your map made in LDtk as a JSON file, create a new Tilemap object in GDevelop and in the Tilemap field, choose the LDtk file.
* Tilesets used by the LDtk Tilemap are automatically imported in your game - you don't need to import them separately.
* For more information, read about the [Tilemap object on the wiki](https://wiki.gdevelop.io/gdevelop5/objects/tilemap).

Co-authored-by: Davy Hélard <davy.helard@gmail.com>
Co-authored-by: Florian Rival <Florian.Rival@gmail.com>
2022-12-22 18:44:27 +01:00

17 lines
558 B
TypeScript

import { EditableTileMap } from '../../model/TileMapModel';
import { TiledTileMap } from './TiledFormat';
/**
* It creates a {@link EditableTileMap} from a Tiled JSON.
*/
export declare namespace TiledTileMapLoader {
/**
* Create a {@link EditableTileMap} from the Tiled JSON.
*
* @param tiledTileMap A tile map exported from Tiled.
* @param pako The zlib library.
* @returns A {@link EditableTileMap}
*/
function load(tiledTileMap: TiledTileMap, pako: any): EditableTileMap | null;
}
//# sourceMappingURL=TiledTileMapLoader.d.ts.map