@ignifx/2d 0.8.0 → 0.10.0

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.ts CHANGED
@@ -492,12 +492,19 @@ export declare class SpriteAtlasAsset {
492
492
  releaseGpu(): void;
493
493
  }
494
494
  /**
495
- * A sprite: one frame of one atlas, which is what `SpriteRenderer.sprite` points at.
495
+ * One frame of one atlas: what a `"2d/hero.atlas.json#frame:idle_0"` address loads to.
496
496
  *
497
497
  * @remarks
498
- * A bare `"2d/hero.atlas.json"` address resolves to frame `0`; the `#frame:` fragment picks another
498
+ * This is for code that wants a frame by address. A `SpriteRenderer` does not take it: its `sprite`
499
+ * field names the atlas itself and its `frameName` field names the frame
499
500
  * (`docs/architecture/11-2d-toolkit.md` §2.2). The asset service shares the underlying atlas
500
- * between every fragment of the same address, so ten sprites off one atlas upload one texture.
501
+ * between every fragment of the same address, so a fragment loads no second texture.
502
+ *
503
+ * @example
504
+ * ```ts
505
+ * const idle = await app.assets.load<SpriteAsset>("2d/hero.atlas.json#frame:idle_1").promise;
506
+ * idle.frame; // 1
507
+ * ```
501
508
  *
502
509
  * @public
503
510
  */
