WorkAdventure Map Optimizer! Does your map need a diet?
- Node 16.15 <
- Yarn 1.22 <
yarn add wa-map-optimizer
import { optimize } from "wa-map-optimizer";
async function run() {
await optimize("./example/map.json");
console.log("Optimization finished");
}
run();
import { optimize } from "wa-map-optimizer";
async function run() {
await optimize("./example/map.json", {
tile: {
size: 32,
},
logs: true,
output: {
path: "optimisation/new_map",
map: {
name: "awesome-map",
},
tileset: {
prefix: "optimized",
suffix: "tileset",
size: 1024,
}
}
});
console.log("Optimization finished");
}
run();
👤 Nolway (Alexis Faizeau)
- Website: alexis-faizeau.com
- Github: @Nolway
- LinkedIn: @alexis-faizeau
Give a ⭐️ if this project helped you!
Copyright © 2022 Nolway(Alexis Faizeau).
This project is AGPL--3.0 licensed.