mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-21 09:35:27 -04:00
77320ce12e
* 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>
33 lines
710 B
JavaScript
33 lines
710 B
JavaScript
//import pkg from "./package.json";
|
|
import typescript from "@rollup/plugin-typescript";
|
|
import resolve from '@rollup/plugin-node-resolve';
|
|
import { terser } from 'rollup-plugin-terser';
|
|
|
|
export default [
|
|
{
|
|
input: './src/index.ts',
|
|
output: [
|
|
{
|
|
name: 'TileMapHelper',
|
|
format: 'umd',
|
|
file: '../../Extensions/TileMap/helper/TileMapHelper.js',
|
|
sourcemap: true,
|
|
plugins: [
|
|
terser({
|
|
format: {
|
|
comments: false
|
|
},
|
|
})
|
|
]
|
|
},
|
|
],
|
|
external: ['pixi.js'],
|
|
plugins: [
|
|
resolve({
|
|
extensions: ['.js'],
|
|
}),
|
|
typescript({ tsconfig: './tsconfig.json' }),
|
|
],
|
|
},
|
|
];
|