@@ -587,16 +594,23 @@ interface SpriteLayerKey {
587
594
  * A sprite.
588
595
  *
589
596
  * @remarks
590
- * The `sprite` field is an atlas handle; the frame inside it comes from the address's `#frame:`
591
- * fragment when there is one, and otherwise from {@link SpriteRenderer.frame}, which game code and
592
- * `SpriteAnimator` both write. A sprite whose atlas has not finished loading draws nothing and
593
- * costs nothing.
597
+ * The `sprite` field is an atlas handle, and two members pick the frame inside it.
598
+ * {@link SpriteRenderer.frameName} is the field a scene file stores: a frame name, or `""` for the
599
+ * first frame. {@link SpriteRenderer.frame} is the index drawn now, which `SpriteAnimator` and game
600
+ * code write. Whichever of the two was written last decides the frame; a name is looked up again
601
+ * whenever the atlas changes. A name the atlas does not declare is reported once (`IGX-1106`) and
602
+ * draws the first frame.
603
+ *
604
+ * `sprite` takes the atlas's own address. A `#frame:` address loads a `SpriteAsset`, not an atlas:
605
+ * the sprite draws nothing and reports `IGX-1118` once. A sprite whose atlas has not finished
606
+ * loading draws nothing and costs nothing.
594
607
  *
595
608
  * @example
596
609
  * ```ts
597
610
  * const hero = app.world.createEntity({ name: "hero" });
598
611
  * const sprite = hero.addComponent(SpriteRenderer);
599
612
  * sprite.sprite = app.assets.load<SpriteAtlasAsset>("2d/hero.atlas.json");
613
+ * sprite.frameName = "idle_0";
600
614
  * sprite.sortingLayer = "Default";
601
615
  * ```
602
616
  *
@@ -644,17 +658,41 @@ export declare class SpriteRenderer extends Component implements ComponentHooks
644
658
  */
645
659
  onDetach(): void;
646
660
  /**
647
- * The atlas frame drawn.
661
+ * The atlas frame index drawn.
662
+ *
663
+ * @remarks
664
+ * When {@link SpriteRenderer.frameName} was written last, this is that frame's index once the
665
+ * atlas has loaded. The index is not saved: a scene file stores `frameName`.
648
666
  *
649
667
  * @returns The frame index.
650
668
  */
651
669
  get frame(): number;
652
670
  /**
653
- * Sets the atlas frame drawn, marking the sprite for the next sync when it changes.
671
+ * Sets the atlas frame drawn by index, marking the sprite for the next sync when it changes. The
672
+ * index then wins over {@link SpriteRenderer.frameName} until `frameName` is written again.
654
673
  *
655
674
  * @param value - The frame index.
656
675
  */
657
676
  set frame(value: number);
677
+ /**
678
+ * The frame a scene file says this sprite draws, by the name the atlas gives it.
679
+ *
680
+ * @remarks
681
+ * A schema field: scene files store it and the inspector edits it. `""` draws the first frame.
682
+ * Writing it makes the name decide the frame until {@link SpriteRenderer.frame} is written, so a
683
+ * `SpriteAnimator` still animates a sprite that names a still frame, and a scene saved meanwhile
684
+ * keeps the name. A name the atlas does not declare is reported once through `app.onError`
685
+ * (`IGX-1106`) and draws the first frame.
686
+ *
687
+ * @returns The frame name, or `""`.
688
+ */
689
+ get frameName(): string;
690
+ /**
691
+ * Picks the frame drawn by name.
692
+ *
693
+ * @param value - A frame name the atlas declares, or `""` for the first frame.
694
+ */
695
+ set frameName(value: string);
658
696
  /**
659
697
  * The Babylon Lite objects the component uses. Unstable escape hatch
660
698
  * (`CONSTITUTION.md` §3.4).
@@ -686,6 +724,20 @@ export declare class SpriteRenderer extends Component implements ComponentHooks
686
724
  * @returns The atlas.
687
725
  */
688
726
  get atlas(): SpriteAtlasAsset | null;
727
+ /**
728
+ * The atlas to draw from, with the frame name looked up in it. The sync system calls this once
729
+ * per sprite per frame, before anything else.
730
+ *
731
+ * @remarks
732
+ * A loaded `sprite` handle whose value is not an atlas is reported once (`IGX-1118`) and draws
733
+ * nothing; a frame name the atlas does not declare is reported once (`IGX-1106`) and draws the
734
+ * first frame. Neither throws, so one bad sprite never stops the sync.
735
+ *
736
+ * @returns The atlas, or `null` when there is nothing to draw.
737
+ *
738
+ * @internal
739
+ */
740
+ prepareSync(): SpriteAtlasAsset | null;
689
741
  /**
690
742
  * Whether anything about this sprite needs writing to Lite this frame.
691
743
  *
@@ -1559,8 +1611,8 @@ interface SpriteBatch {
1559
1611
  * `app.twoD` (`docs/architecture/11-2d-toolkit.md` §1 and §5): the 2D toolkit's runtime surface.
1560
1612
  *
1561
1613
  * Everything a game reaches for that is not attached to an entity lives here — the pixels-per-unit
1562
- * conversion, the camera the frame is drawn through, sprite picking, the tile-object factory
1563
- * registry, the per-layer diagnostics, and the Lite escape hatch.
1614
+ * conversion, the camera the frame is drawn through, sprite picking, the per-layer diagnostics,
1615
+ * and the Lite escape hatch.
1564
1616
  */
1565
1617
  /**
1566
1618
  * What `app.twoD.pickAt` returns.
@@ -1578,32 +1630,54 @@ interface TwoDPick {
1578
1630
  readonly v: number;
1579
1631
  }
1580
1632
  /**
1581
- * Builds the entities a tilemap's objects layer describes.
1633
+ * Options for `app.twoD.pickAt`, named after core's `RenderPickOptions`.
1582
1634
  *
1583
1635
  * @public
1584
1636
  */
1585
- type TileObjectFactory = (context: TileObjectContext) => Entity | null;
1637
+ interface TwoDPickOptions {
1638
+ /**
1639
+ * Restricts the pick to the sprites this accepts. A rejected sprite neither occludes nor returns:
1640
+ * the pick goes on to the next sprite under the point in the same sorting layer, then to the
1641
+ * layers below.
1642
+ *
1643
+ * @remarks
1644
+ * Called synchronously, topmost candidate first, while the pick has the sprites above the
1645
+ * candidate hidden. It must not add, remove or change sprites, and must not pick again: a nested
1646
+ * `pickAt` or `pickAllAt` throws `IGX-1119`. If it throws, the pick restores every sprite it hid
1647
+ * and rethrows.
1648
+ *
1649
+ * @param entity - The entity carrying the candidate sprite.
1650
+ * @param component - The candidate sprite.
1651
+ * @returns `true` to consider the sprite.
1652
+ */
1653
+ readonly filter?: (entity: Entity, component: SpriteRenderer) => boolean;
1654
+ /**
1655
+ * Whether sprites marked `pickable: false` are candidates too. An editor sets it to select what
1656
+ * the game itself never picks. Defaults to `false`.
1657
+ */
1658
+ readonly includeUnpickable?: boolean;
1659
+ /** Entities whose sprites are skipped, as if `filter` had rejected them. */
1660
+ readonly ignore?: readonly Entity[];
1661
+ }
1586
1662
  /**
1587
- * What a {@link TileObjectFactory} is handed.
1663
+ * Options for `app.twoD.pickAllAt`.
1588
1664
  *
1589
1665
  * @public
1590
1666
  */
1591
- interface TileObjectContext {
1592
- /** The world to create the entity in. */
1593
- readonly world: World;
1594
- /** The object's name, as the map wrote it. */
1595
- readonly name: string;
1596
- /** The object's type, which selected this factory. */
1597
- readonly type: string;
1598
- /** The object's bottom-left corner, in world metres relative to the tilemap entity. */
1599
- readonly position: Vec2Like;
1600
- /** The object's size, in world metres. */
1601
- readonly size: Vec2Like;
1602
- /** The object's custom properties. */
1603
- readonly properties: Readonly<Record<string, string | number | boolean>>;
1604
- /** The tilemap entity the object came from, so a factory can parent to it. */
1605
- readonly tilemap: Entity;
1667
+ interface TwoDPickAllOptions extends TwoDPickOptions {
1668
+ /** The most hits to return, topmost first. Defaults to {@link DEFAULT_PICK_ALL_LIMIT}. */
1669
+ readonly limit?: number;
1606
1670
  }
1671
+ /**
1672
+ * How many hits `app.twoD.pickAllAt` returns when no `limit` is given.
1673
+ *
1674
+ * @remarks
1675
+ * Every hit costs one more scan of its layer, so an unbounded walk over a dense stack is quadratic;
1676
+ * 64 is far deeper than any click-cycle needs. Pass `limit: Infinity` to walk the whole stack.
1677
+ *
1678
+ * @public
1679
+ */
1680
+ export declare const DEFAULT_PICK_ALL_LIMIT = 64;
1607
1681
  /**
1608
1682
  * A caller-owned world-space box, so reading the camera's bounds allocates nothing.
1609
1683
  *
@@ -1704,16 +1778,59 @@ export declare class TwoDService {
1704
1778
  * Picks the topmost sprite under a viewport pixel (`docs/architecture/11-2d-toolkit.md` §5).
1705
1779
  *
1706
1780
  * @remarks
1707
- * Picking is a CPU test against every world layer's instance data, in draw order — no GPU
1708
- * readback and no frame of latency, which is what makes it usable from a click handler. It
1709
- * resolves only `SpriteRenderer` components: a tilemap's tiles have no component, so use
1781
+ * Picking is a CPU test against every layer's instance data, in draw order — no GPU readback and
1782
+ * no frame of latency, which is what makes it usable from a click handler. It resolves only
1783
+ * `SpriteRenderer` components: a tilemap's tiles have no component, so use
1710
1784
  * `Tilemap.worldToCell` for those.
1711
1785
  *
1786
+ * A sprite that is rejected — unpickable, destroyed, ignored, refused by `options.filter`, or a
1787
+ * tile or batch slot with no component — does not occlude: the pick goes on to the sprite under
1788
+ * it in the same sorting layer, then to the layers below.
1789
+ *
1790
+ * Cost: one scan of a layer's sprites per sprite examined in it. With nothing rejected that is one
1791
+ * scan per layer; looking under `m` rejected sprites in a layer of `n` costs `O(m·n)`, and every
1792
+ * hidden sprite costs one slot upload on the next frame.
1793
+ *
1712
1794
  * @param xPx - The viewport x, in pixels from the left edge.
1713
1795
  * @param yPx - The viewport y, in pixels from the top edge.
1796
+ * @param options - A filter, an ignore list, and whether unpickable sprites count.
1714
1797
  * @returns The hit, or `null` for a miss.
1798
+ * @throws IgnifxError with code `IGX-1119` when called from inside a pick's `filter`.
1799
+ *
1800
+ * @example
1801
+ * ```ts
1802
+ * // An editor selecting what the game cannot pick, minus locked entities.
1803
+ * const hit = app.twoD.pickAt(x, y, {
1804
+ * includeUnpickable: true,
1805
+ * filter: (entity) => !locked.has(entity),
1806
+ * });
1807
+ * ```
1715
1808
  */
1716
- pickAt(xPx: number, yPx: number): TwoDPick | null;
1809
+ pickAt(xPx: number, yPx: number, options?: TwoDPickOptions): TwoDPick | null;
1810
+ /**
1811
+ * Picks every sprite under a viewport pixel, topmost first.
1812
+ *
1813
+ * @remarks
1814
+ * The order is the draw order reversed: sorting layers front to back, and within a layer the
1815
+ * order `pickAt` would have reached them in. The same sprites are rejected as by
1816
+ * {@link TwoDService.pickAt}. Use it for click-cycling through a stack.
1817
+ *
1818
+ * Cost: one scan of a layer's sprites per sprite examined in it, so `k` hits over a layer of `n`
1819
+ * cost `O(k·n)`; hence the default `limit` of {@link DEFAULT_PICK_ALL_LIMIT}.
1820
+ *
1821
+ * @param xPx - The viewport x, in pixels from the left edge.
1822
+ * @param yPx - The viewport y, in pixels from the top edge.
1823
+ * @param options - A limit, a filter, an ignore list, and whether unpickable sprites count.
1824
+ * @returns The hits, freshly allocated; empty for a miss or a `limit` below 1.
1825
+ * @throws IgnifxError with code `IGX-1119` when called from inside a pick's `filter`.
1826
+ *
1827
+ * @example
1828
+ * ```ts
1829
+ * const stack = app.twoD.pickAllAt(x, y);
1830
+ * const next = stack[(stack.findIndex((hit) => hit.entity === selected) + 1) % stack.length];
1831
+ * ```
1832
+ */
1833
+ pickAllAt(xPx: number, yPx: number, options?: TwoDPickAllOptions): TwoDPick[];
1717
1834
  /**
1718
1835
  * Claims a fixed-capacity crowd of sprites that no entity owns
1719
1836
  * (`docs/plan/2026-09-terrain-particles-shaders.md` §2.2).
@@ -1749,40 +1866,6 @@ export declare class TwoDService {
1749
1866
  * @returns `true` when a camera and a layer existed to measure against.
1750
1867
  */
1751
1868
  visibleWorldBounds(out: WorldBox): boolean;
1752
- /**
1753
- * Registers the factory that turns one kind of tilemap object into an entity
1754
- * (`docs/architecture/11-2d-toolkit.md` §2.5).
1755
- *
1756
- * @param type - The object `type` the map writes.
1757
- * @param factory - Builds the entity, or returns `null` to spawn nothing.
1758
- * @throws IgnifxError with code `IGX-1110` when a factory for the type is already registered.
1759
- *
1760
- * @example
1761
- * ```ts
1762
- * app.twoD.registerTileObjectFactory("spawn", ({ world, position }) => {
1763
- * const player = world.createEntity({ name: "player" });
1764
- * player.transform.position2D = new Vec2(position.x, position.y);
1765
- * return player;
1766
- * });
1767
- * ```
1768
- */
1769
- registerTileObjectFactory(type: string, factory: TileObjectFactory): void;
1770
- /**
1771
- * Removes a tile-object factory.
1772
- *
1773
- * @param type - The object type.
1774
- * @returns `true` when a factory was registered.
1775
- */
1776
- unregisterTileObjectFactory(type: string): boolean;
1777
- /**
1778
- * The factory registered for an object type.
1779
- *
1780
- * @param type - The object type.
1781
- * @returns The factory, or `null`.
1782
- *
1783
- * @internal
1784
- */
1785
- tileObjectFactory(type: string): TileObjectFactory | null;
1786
1869
  /**
1787
1870
  * Converts a viewport pixel into a world point through the active camera.
1788
1871
  *
@@ -2349,6 +2432,23 @@ export declare class SpriteAnimator extends Component implements ComponentHooks
2349
2432
  * Continues a paused clip.
2350
2433
  */
2351
2434
  resume(): void;
2435
+ /**
2436
+ * Shows one frame of a clip without playing it, for an editor preview (ADR-0028) or a held pose.
2437
+ * Playback stops on that frame and no `onEvent` or `onClipEnded` fires;
2438
+ * {@link SpriteAnimator.resume} plays on from there.
2439
+ *
2440
+ * @param name - The clip's name.
2441
+ * @param frameIndex - The frame within the clip, counting from `0`; clamped to the clip's frames.
2442
+ * @returns `true` when the frame was written; `false` while the document or the atlas is still
2443
+ * loading, or when the clip has no frames.
2444
+ * @throws IgnifxError with code `IGX-1108` when the document declares no such clip.
2445
+ *
2446
+ * @example
2447
+ * ```ts
2448
+ * animator.sample("run", 2);
2449
+ * ```
2450
+ */
2451
+ sample(name: string, frameIndex: number): boolean;
2352
2452
  /**
2353
2453
  * Advances playback by one frame's worth of scaled time. The animation system calls this in
2354
2454
  * `PostUpdate`.
@@ -2702,8 +2802,6 @@ export declare const TwoDErrorCode: {
2702
2802
  readonly unknownClip: "IGX-1108";
2703
2803
  /** A tilemap importer was handed a document it cannot read, or an unsupported projection. */
2704
2804
  readonly unsupportedImport: "IGX-1109";
2705
- /** `app.twoD.registerTileObjectFactory` was called twice for one object type. */
2706
- readonly duplicateObjectFactory: "IGX-1110";
2707
2805
  /** A tile coordinate is outside the tilemap layer's bounds. */
2708
2806
  readonly tileOutOfRange: "IGX-1111";
2709
2807
  /** A second `twoD()` extension was registered on one app. */
@@ -2718,6 +2816,10 @@ export declare const TwoDErrorCode: {
2718
2816
  readonly batchDisposed: "IGX-1116";
2719
2817
  /** `app.twoD.createSpriteBatch` was given an atlas handle that has not finished loading. */
2720
2818
  readonly batchAtlasNotLoaded: "IGX-1117";
2819
+ /** `SpriteRenderer.sprite` loaded something that is not a sprite atlas, such as a `#frame:` address. */
2820
+ readonly spriteNotAnAtlas: "IGX-1118";
2821
+ /** `app.twoD.pickAt` or `pickAllAt` was called from inside a pick's own `filter`. */
2822
+ readonly nestedPick: "IGX-1119";
2721
2823
  };
2722
2824
  /**
2723
2825
  * The union of the codes the `TwoDErrorCode` table declares.
@@ -3548,9 +3650,13 @@ interface TilemapLayerDefinition {
3548
3650
  readonly tiles: readonly number[];
3549
3651
  }
3550
3652
  /**
3551
- * One object placed on the map, to be turned into an entity by a registered `TileObjectFactory`.
3653
+ * One object placed on the map: a spawn point, a prop, a trigger area.
3552
3654
  *
3553
3655
  * @remarks
3656
+ * Objects are authoring data (ADR-0030). The runtime never creates entities from them;
3657
+ * `ignifx import tilemap` moves them into a scene file once, as entities, and code can still read
3658
+ * them from {@link TilemapDefinition.objects}.
3659
+ *
3554
3660
  * `x`, `y`, `width` and `height` are **world metres with +Y up**, and `x`/`y` name the object's
3555
3661
  * **bottom-left** corner. Importers do the conversion out of the editor's top-left pixel space, so
3556
3662
  * nothing downstream has to know what editor the map came from.
@@ -3560,7 +3666,7 @@ interface TilemapLayerDefinition {
3560
3666
  interface TilemapObjectDefinition {
3561
3667
  /** The object's name, as authored; not required to be unique. */
3562
3668
  readonly name: string;
3563
- /** The object's type — what `app.twoD.registerTileObjectFactory` keys on. */
3669
+ /** The object's type, such as `"spawn"` or `"coin"`. */
3564
3670
  readonly type: string;
3565
3671
  /** The left edge, in world metres. */
3566
3672
  readonly x: number;
@@ -4057,6 +4163,21 @@ interface TileChange {
4057
4163
  /** The tile id that is there now. */
4058
4164
  readonly current: number;
4059
4165
  }
4166
+ /**
4167
+ * One cell write in a {@link Tilemap.setCells} batch.
4168
+ *
4169
+ * @public
4170
+ */
4171
+ interface TileWrite {
4172
+ /** The layer's index in the document. */
4173
+ readonly layer: number;
4174
+ /** The cell's column, with `0` at the left. */
4175
+ readonly x: number;
4176
+ /** The cell's row, with `0` at the **bottom**. */
4177
+ readonly y: number;
4178
+ /** The tile id, or `0` to clear the cell. */
4179
+ readonly tileId: number;
4180
+ }
4060
4181
  /**
4061
4182
  * A tilemap.
4062
4183
  *
@@ -4065,6 +4186,10 @@ interface TileChange {
4065
4186
  * const level = app.world.createEntity({ name: "level" }).addComponent(Tilemap);
4066
4187
  * level.map = app.assets.load<TilemapAsset>("2d/level-1.tilemap.json");
4067
4188
  * level.setTile(0, 3, 2, 0); // carve a hole in the ground layer
4189
+ * level.setCells([
4190
+ * { layer: 0, x: 4, y: 2, tileId: 0 },
4191
+ * { layer: 0, x: 5, y: 2, tileId: 0 },
4192
+ * ]);
4068
4193
  * ```
4069
4194
  *
4070
4195
  * @public
@@ -4096,7 +4221,7 @@ export declare class Tilemap extends Component implements ComponentHooks {
4096
4221
  */
4097
4222
  onDetach(): void;
4098
4223
  /**
4099
- * Emitted whenever `setTile` changes a cell.
4224
+ * Emitted whenever `setTile` or `setCells` changes a cell.
4100
4225
  *
4101
4226
  * @returns The signal.
4102
4227
  */
@@ -4145,7 +4270,7 @@ export declare class Tilemap extends Component implements ComponentHooks {
4145
4270
  * the tilemap entity's origin, with adjacent full-cell tiles merged into as few counter-clockwise
4146
4271
  * rectangles as possible.
4147
4272
  *
4148
- * @returns The collision data.
4273
+ * @returns The collision data; empty until the map has loaded.
4149
4274
  */
4150
4275
  get collisionData(): TilemapCollisionData;
4151
4276
  /**
@@ -4167,6 +4292,44 @@ export declare class Tilemap extends Component implements ComponentHooks {
4167
4292
  * @throws IgnifxError with code `IGX-1111` when the cell is outside the layer.
4168
4293
  */
4169
4294
  setTile(layer: number, x: number, y: number, tileId: number): void;
4295
+ /**
4296
+ * Writes many tiles as one change.
4297
+ *
4298
+ * @remarks
4299
+ * Each write means what the same `setTile` call means, applied in order, so a cell named twice
4300
+ * ends with the later id. The batch is checked before anything is written: one out-of-range cell
4301
+ * throws and leaves the map untouched. The renderer rebuilds each touched chunk once and the
4302
+ * collision surface merges once, however many cells changed; `onTileChanged` then fires once per
4303
+ * changed cell, after every write has landed.
4304
+ *
4305
+ * @param cells - The writes.
4306
+ * @returns How many writes changed a cell.
4307
+ * @throws IgnifxError with code `IGX-1111` when a cell is outside its layer.
4308
+ *
4309
+ * @example
4310
+ * ```ts
4311
+ * // Clear a 3x3 room on layer 0.
4312
+ * const cells: TileWrite[] = [];
4313
+ * for (let y = 4; y < 7; y += 1) {
4314
+ * for (let x = 2; x < 5; x += 1) {
4315
+ * cells.push({ layer: 0, x, y, tileId: 0 });
4316
+ * }
4317
+ * }
4318
+ * level.setCells(cells);
4319
+ * ```
4320
+ */
4321
+ setCells(cells: readonly TileWrite[]): number;
4322
+ /**
4323
+ * When a render chunk's tiles last changed, so a `TilemapRenderer` rebuilds only the chunks a
4324
+ * `setTile` or `setCells` touched.
4325
+ *
4326
+ * @param chunkX - The chunk's column, in chunks of `chunkSize` cells.
4327
+ * @param chunkY - The chunk's row.
4328
+ * @returns An opaque stamp; it differs from the last one read exactly when the chunk changed.
4329
+ *
4330
+ * @internal
4331
+ */
4332
+ chunkStamp(chunkX: number, chunkY: number): number;
4170
4333
  /**
4171
4334
  * A layer's size, in cells.
4172
4335
  *
@@ -4212,28 +4375,6 @@ export declare class Tilemap extends Component implements ComponentHooks {
4212
4375
  invalidateCollision(): void;
4213
4376
  }
4214
4377
  //#endregion
4215
- //#region src/tilemap/spawn-objects.d.ts
4216
- /**
4217
- * Runs the registered factory for every object in one tilemap.
4218
- *
4219
- * @param app - The app.
4220
- * @param service - The 2D service holding the factory registry.
4221
- * @param tilemap - The tilemap whose objects layer to walk.
4222
- * @returns The entities that were created, in document order.
4223
- *
4224
- * @example
4225
- * ```ts
4226
- * app.twoD.registerTileObjectFactory("spawn", ({ world, position }) => {
4227
- * const player = world.createEntity({ name: "player" });
4228
- * player.transform.position2D = new Vec2(position.x, position.y);
4229
- * return player;
4230
- * });
4231
- * ```
4232
- *
4233
- * @public
4234
- */
4235
- export declare function spawnTilemapObjects(app: App, service: TwoDService, tilemap: Tilemap): readonly Entity[];
4236
- //#endregion
4237
4378
  //#region src/tilemap/tilemap-renderer.d.ts
4238
4379
  /**
4239
4380
  * A tilemap renderer.
@@ -4296,9 +4437,9 @@ export declare class TilemapRenderer extends Component implements ComponentHooks
4296
4437
  * Forces every chunk to be rebuilt on the next sync.
4297
4438
  *
4298
4439
  * @remarks
4299
- * `Tilemap.onTileChanged` is what normally calls this — a rewritten cell has to reach the sprite
4300
- * that draws it, and rebuilding the chunk is both simpler and, for anything short of a per-frame
4301
- * rewrite, cheaper than tracking one sprite per cell.
4440
+ * A rewritten cell does not need this: `Tilemap.setTile` and `setCells` stamp the chunk they
4441
+ * touched, and the next sync rebuilds just that chunk — simpler and, for anything short of a
4442
+ * per-frame rewrite, cheaper than tracking one sprite per cell.
4302
4443
  *
4303
4444
  * @internal
4304
4445
  */
@@ -4344,16 +4485,16 @@ export declare class TilemapRenderer extends Component implements ComponentHooks
4344
4485
  //#endregion
4345
4486
  //#region src/version.d.ts
4346
4487
  /**
4347
- * The package's own version, reported as `Extension.version`
4348
- * (`docs/architecture/04-extensions.md` §1). First-party packages ship one version line, so this
4349
- * tracks `package.json` and the release tooling bumps both together.
4350
- */
4351
- /**
4352
- * The `@ignifx/2d` version this build was cut from.
4488
+ * The `@ignifx/2d` version this build was cut from, reported as `Extension.version`
4489
+ * (`docs/architecture/04-extensions.md` §1).
4490
+ *
4491
+ * @remarks
4492
+ * The build stamps it from `package.json`; code run from source, such as this repository's tests,
4493
+ * sees `"0.0.0"`.
4353
4494
  *
4354
4495
  * @public
4355
4496
  */
4356
- export declare const VERSION = "0.0.0";
4497
+ export declare const VERSION: string;
4357
4498
  //#endregion
4358
- export type { AnimatedTilemapSink, AsepriteAnimationImportOptions, AsepriteImportOptions, CollisionMergeOptions, GridAtlasImportOptions, LdtkImportOptions, LiteAtlasTexture, LiteBounds2D, LiteSprite2DHandle, LiteSprite2DLayer, LiteSprite2DView, LiteSpriteAtlas, LiteSpriteBlendMode, LiteSpriteFrame, LiteSpritePickInfo, LiteSpriteRenderer, LiteSpriteSampling, PlayClipOptions, SpriteAnimationDefinition, SpriteAnimationEvent, SpriteAnimationInput, SpriteAsset, SpriteAtlasAssetLiteHandles, SpriteAtlasDefinition, SpriteAtlasInput, SpriteBatch, SpriteBatchLiteHandles, SpriteBatchOptions, SpriteBlendName, SpriteClip, SpriteClipDefinition, SpriteEffectKind, SpriteFrameDefinition, SpriteFrameInfo, SpriteLayerEntry, SpriteLayerKey, TexturePackerImportOptions, TileAnimationFrame, TileChange, TileColliderDefinition, TileCollisionInfo, TileCollisionShape, TileDefinition, TileObjectContext, TileObjectFactory, TileRleData, TiledImportOptions, TilemapCollisionChunk, TilemapCollisionData, TilemapDefinition, TilemapInput, TilemapLayerDefinition, TilemapLayerInput, TilemapObjectDefinition, TilesetDefinition, TwoDErrorOptions, TwoDLiteHandles, TwoDMode, TwoDOptions, TwoDPick, TwoDSettings, Vec2Json, WorldBox };
4499
+ export type { AnimatedTilemapSink, AsepriteAnimationImportOptions, AsepriteImportOptions, CollisionMergeOptions, GridAtlasImportOptions, LdtkImportOptions, LiteAtlasTexture, LiteBounds2D, LiteSprite2DHandle, LiteSprite2DLayer, LiteSprite2DView, LiteSpriteAtlas, LiteSpriteBlendMode, LiteSpriteFrame, LiteSpritePickInfo, LiteSpriteRenderer, LiteSpriteSampling, PlayClipOptions, SpriteAnimationDefinition, SpriteAnimationEvent, SpriteAnimationInput, SpriteAsset, SpriteAtlasAssetLiteHandles, SpriteAtlasDefinition, SpriteAtlasInput, SpriteBatch, SpriteBatchLiteHandles, SpriteBatchOptions, SpriteBlendName, SpriteClip, SpriteClipDefinition, SpriteEffectKind, SpriteFrameDefinition, SpriteFrameInfo, SpriteLayerEntry, SpriteLayerKey, TexturePackerImportOptions, TileAnimationFrame, TileChange, TileColliderDefinition, TileCollisionInfo, TileCollisionShape, TileDefinition, TileRleData, TileWrite, TiledImportOptions, TilemapCollisionChunk, TilemapCollisionData, TilemapDefinition, TilemapInput, TilemapLayerDefinition, TilemapLayerInput, TilemapObjectDefinition, TilesetDefinition, TwoDErrorOptions, TwoDLiteHandles, TwoDMode, TwoDOptions, TwoDPick, TwoDPickAllOptions, TwoDPickOptions, TwoDSettings, Vec2Json, WorldBox };
4359
4500
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/service/sorting-layers.ts","../src/atlas/definition.ts","../src/lite/types.ts","../src/atlas/sprite-atlas-asset.ts","../src/lite/sprite-layer.ts","../src/sprite/sprite-renderer.ts","../src/service/layer-registry.ts","../src/camera/camera-2d.ts","../src/sprite/parallax-layer.ts","../src/settings.ts","../src/service/runtime.ts","../src/service/sprite-batch.ts","../src/service/two-d-service.ts","../src/augmentation.ts","../src/tilemap/animated-tiles.ts","../src/animation/animation-system.ts","../src/animation/definition.ts","../src/animation/importers.ts","../src/animation/sprite-animation-asset.ts","../src/animation/loader.ts","../src/animation/sprite-animator.ts","../src/assets/relative.ts","../src/atlas/importers.ts","../src/atlas/loader.ts","../src/camera/camera-2d-follow.ts","../src/errors.ts","../src/extension.ts","../src/file-schemas.ts","../src/math/coords.ts","../src/schemas.ts","../src/service/sync-system.ts","../src/sprite/sprite-layer-effect.ts","../src/tilemap/collision-data.ts","../src/tilemap/collision-merge.ts","../src/tilemap/definition.ts","../src/tilemap/importers/ldtk.ts","../src/tilemap/importers/tiled.ts","../src/tilemap/tilemap-asset.ts","../src/tilemap/tilemap.ts","../src/tilemap/spawn-objects.ts","../src/tilemap/tilemap-renderer.ts","../src/version.ts"],"mappings":";;;;;;;;;;;;;;;;;qBAiBa;;;;;;;;;;;qBAYA;;;;;;;;;;;;qBAaA;;;;;;;EAUX,YAAY;;;;;;MAuBR;;;;;;;EAUJ,QAAQ;;;;;;;;EAWR,QAAQ;;;;;;;;EAkBR,QAAQ;;;;;;;;;;;;;;;;;qBCjGG;;;;;;qBAOA;;;;;;qBAOA;;;;;;qBAOA;;;;;;qBAOA;;;;;;;KAQD,WAAW;;;;;;;;;;wBAWP,SAAS,OAAO,sBAAsB,UAAU,WAAW;;;;;;UAyB1D;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;;;;WAKA,QAAQ;;WAER,aAAa;;;;;;;;;;;;;;;;UAiBP;;WAEN,eAAe;;WAEf;;WAEA;;WAEA;;WAEA;;WAEA,iBAAiB;;;;;;;UAQX;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA,iBAAiB;;;;;;;;;;;;;wBAcZ,kBAAkB,OAAO,kBAAkB,mBAAuB;;;;;;;;;;;;;;wBAsFlE,oBAAoB;;;;;;;;;;;;;;;;;;;;KC9NxB,qBAAqB;;;;;;;;;;KAWrB,oBAAoB;;;;;;;;;;KAWpB,qBAAqB;;;;;;;;;;;;KAarB,mBAAmB;;;;;;;;;KAUnB,kBAAkB;;;;;;;;;;;;KAalB,kBAAkB;;;;;;;;;KAUlB,sBAAsB;;;;;;;;;KAUtB,qBAAqB;;;;;;;;;;KAWrB,qBAAqB;;;;;;;;;;KAWrB,eAAe;;;;;;;;;KAUf,yBAAyB;;;;;;;;;KAUzB,mBAAmB;;;;;;;;;;;;;UCxId;;WAEN,OAAO;;;;;;;UAQD;;WAEN;;WAEA;;W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;qBAeE,gBAAgB,qBAAqB;;;SAEzC;;SAGA;;SAGA,QAAQ;;EAGf,KAAa,YAAY;;EAGzB;;EAGA;;;;EAwBA;;;;EAQA;;;;EAUA;;;;;;MAUI,iBAAiB,OAAO;;;;;;;;;;;;MAexB,sBAAsB;;;;;;MAStB,SAAS;;;;;;MAUT,cAAc;;;;;;MASd;;;;;;MAYA;;;;;;;;;;;MAcA,iBAAiB;;;;;;;;;EAerB,QAAQ,eAAe,WAAW;;;;;;;;;;EAoBlC,QAAQ,eAAe,WAAW,WAAW;;;;;;;EAiC7C,UAAU,gBAAgB;;;;;;;;;;;;;EAiB1B,YAAY,aAAa,aAAa,OAAO,UAAU,KAAK,OAAO;;;;;;;;;EAuBnE,YAAY,aAAa,aAAa,WAAW,WAAW,KAAK,OAAO;;;;;;;;EAexE,YAAY,WAAW,YAAY;;;;;;EAuBnC;;;;;;;;;;;;;;;;;;;;;;;wBCtRc,oBAAoB,KAAK,KAAK,SAAS,aAAa,SAAS,mBAAmB;;;;;;;;;;;;;;;;qBCjBnF,wBAAwB,qBAAqB;;;SAEjD;;SAGA;;SAGA,QAAQ;;EAGf,OAAe,YAAY;;EAG3B;;EAGA;;;;EAoBA;;;;EAQA;;;;EAOA;;;;;;MASI;;;;;;MASA;;;;;;MAaA,eAAe;;;;;;;;;;;EAenB;;;;;;;;;;;;EAeA,KAAK,KAAK,SAAS,UAAU,qBAAqB,QAAQ,qBAAqB;;;;;;;;;EA4C/E,iBAAiB;;;;;;;;MAmBb;;;;;;;;EAWJ,QAAQ,UAAU;;;;;;;;;;;;;;qBCzNP"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/service/sorting-layers.ts","../src/atlas/definition.ts","../src/lite/types.ts","../src/atlas/sprite-atlas-asset.ts","../src/lite/sprite-layer.ts","../src/sprite/sprite-renderer.ts","../src/service/layer-registry.ts","../src/camera/camera-2d.ts","../src/sprite/parallax-layer.ts","../src/settings.ts","../src/service/runtime.ts","../src/service/sprite-batch.ts","../src/service/two-d-service.ts","../src/augmentation.ts","../src/tilemap/animated-tiles.ts","../src/animation/animation-system.ts","../src/animation/definition.ts","../src/animation/importers.ts","../src/animation/sprite-animation-asset.ts","../src/animation/loader.ts","../src/animation/sprite-animator.ts","../src/assets/relative.ts","../src/atlas/importers.ts","../src/atlas/loader.ts","../src/camera/camera-2d-follow.ts","../src/errors.ts","../src/extension.ts","../src/file-schemas.ts","../src/math/coords.ts","../src/schemas.ts","../src/service/sync-system.ts","../src/sprite/sprite-layer-effect.ts","../src/tilemap/collision-data.ts","../src/tilemap/collision-merge.ts","../src/tilemap/definition.ts","../src/tilemap/importers/ldtk.ts","../src/tilemap/importers/tiled.ts","../src/tilemap/tilemap-asset.ts","../src/tilemap/tilemap.ts","../src/tilemap/tilemap-renderer.ts","../src/version.ts"],"mappings":";;;;;;;;;;;;;;;;;qBAiBa;;;;;;;;;;;qBAYA;;;;;;;;;;;;qBAaA;;;;;;;EAUX,YAAY;;;;;;MAuBR;;;;;;;EAUJ,QAAQ;;;;;;;;EAWR,QAAQ;;;;;;;;EAkBR,QAAQ;;;;;;;;;;;;;;;;;qBCjGG;;;;;;qBAOA;;;;;;qBAOA;;;;;;qBAOA;;;;;;qBAOA;;;;;;;KAQD,WAAW;;;;;;;;;;wBAWP,SAAS,OAAO,sBAAsB,UAAU,WAAW;;;;;;UAyB1D;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;;;;WAKA,QAAQ;;WAER,aAAa;;;;;;;;;;;;;;;;UAiBP;;WAEN,eAAe;;WAEf;;WAEA;;WAEA;;WAEA;;WAEA,iBAAiB;;;;;;;UAQX;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA,iBAAiB;;;;;;;;;;;;;wBAcZ,kBAAkB,OAAO,kBAAkB,mBAAuB;;;;;;;;;;;;;;wBAsFlE,oBAAoB;;;;;;;;;;;;;;;;;;;;KC9NxB,qBAAqB;;;;;;;;;;KAWrB,oBAAoB;;;;;;;;;;KAWpB,qBA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