@ignifx/2d 0.2.1 → 0.3.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 +207 -132
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +423 -154
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/skills/2d/SKILL.md +51 -4
package/dist/index.d.ts
CHANGED
|
@@ -870,6 +870,35 @@ export declare class SpriteLayerRegistry {
|
|
|
870
870
|
readonly key: string;
|
|
871
871
|
readonly handle: LiteSprite2DHandle;
|
|
872
872
|
};
|
|
873
|
+
/**
|
|
874
|
+
* Claims `capacity` sprite slots in one layer at once — what `app.twoD.createSpriteBatch` is
|
|
875
|
+
* built on.
|
|
876
|
+
*
|
|
877
|
+
* @remarks
|
|
878
|
+
* This is {@link SpriteLayerRegistry.placeRaw} `capacity` times with the key computed once and
|
|
879
|
+
* the Lite layer pre-allocated for the whole crowd, so a 5 000-sprite batch neither builds 5 000
|
|
880
|
+
* key strings nor makes Lite double its instance array nine times. Like `placeRaw` the slots take
|
|
881
|
+
* no place in the pick map: a batch sprite has no component for `app.twoD.pickAt` to resolve.
|
|
882
|
+
*
|
|
883
|
+
* The `capacity` is only a pre-allocation for a layer this call **creates**. A batch that lands
|
|
884
|
+
* in a layer some `SpriteRenderer` already opened gets Lite's growth-by-doubling instead, which
|
|
885
|
+
* is correct but reallocates.
|
|
886
|
+
*
|
|
887
|
+
* @param sortingLayer - The sorting layer's name.
|
|
888
|
+
* @param atlas - The atlas every slot draws from.
|
|
889
|
+
* @param blend - The blend mode.
|
|
890
|
+
* @param screenSpace - Whether the layer ignores the camera.
|
|
891
|
+
* @param capacity - How many slots to claim.
|
|
892
|
+
* @param scratch - The reusable props record every slot is created from, already written.
|
|
893
|
+
* @param out - The array to fill with the handles; it is emptied first.
|
|
894
|
+
* @returns The key of the layer the slots landed in, and the layer itself.
|
|
895
|
+
*
|
|
896
|
+
* @internal
|
|
897
|
+
*/
|
|
898
|
+
placeBatch(sortingLayer: string, atlas: SpriteAtlasAsset, blend: SpriteBlendName, screenSpace: boolean, capacity: number, scratch: SpriteScratch, out: LiteSprite2DHandle[]): {
|
|
899
|
+
readonly key: string;
|
|
900
|
+
readonly layer: LiteSprite2DLayer;
|
|
901
|
+
};
|
|
873
902
|
/**
|
|
874
903
|
* Removes a sprite added by {@link SpriteLayerRegistry.placeRaw}.
|
|
875
904
|
*
|
|
@@ -1188,21 +1217,9 @@ export declare function twoDSettingsSchema(): Schema;
|
|
|
1188
1217
|
//#endregion
|
|
1189
1218
|
//#region src/service/runtime.d.ts
|
|
1190
1219
|
/**
|
|
1191
|
-
*
|
|
1192
|
-
*
|
|
1193
|
-
*
|
|
1194
|
-
* It exists as its own object rather than as fields on the service because the sync system, the
|
|
1195
|
-
* animation system, and the service all need it, and none of them owns the others.
|
|
1196
|
-
*
|
|
1197
|
-
* ## Why the renderer is created lazily
|
|
1198
|
-
*
|
|
1199
|
-
* Lite requires the sprite renderer to be registered **after** `registerScene`, so that it
|
|
1200
|
-
* composites on top (`index.d.ts` 12205-12209). `@ignifx/core` registers the render scene inside
|
|
1201
|
-
* `app.start()`, *after* every extension's `onStart` has already run, and emits no signal when it
|
|
1202
|
-
* does — `RendererImpl.isSceneRegistered` is internal. So there is no hook an extension can use.
|
|
1203
|
-
* {@link TwoDRuntime.ensureRenderer} closes that gap: the sync system calls it at the top of every
|
|
1204
|
-
* `PreRender`, and the first such call happens inside Lite's own frame callback, which only runs
|
|
1205
|
-
* once the scene is registered and the loop is going.
|
|
1220
|
+
* State shared by the 2D service and systems, owned by one app.
|
|
1221
|
+
* Create the sprite renderer on the first `PreRender`: core registers its render scene during
|
|
1222
|
+
* `app.start()`, and the sprite renderer must be registered afterwards to draw on top.
|
|
1206
1223
|
*/
|
|
1207
1224
|
/**
|
|
1208
1225
|
* The Babylon Lite objects `app.twoD` owns.
|
|
@@ -1406,6 +1423,123 @@ declare class TwoDRuntime {
|
|
|
1406
1423
|
dispose(): void;
|
|
1407
1424
|
}
|
|
1408
1425
|
//#endregion
|
|
1426
|
+
//#region src/service/sprite-batch.d.ts
|
|
1427
|
+
/**
|
|
1428
|
+
* What {@link TwoDService.createSpriteBatch} accepts.
|
|
1429
|
+
*
|
|
1430
|
+
* @beta
|
|
1431
|
+
*/
|
|
1432
|
+
interface SpriteBatchOptions {
|
|
1433
|
+
/**
|
|
1434
|
+
* The atlas every sprite in the batch draws a frame of. It must already be loaded.
|
|
1435
|
+
*
|
|
1436
|
+
* @remarks
|
|
1437
|
+
* The batch does not retain the handle: hold it for as long as the batch lives, exactly as a
|
|
1438
|
+
* `SpriteRenderer.sprite` holder does.
|
|
1439
|
+
*/
|
|
1440
|
+
readonly atlas: AssetHandle<SpriteAtlasAsset>;
|
|
1441
|
+
/** How many sprite slots to claim. Fixed for the batch's life; a whole number of at least 1. */
|
|
1442
|
+
readonly capacity: number;
|
|
1443
|
+
/** Which sorting layer the batch draws on. Defaults to `"Default"`. */
|
|
1444
|
+
readonly sortingLayer?: string;
|
|
1445
|
+
/** How the sprites' colour combines with the background. Defaults to `"alpha"`. */
|
|
1446
|
+
readonly blend?: SpriteBlendName;
|
|
1447
|
+
/** Whether the batch keeps the identity view instead of following the `Camera2D`. */
|
|
1448
|
+
readonly screenSpace?: boolean;
|
|
1449
|
+
}
|
|
1450
|
+
/**
|
|
1451
|
+
* The Babylon Lite objects a {@link SpriteBatch} owns. Unstable escape hatch
|
|
1452
|
+
* (`CONSTITUTION.md` §3.4).
|
|
1453
|
+
*
|
|
1454
|
+
* @beta
|
|
1455
|
+
*/
|
|
1456
|
+
interface SpriteBatchLiteHandles {
|
|
1457
|
+
/**
|
|
1458
|
+
* One handle per slot, in slot order; empty under a headless app and after `dispose()`.
|
|
1459
|
+
*
|
|
1460
|
+
* @remarks
|
|
1461
|
+
* Unstable; excluded from the stability guarantees of `CONSTITUTION.md` Article IV.
|
|
1462
|
+
*/
|
|
1463
|
+
readonly handles: readonly LiteSprite2DHandle[];
|
|
1464
|
+
}
|
|
1465
|
+
/**
|
|
1466
|
+
* A fixed-capacity crowd of sprites addressed by index, for bullet hells, debris, and 2D particles.
|
|
1467
|
+
*
|
|
1468
|
+
* @remarks
|
|
1469
|
+
* Under a headless app the batch is state only: it validates indices and remembers `count`, and
|
|
1470
|
+
* writes nothing, because there is no uploaded atlas to draw from
|
|
1471
|
+
* (`docs/architecture/07-rendering.md` §6).
|
|
1472
|
+
*
|
|
1473
|
+
* @example
|
|
1474
|
+
* ```ts
|
|
1475
|
+
* using batch = app.twoD.createSpriteBatch({ atlas, capacity: 1024, blend: "additive" });
|
|
1476
|
+
* batch.count = 3;
|
|
1477
|
+
* batch.write(0, 0, 0, 0.32, 0.32, 0, 0, 1, 1, 1, 1);
|
|
1478
|
+
* ```
|
|
1479
|
+
*
|
|
1480
|
+
* @beta
|
|
1481
|
+
*/
|
|
1482
|
+
interface SpriteBatch {
|
|
1483
|
+
/** How many slots the batch claimed. Fixed for its life. */
|
|
1484
|
+
readonly capacity: number;
|
|
1485
|
+
/**
|
|
1486
|
+
* How many leading slots draw. Slots at an index of `count` or above are hidden.
|
|
1487
|
+
*
|
|
1488
|
+
* @remarks
|
|
1489
|
+
* Lowering `count` hides the slots that fall out of range; raising it again reveals those that
|
|
1490
|
+
* have been written since the batch was created and not explicitly hidden, with the geometry they
|
|
1491
|
+
* last carried. A slot that was never written stays invisible until it is.
|
|
1492
|
+
*
|
|
1493
|
+
* @throws IgnifxError with code `IGX-1115` when the value is not a whole number in
|
|
1494
|
+
* `0 .. capacity`, or `IGX-1116` when the batch is disposed.
|
|
1495
|
+
*/
|
|
1496
|
+
count: number;
|
|
1497
|
+
/**
|
|
1498
|
+
* Writes one slot, in **world** units: metres, +Y up, exactly as a `SpriteRenderer`'s transform
|
|
1499
|
+
* and frame mean them. The batch applies `pixelsPerUnit` and the +Y-down flip itself.
|
|
1500
|
+
*
|
|
1501
|
+
* @remarks
|
|
1502
|
+
* `pixelsPerUnit` is read at the moment of the write, so a scene that changes it does not move
|
|
1503
|
+
* slots written before the change; rewrite them.
|
|
1504
|
+
*
|
|
1505
|
+
* @param index - The slot, in `0 .. capacity - 1`.
|
|
1506
|
+
* @param x - The sprite's centre, in world metres.
|
|
1507
|
+
* @param y - The sprite's centre, in world metres, +Y up.
|
|
1508
|
+
* @param width - The drawn width, in world metres.
|
|
1509
|
+
* @param height - The drawn height, in world metres.
|
|
1510
|
+
* @param frame - The atlas frame index; floored, and replaced by frame 0 when out of range.
|
|
1511
|
+
* @param rotation - The rotation, in degrees counter-clockwise, as `Transform.rotation2D` reads.
|
|
1512
|
+
* @param r - The red tint, `0` to `1`.
|
|
1513
|
+
* @param g - The green tint.
|
|
1514
|
+
* @param b - The blue tint.
|
|
1515
|
+
* @param a - The alpha.
|
|
1516
|
+
* @param flipX - Whether the sprite is mirrored horizontally. Defaults to `false`.
|
|
1517
|
+
* @param flipY - Whether the sprite is mirrored vertically. Defaults to `false`.
|
|
1518
|
+
* @throws IgnifxError with code `IGX-1115` for a slot outside the capacity, or `IGX-1116` when
|
|
1519
|
+
* the batch is disposed.
|
|
1520
|
+
*/
|
|
1521
|
+
write(index: number, x: number, y: number, width: number, height: number, frame: number, rotation: number, r: number, g: number, b: number, a: number, flipX?: boolean, flipY?: boolean): void;
|
|
1522
|
+
/**
|
|
1523
|
+
* Hides one slot until it is written again, whatever `count` says.
|
|
1524
|
+
*
|
|
1525
|
+
* @param index - The slot.
|
|
1526
|
+
* @throws IgnifxError with code `IGX-1115` for a slot outside the capacity, or `IGX-1116` when
|
|
1527
|
+
* the batch is disposed.
|
|
1528
|
+
*/
|
|
1529
|
+
hide(index: number): void;
|
|
1530
|
+
/**
|
|
1531
|
+
* Releases every slot back to its Lite layer. Idempotent; the batch cannot be reused afterwards.
|
|
1532
|
+
*/
|
|
1533
|
+
dispose(): void;
|
|
1534
|
+
/**
|
|
1535
|
+
* The Babylon Lite objects the batch owns. Unstable escape hatch
|
|
1536
|
+
* (`CONSTITUTION.md` §3.4).
|
|
1537
|
+
*/
|
|
1538
|
+
readonly lite: SpriteBatchLiteHandles;
|
|
1539
|
+
/** Disposes the batch when it leaves a `using` block — exactly {@link SpriteBatch.dispose}. */
|
|
1540
|
+
[Symbol.dispose](): void;
|
|
1541
|
+
}
|
|
1542
|
+
//#endregion
|
|
1409
1543
|
//#region src/service/two-d-service.d.ts
|
|
1410
1544
|
/**
|
|
1411
1545
|
* `app.twoD` (`docs/architecture/11-2d-toolkit.md` §1 and §5): the 2D toolkit's runtime surface.
|
|
@@ -1566,6 +1700,34 @@ export declare class TwoDService {
|
|
|
1566
1700
|
* @returns The hit, or `null` for a miss.
|
|
1567
1701
|
*/
|
|
1568
1702
|
pickAt(xPx: number, yPx: number): TwoDPick | null;
|
|
1703
|
+
/**
|
|
1704
|
+
* Claims a fixed-capacity crowd of sprites that no entity owns
|
|
1705
|
+
* (`docs/plan/2026-09-terrain-particles-shaders.md` §2.2).
|
|
1706
|
+
*
|
|
1707
|
+
* @remarks
|
|
1708
|
+
* Use it when the sprites are not *things* — bullets, sparks, debris, 2D particles — and the
|
|
1709
|
+
* per-entity cost of a `SpriteRenderer` would dominate. The batch is not picked and does not sort
|
|
1710
|
+
* its own slots; see {@link SpriteBatch}. Dispose it when the crowd is gone, or take it with
|
|
1711
|
+
* `using`.
|
|
1712
|
+
*
|
|
1713
|
+
* @param options - The atlas, the capacity, the sorting layer, the blend, and the space.
|
|
1714
|
+
* @returns The batch.
|
|
1715
|
+
* @throws IgnifxError with code `IGX-1114` for a capacity that is not a whole number of at least
|
|
1716
|
+
* 1, `IGX-1117` for an atlas handle that has not finished loading, or `IGX-1107` for a sorting
|
|
1717
|
+
* layer the project does not declare.
|
|
1718
|
+
*
|
|
1719
|
+
* @example
|
|
1720
|
+
* ```ts
|
|
1721
|
+
* const atlas = app.assets.load<SpriteAtlasAsset>("2d/spark.atlas.json");
|
|
1722
|
+
* await atlas.promise;
|
|
1723
|
+
* const batch = app.twoD.createSpriteBatch({ atlas, capacity: 2048, blend: "additive" });
|
|
1724
|
+
* batch.count = 1;
|
|
1725
|
+
* batch.write(0, 0, 0, 0.2, 0.2, 0, 0, 1, 0.8, 0.3, 1);
|
|
1726
|
+
* ```
|
|
1727
|
+
*
|
|
1728
|
+
* @beta
|
|
1729
|
+
*/
|
|
1730
|
+
createSpriteBatch(options: SpriteBatchOptions): SpriteBatch;
|
|
1569
1731
|
/**
|
|
1570
1732
|
* The world-space rectangle the camera can currently see.
|
|
1571
1733
|
*
|
|
@@ -1628,21 +1790,9 @@ export declare class TwoDService {
|
|
|
1628
1790
|
//#endregion
|
|
1629
1791
|
//#region src/augmentation.d.ts
|
|
1630
1792
|
/**
|
|
1631
|
-
*
|
|
1632
|
-
*
|
|
1633
|
-
*
|
|
1634
|
-
*
|
|
1635
|
-
* Two mechanics carry over from `@ignifx/input`, both measured rather than assumed:
|
|
1636
|
-
*
|
|
1637
|
-
* - The module **must** import something from `@ignifx/core`. A `declare module "@ignifx/core"`
|
|
1638
|
-
* block in a file that never imports the module is `TS2664: Invalid module name in augmentation`
|
|
1639
|
-
* under both `tsc --build` and TypeDoc; importing the `ExtensionContext` type used below is
|
|
1640
|
-
* enough to bring the module into the program.
|
|
1641
|
-
* - The barrel **must** name this module in a bare `import "./augmentation.js"`. Declaration
|
|
1642
|
-
* bundling drops a module whose only exports are unreferenced from the public surface, which
|
|
1643
|
-
* silently takes the augmentation out of `dist/index.d.ts` with it. The bare import is a
|
|
1644
|
-
* type-only side effect: the emitted JavaScript keeps no statement for it, so `sideEffects: false`
|
|
1645
|
-
* stays honest.
|
|
1793
|
+
* Import core before augmenting it so TypeScript resolves the target module.
|
|
1794
|
+
* Keep the barrel's bare augmentation import: declaration bundling otherwise drops these types.
|
|
1795
|
+
* The augmentation emits no runtime registration (docs/architecture/03-scripting-and-components.md §7).
|
|
1646
1796
|
*/
|
|
1647
1797
|
declare module "@ignifx/core" {
|
|
1648
1798
|
interface App {
|
|
@@ -1680,16 +1830,9 @@ interface AnimatedTilemapSink {
|
|
|
1680
1830
|
//#endregion
|
|
1681
1831
|
//#region src/animation/animation-system.d.ts
|
|
1682
1832
|
/**
|
|
1683
|
-
*
|
|
1684
|
-
*
|
|
1685
|
-
*
|
|
1686
|
-
* ignifx advances, so a `lateUpdate` sees the posed frame and the render sync writes it in the same
|
|
1687
|
-
* frame it was computed. It advances every `SpriteAnimator` and every animated tile on the same
|
|
1688
|
-
* `ctx.dt`, which is `time.deltaTime`, already scaled by `time.timeScale`. Systems keep running
|
|
1689
|
-
* while the app is paused and `dt` is **not** zeroed then (only scripts are filtered by
|
|
1690
|
-
* `updateWhenPaused`), so the system checks `time.paused` itself: sprite animation does not advance
|
|
1691
|
-
* while paused (`01-lifecycle-and-time.md` §7). Phase 6 shipped without this check and the sprites
|
|
1692
|
-
* kept animating under a pause menu.
|
|
1833
|
+
* Advance sprite and tile animation in `PostUpdate` so `lateUpdate` sees the current frame.
|
|
1834
|
+
* Systems still run while paused with a nonzero delta, so this system checks `time.paused`
|
|
1835
|
+
* before advancing animation (docs/architecture/01-lifecycle-and-time.md §7).
|
|
1693
1836
|
*/
|
|
1694
1837
|
/**
|
|
1695
1838
|
* The `PostUpdate` order the 2D animation system runs at.
|
|
@@ -2461,21 +2604,9 @@ export declare function createSpriteAtlasLoader(): AssetLoader<SpriteAtlasAsset>
|
|
|
2461
2604
|
//#endregion
|
|
2462
2605
|
//#region src/camera/camera-2d-follow.d.ts
|
|
2463
2606
|
/**
|
|
2464
|
-
*
|
|
2465
|
-
*
|
|
2466
|
-
*
|
|
2467
|
-
* It is a `Script`, not part of `Camera2D`, on purpose: following is a *policy*, and a game that
|
|
2468
|
-
* wants look-ahead, screen shake, or room-based snapping replaces this script without touching the
|
|
2469
|
-
* camera. `Camera2D` holds the fields (`follow`, `followDamping`, `followOffset`, `deadZone`)
|
|
2470
|
-
* because a scene file has to be able to author them; this script is what reads them.
|
|
2471
|
-
*
|
|
2472
|
-
* The move happens in `lateUpdate`, after every `update` has run, so the camera sees the frame's
|
|
2473
|
-
* final player position rather than last frame's — the single most common cause of a camera that
|
|
2474
|
-
* visibly lags its target by one frame. For a physics-driven target that position is the
|
|
2475
|
-
* **display** pose: `@ignifx/physics-2d` writes `lerp(prev, cur, fixedStepAlpha)` at the top of
|
|
2476
|
-
* `Update` (`01-lifecycle-and-time.md` §3, since 2026-09-08), so the camera frames the target where
|
|
2477
|
-
* the sprite is drawn rather than where the last fixed step left it — which, through a pixel-perfect
|
|
2478
|
-
* camera that quantises both independently, used to read as a shaking sprite.
|
|
2607
|
+
* Follow the camera's target in `lateUpdate`, after gameplay and physics interpolation have
|
|
2608
|
+
* written its display pose. Keeping follow behaviour in a script lets games replace it without
|
|
2609
|
+
* changing `Camera2D` (docs/architecture/11-2d-toolkit.md §2.1).
|
|
2479
2610
|
*/
|
|
2480
2611
|
/**
|
|
2481
2612
|
* A damped, dead-zoned camera follow.
|
|
@@ -2565,6 +2696,14 @@ export declare const TwoDErrorCode: {
|
|
|
2565
2696
|
readonly duplicateExtension: "IGX-1112";
|
|
2566
2697
|
/** A `SpriteLayerEffect` declared the `custom` kind without a WGSL fragment body. */
|
|
2567
2698
|
readonly missingShaderSource: "IGX-1113";
|
|
2699
|
+
/** `app.twoD.createSpriteBatch` was given a capacity that is not a positive whole number. */
|
|
2700
|
+
readonly invalidBatchCapacity: "IGX-1114";
|
|
2701
|
+
/** A sprite batch was handed a slot index, or a `count`, outside `0 .. capacity`. */
|
|
2702
|
+
readonly batchIndexOutOfRange: "IGX-1115";
|
|
2703
|
+
/** A sprite batch was written to, or resized, after `dispose()`. */
|
|
2704
|
+
readonly batchDisposed: "IGX-1116";
|
|
2705
|
+
/** `app.twoD.createSpriteBatch` was given an atlas handle that has not finished loading. */
|
|
2706
|
+
readonly batchAtlasNotLoaded: "IGX-1117";
|
|
2568
2707
|
};
|
|
2569
2708
|
/**
|
|
2570
2709
|
* The union of the codes the `TwoDErrorCode` table declares.
|
|
@@ -2652,16 +2791,8 @@ export declare const twoD: (options?: TwoDOptions) => Extension;
|
|
|
2652
2791
|
//#endregion
|
|
2653
2792
|
//#region src/file-schemas.d.ts
|
|
2654
2793
|
/**
|
|
2655
|
-
*
|
|
2656
|
-
*
|
|
2657
|
-
*
|
|
2658
|
-
* These exist for **documentation and tooling**, not for the loaders: a loader validates with its
|
|
2659
|
-
* own `defineX` function, which produces an actionable `IGX-11##` message naming the offending
|
|
2660
|
-
* frame or clip. The schema here is what `pnpm docs:schemas` renders into
|
|
2661
|
-
* `skills/ignifx/references/formats/`, and what a JSON Schema for an editor is generated from.
|
|
2662
|
-
*
|
|
2663
|
-
* The two descriptions are deliberately kept in one package so they cannot drift apart in a
|
|
2664
|
-
* release; a test asserts that a fixture accepted by the loader also validates against the schema.
|
|
2794
|
+
* Schemas for generated format docs and editor validation. Loaders validate through their own
|
|
2795
|
+
* `defineX` functions; tests check that accepted fixtures also satisfy these schemas.
|
|
2665
2796
|
*/
|
|
2666
2797
|
/**
|
|
2667
2798
|
* The `ignifx.spriteatlas` document schema.
|
|
@@ -2925,28 +3056,8 @@ export declare function describeSchemas(): Readonly<Record<string, SchemaDescrip
|
|
|
2925
3056
|
//#endregion
|
|
2926
3057
|
//#region src/service/sync-system.d.ts
|
|
2927
3058
|
/**
|
|
2928
|
-
*
|
|
2929
|
-
*
|
|
2930
|
-
* `Camera2D`, writes every world layer's view, and pushes every sprite whose transform or fields
|
|
2931
|
-
* changed into its Lite layer.
|
|
2932
|
-
*
|
|
2933
|
-
* ## Ordering
|
|
2934
|
-
*
|
|
2935
|
-
* `docs/architecture/11-2d-toolkit.md` §2.2 asks for `PreRender` order `-400`, but
|
|
2936
|
-
* `@ignifx/audio`'s spatial pump already occupies that exact slot
|
|
2937
|
-
* (`AUDIO_PUMP_ORDER`, `docs/architecture/10-audio.md` §5). Equal orders are broken by
|
|
2938
|
-
* registration order, which makes the interleaving depend on the order a game lists its
|
|
2939
|
-
* extensions in. The two systems touch nothing in common, so the tie would be harmless — but a
|
|
2940
|
-
* frame order that changes with an argument list is not something to leave in place, so 2D takes
|
|
2941
|
-
* {@link TWO_D_SYNC_ORDER} instead: after physics interpolation at `-500` has written the frame's
|
|
2942
|
-
* final transforms, before audio at `-400`, and well before core's render sync at `900`.
|
|
2943
|
-
*
|
|
2944
|
-
* ## Cost
|
|
2945
|
-
*
|
|
2946
|
-
* A sprite that did not move and whose fields did not change costs one integer comparison
|
|
2947
|
-
* (`Transform.worldMatrixVersion`), and an entity marked `isStatic` costs that comparison only
|
|
2948
|
-
* until its first sync. That is what keeps a 100x100 tilemap at zero per-frame sync cost once its
|
|
2949
|
-
* chunks are up (spike S6.1).
|
|
3059
|
+
* Sync changed sprites and camera views in `PreRender`, before audio and core render sync.
|
|
3060
|
+
* Unchanged sprites need only a transform-version check; static sprites sync once.
|
|
2950
3061
|
*/
|
|
2951
3062
|
/**
|
|
2952
3063
|
* The `PreRender` order the 2D sync system runs at.
|
|
@@ -3011,20 +3122,8 @@ export declare function selectCamera(world: World): Camera2D | null;
|
|
|
3011
3122
|
//#endregion
|
|
3012
3123
|
//#region src/sprite/sprite-layer-effect.d.ts
|
|
3013
3124
|
/**
|
|
3014
|
-
*
|
|
3015
|
-
*
|
|
3016
|
-
* Lite's 2D path has no lighting model, so effects are what a 2D game reaches for instead: a tint,
|
|
3017
|
-
* a dissolve, water, a heat shimmer. A layer created with a `customShader`
|
|
3018
|
-
* (`Sprite2DLayerOptions.customShader`, `index.d.ts` 11934) runs a WGSL fragment body with a
|
|
3019
|
-
* built-in `fx.time` clock and a `fx.params` vec4 the component writes every frame through
|
|
3020
|
-
* `setSprite2DShaderParams` (`index.d.ts` 11074).
|
|
3021
|
-
*
|
|
3022
|
-
* ## The one-shader-per-layer constraint
|
|
3023
|
-
*
|
|
3024
|
-
* `Sprite2DLayer.customShader` is `readonly` and is only set at creation. A layer's shader
|
|
3025
|
-
* therefore cannot change once sprites are in it, so `SpriteLayerEffect` has to exist **before**
|
|
3026
|
-
* the first sprite on its sorting layer is synced — put it in the scene file, or add it in
|
|
3027
|
-
* `awake`, not halfway through a level.
|
|
3125
|
+
* Apply a custom fragment shader to a sorting layer. The shader is fixed when the layer is
|
|
3126
|
+
* created, so add the effect before that layer's first sprite sync, such as in the scene or `awake`.
|
|
3028
3127
|
*/
|
|
3029
3128
|
/**
|
|
3030
3129
|
* The built-in effects, in the order an inspector should list them.
|
|
@@ -3288,23 +3387,9 @@ export declare function mergeTileCollisions(infoAt: (x: number, y: number) => Ti
|
|
|
3288
3387
|
//#endregion
|
|
3289
3388
|
//#region src/tilemap/definition.d.ts
|
|
3290
3389
|
/**
|
|
3291
|
-
*
|
|
3292
|
-
*
|
|
3293
|
-
* `11-2d-toolkit.md
|
|
3294
|
-
*
|
|
3295
|
-
* Two coordinate conventions meet in this file and it is worth stating both loudly, because getting
|
|
3296
|
-
* them backwards is the single easiest mistake to make in a tilemap pipeline:
|
|
3297
|
-
*
|
|
3298
|
-
* - **Authoring space** (everything on `TileColliderDefinition` and every editor this package
|
|
3299
|
-
* imports from) is cell-normalised `[0, 1]` with the origin at the **top-left** of the cell and
|
|
3300
|
-
* +Y pointing **down**. Tiled and LDtk both emit pixels in that orientation, and the importers
|
|
3301
|
-
* divide by the tile size rather than flipping.
|
|
3302
|
-
* - **Runtime space** (`TileCollisionShape`, `TilemapCollisionData`, and every world coordinate on
|
|
3303
|
-
* `TilemapObjectDefinition`) is metres with the origin at the **bottom-left** and +Y pointing
|
|
3304
|
-
* **up**, because that is the ignifx 2D world (ADR-0011).
|
|
3305
|
-
*
|
|
3306
|
-
* {@link tileCollisionInfo} is the one function that crosses between them, so the flip lives in
|
|
3307
|
-
* exactly one place — the same discipline `../math/coords.ts` applies to the render path.
|
|
3390
|
+
* Tilemap file data uses top-left, Y-down coordinates; collider points are cell-normalised.
|
|
3391
|
+
* Runtime collision data uses bottom-left, Y-up coordinates in metres.
|
|
3392
|
+
* `tileCollisionInfo` converts between them (docs/architecture/11-2d-toolkit.md §2.5, ADR-0011).
|
|
3308
3393
|
*/
|
|
3309
3394
|
/**
|
|
3310
3395
|
* The `format` discriminator every `.tilemap.json` document carries.
|
|
@@ -3931,19 +4016,9 @@ export declare function createTilemapLoader(): AssetLoader<TilemapAsset>;
|
|
|
3931
4016
|
//#endregion
|
|
3932
4017
|
//#region src/tilemap/tilemap.d.ts
|
|
3933
4018
|
/**
|
|
3934
|
-
*
|
|
3935
|
-
*
|
|
3936
|
-
*
|
|
3937
|
-
* The component holds no Lite object — `TilemapRenderer` draws it — so a headless app carries the
|
|
3938
|
-
* full grid and the full collision surface. That is what makes a level's collision testable
|
|
3939
|
-
* without a GPU, and what lets a server run the same map the client draws.
|
|
3940
|
-
*
|
|
3941
|
-
* ## Coordinates
|
|
3942
|
-
*
|
|
3943
|
-
* Cell `(0, 0)` is the **bottom-left** of the map, because ignifx 2D is +Y up (ADR-0011). The
|
|
3944
|
-
* document's own layers are stored top row first, as every editor writes them, and the component
|
|
3945
|
-
* flips on the way in. `worldToCell`/`cellToWorld` are relative to the tilemap entity's own
|
|
3946
|
-
* transform, so moving the entity moves the whole map.
|
|
4019
|
+
* Keep the tile grid and collision data available without a renderer or GPU.
|
|
4020
|
+
* Cell `(0, 0)` is the bottom-left; document rows are flipped from their top-first order.
|
|
4021
|
+
* Cell/world conversions include the tilemap entity's transform (ADR-0011).
|
|
3947
4022
|
*/
|
|
3948
4023
|
/**
|
|
3949
4024
|
* How many cells one chunk spans by default (`docs/architecture/11-2d-toolkit.md` §2.5).
|
|
@@ -4266,5 +4341,5 @@ export declare class TilemapRenderer extends Component implements ComponentHooks
|
|
|
4266
4341
|
*/
|
|
4267
4342
|
export declare const VERSION = "0.0.0";
|
|
4268
4343
|
//#endregion
|
|
4269
|
-
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, 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 };
|
|
4344
|
+
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 };
|
|
4270
4345
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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/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;;;;;;;;;;wB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;;;;;;EAWJ,QAAQ,UAAU;;;;;;;;;;;;;;qBCzOP"}
|
|
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,aA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