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 CHANGED
@@ -8267,7 +8267,14 @@ async function resolveSpecs(loaded, filter) {
8267
8267
  noBackground: style.noBackground,
8268
8268
  tileSize: generator === "tiles" ? tileSize : void 0,
8269
8269
  tileHeight: generator === "tiles" ? style.tileHeight : void 0,
8270
- tileType: generator === "tiles" ? style.tileType : void 0,
8270
+ // `/create-tileset` places tiles on a rectangular vertex grid (its own
8271
+ // docs: "a map of W×H cells has (W+1)×(H+1) vertices"), the same
8272
+ // square Wang-tiling math as `square_topdown` tiles-pro, regardless of
8273
+ // `terrainView`'s camera-angle setting. `tileType` otherwise defaults
8274
+ // to undefined and falls through to the exporter's own "isometric"
8275
+ // fallback, which is `tiles`' own real API default, not terrain's —
8276
+ // this is set explicitly so that fallback is never reached for terrain.
8277
+ tileType: generator === "tiles" ? style.tileType : generator === "terrain" ? "square_topdown" : void 0,
8271
8278
  tileView: generator === "tiles" ? style.tileView : void 0,
8272
8279
  tileViewAngle: generator === "tiles" ? style.tileViewAngle : void 0,
8273
8280
  tileDepthRatio: generator === "tiles" ? style.tileDepthRatio : void 0,