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/index.d.cts CHANGED
@@ -9064,6 +9064,14 @@ interface ResolvedSpec {
9064
9064
  /** `tiles` generator only. See StyleSchema for what each one means. */
9065
9065
  tileSize?: number;
9066
9066
  tileHeight?: number;
9067
+ /**
9068
+ * `tiles` generator: author-set, from the style. `terrain` generator: always
9069
+ * `"square_topdown"`, set internally (not an author-facing field on
9070
+ * `terrain`) so exporters read the real tile shape instead of falling back
9071
+ * to `tiles`' own "isometric" default, which does not apply to terrain's
9072
+ * `/create-tileset` output (a rectangular vertex grid regardless of
9073
+ * `terrainView`'s camera angle).
9074
+ */
9067
9075
  tileType?: string;
9068
9076
  tileView?: string;
9069
9077
  tileViewAngle?: number;
package/dist/index.d.ts CHANGED
@@ -9064,6 +9064,14 @@ interface ResolvedSpec {
9064
9064
  /** `tiles` generator only. See StyleSchema for what each one means. */
9065
9065
  tileSize?: number;
9066
9066
  tileHeight?: number;
9067
+ /**
9068
+ * `tiles` generator: author-set, from the style. `terrain` generator: always
9069
+ * `"square_topdown"`, set internally (not an author-facing field on
9070
+ * `terrain`) so exporters read the real tile shape instead of falling back
9071
+ * to `tiles`' own "isometric" default, which does not apply to terrain's
9072
+ * `/create-tileset` output (a rectangular vertex grid regardless of
9073
+ * `terrainView`'s camera angle).
9074
+ */
9067
9075
  tileType?: string;
9068
9076
  tileView?: string;
9069
9077
  tileViewAngle?: number;
package/dist/index.js CHANGED
@@ -6105,7 +6105,14 @@ async function resolveSpecs(loaded, filter) {
6105
6105
  noBackground: style.noBackground,
6106
6106
  tileSize: generator === "tiles" ? tileSize : void 0,
6107
6107
  tileHeight: generator === "tiles" ? style.tileHeight : void 0,
6108
- tileType: generator === "tiles" ? style.tileType : void 0,
6108
+ // `/create-tileset` places tiles on a rectangular vertex grid (its own
6109
+ // docs: "a map of W×H cells has (W+1)×(H+1) vertices"), the same
6110
+ // square Wang-tiling math as `square_topdown` tiles-pro, regardless of
6111
+ // `terrainView`'s camera-angle setting. `tileType` otherwise defaults
6112
+ // to undefined and falls through to the exporter's own "isometric"
6113
+ // fallback, which is `tiles`' own real API default, not terrain's —
6114
+ // this is set explicitly so that fallback is never reached for terrain.
6115
+ tileType: generator === "tiles" ? style.tileType : generator === "terrain" ? "square_topdown" : void 0,
6109
6116
  tileView: generator === "tiles" ? style.tileView : void 0,
6110
6117
  tileViewAngle: generator === "tiles" ? style.tileViewAngle : void 0,
6111
6118
  tileDepthRatio: generator === "tiles" ? style.tileDepthRatio : void 0,