Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
auto-tile-webpack-plugin
Advanced tools
A Webpack plugin to generate expanded autotiles and its setting for Tiled from minimal autotiles automatically.
It will be re-generated automatically when added or modified images while webpack is watching.
Original | Expanded |
---|---|
Install:
$ npm install auto-tile-webpack-plugin
Define into webpack.config.js
:
const AutoTileWebpackPlugin = require('auto-tile-webpack-plugin')
// ...
{
entry: {
...
},
output: {
...
},
plugins: [
new AutoTileWebpackPlugin({
size: 32,
input: './public/img/original_autotiles',
output: './public/img/tilesets'
})
]
}
- public/img/
- original_autotiles/
- town.png // Minimal autile image (Follow `examples/input.png`)
- tilesets/
- town.png // Generated image
- town.tmx // Generated setting for Tiled
Options:
Key | What is |
---|---|
size | Tile size. |
input | Input directory. Original images should be here. |
output | Output directory. Extruded images will be here. |
Make a rules.txt that listed path to settings and place it under your project directory for Tiled.
path/to/town.tmx
path/to/dungeon.tmx
..
The around of the autotiles need to be filled with something another tile.
I'm not sure if this will be working on Webpack3 or less. Please make an issue or PR if need it.
FAQs
Generate autotiles for Tiled automatically
The npm package auto-tile-webpack-plugin receives a total of 0 weekly downloads. As such, auto-tile-webpack-plugin popularity was classified as not popular.
We found that auto-tile-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.