pixelkiln 0.53.3 → 0.53.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +8 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/docs/TILES.md +18 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6407,7 +6407,14 @@ async function resolveSpecs(loaded, filter) {
|
|
|
6407
6407
|
noBackground: style.noBackground,
|
|
6408
6408
|
tileSize: generator === "tiles" ? tileSize : void 0,
|
|
6409
6409
|
tileHeight: generator === "tiles" ? style.tileHeight : void 0,
|
|
6410
|
-
|
|
6410
|
+
// `/create-tileset` places tiles on a rectangular vertex grid (its own
|
|
6411
|
+
// docs: "a map of W×H cells has (W+1)×(H+1) vertices"), the same
|
|
6412
|
+
// square Wang-tiling math as `square_topdown` tiles-pro, regardless of
|
|
6413
|
+
// `terrainView`'s camera-angle setting. `tileType` otherwise defaults
|
|
6414
|
+
// to undefined and falls through to the exporter's own "isometric"
|
|
6415
|
+
// fallback, which is `tiles`' own real API default, not terrain's —
|
|
6416
|
+
// this is set explicitly so that fallback is never reached for terrain.
|
|
6417
|
+
tileType: generator === "tiles" ? style.tileType : generator === "terrain" ? "square_topdown" : void 0,
|
|
6411
6418
|
tileView: generator === "tiles" ? style.tileView : void 0,
|
|
6412
6419
|
tileViewAngle: generator === "tiles" ? style.tileViewAngle : void 0,
|
|
6413
6420
|
tileDepthRatio: generator === "tiles" ? style.tileDepthRatio : void 0,
|