Files
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

44 lines
1.1 KiB
JavaScript

module.exports = function (config) {
config.set({
frameworks: ['mocha', 'karma-typescript'],
browserNoActivityTimeout: 400000,
client: {
mocha: {
reporter: 'html',
timeout: 10000,
},
},
files: [
{ pattern: "node_modules/expect.js/index.js" },
{ pattern: "./src/load/**/*.ts" },
{ pattern: "./src/model/*.ts" },
{ pattern: "./src/types/*.ts" },
],
preprocessors: {
"**/*.ts": 'karma-typescript',
},
reporters: ['dots', 'karma-typescript'],
singleRun: true,
karmaTypescriptConfig: {
compilerOptions: {
module: "commonjs",
noImplicitAny: true,
outDir: "tmp",
target: "ES5",
sourceMap: true,
types : [
"mocha",
"expect.js",
"offscreencanvas"
],
lib: ["DOM", "ES5", "ES6"],
"esModuleInterop": false,
"downlevelIteration": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
},
exclude: ["node_modules"],
},
});
};