@ignifx/2d 0.11.0 → 0.13.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 +14 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -14
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/skills/2d/SKILL.md +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -620,6 +620,8 @@ export declare class SpriteRenderer extends Component implements ComponentHooks
|
|
|
620
620
|
#private;
|
|
621
621
|
/** The registration id the serializer writes into scene files. */
|
|
622
622
|
static typeId: string;
|
|
623
|
+
/** What the component does, in one line, for an inspector. */
|
|
624
|
+
static description: string;
|
|
623
625
|
/** Several sprites may share an entity — a character and its shadow, for instance. */
|
|
624
626
|
static allowMultiple: boolean;
|
|
625
627
|
/** The declarative fields (ADR-0004). */
|
|
@@ -1040,6 +1042,8 @@ export declare class Camera2D extends Component {
|
|
|
1040
1042
|
#private;
|
|
1041
1043
|
/** The registration id the serializer writes into scene files. */
|
|
1042
1044
|
static typeId: string;
|
|
1045
|
+
/** What the component does, in one line, for an inspector. */
|
|
1046
|
+
static description: string;
|
|
1043
1047
|
/** One camera per entity. */
|
|
1044
1048
|
static allowMultiple: boolean;
|
|
1045
1049
|
/** The declarative fields (ADR-0004). */
|
|
@@ -1155,6 +1159,8 @@ export declare class ParallaxLayer extends Component {
|
|
|
1155
1159
|
#private;
|
|
1156
1160
|
/** The registration id the serializer writes into scene files. */
|
|
1157
1161
|
static typeId: string;
|
|
1162
|
+
/** What the component does, in one line, for an inspector. */
|
|
1163
|
+
static description: string;
|
|
1158
1164
|
/** One parallax setting per entity; several entities may each drive a different sorting layer. */
|
|
1159
1165
|
static allowMultiple: boolean;
|
|
1160
1166
|
/** The declarative fields (ADR-0004). */
|
|
@@ -2336,6 +2342,8 @@ export declare class SpriteAnimator extends Component implements ComponentHooks
|
|
|
2336
2342
|
#private;
|
|
2337
2343
|
/** The registration id the serializer writes into scene files. */
|
|
2338
2344
|
static typeId: string;
|
|
2345
|
+
/** What the component does, in one line, for an inspector. */
|
|
2346
|
+
static description: string;
|
|
2339
2347
|
/** One animator per entity. */
|
|
2340
2348
|
static allowMultiple: boolean;
|
|
2341
2349
|
/** The declarative fields (ADR-0004). */
|
|
@@ -3280,6 +3288,8 @@ export declare const TINT_EFFECT_WGSL = "let texel = textureSample(atlasTex, atl
|
|
|
3280
3288
|
export declare class SpriteLayerEffect extends Component {
|
|
3281
3289
|
/** The registration id the serializer writes into scene files. */
|
|
3282
3290
|
static typeId: string;
|
|
3291
|
+
/** What the component does, in one line, for an inspector. */
|
|
3292
|
+
static description: string;
|
|
3283
3293
|
/** One effect per entity; several entities may each drive a different sorting layer. */
|
|
3284
3294
|
static allowMultiple: boolean;
|
|
3285
3295
|
/** The declarative fields (ADR-0004). */
|
|
@@ -4198,6 +4208,8 @@ export declare class Tilemap extends Component implements ComponentHooks {
|
|
|
4198
4208
|
#private;
|
|
4199
4209
|
/** The registration id the serializer writes into scene files. */
|
|
4200
4210
|
static typeId: string;
|
|
4211
|
+
/** What the component does, in one line, for an inspector. */
|
|
4212
|
+
static description: string;
|
|
4201
4213
|
/** One tilemap per entity. */
|
|
4202
4214
|
static allowMultiple: boolean;
|
|
4203
4215
|
/** The declarative fields (ADR-0004). */
|
|
@@ -4393,6 +4405,8 @@ export declare class TilemapRenderer extends Component implements ComponentHooks
|
|
|
4393
4405
|
#private;
|
|
4394
4406
|
/** The registration id the serializer writes into scene files. */
|
|
4395
4407
|
static typeId: string;
|
|
4408
|
+
/** What the component does, in one line, for an inspector. */
|
|
4409
|
+
static description: string;
|
|
4396
4410
|
/** One renderer per entity. */
|
|
4397
4411
|
static allowMultiple: boolean;
|
|
4398
4412
|
/** The declarative fields (ADR-0004). */
|
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/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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AAa,aAAa,WAAW,WAAW,KAAK,OAAO;;;;;;;;EAexE,YAAY,WAAW,YAAY;;;;;;EAuBnC;;;;;;;;;;;;;;;;;qBCrZW,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;;;;;;;;;EA6C/E,iBAAiB;;;;;;;;MAmBb;;;;;;;;EAWJ,QAAQ,UAAU;;;;;;;;;;;;;;qBC1NP"}
|
|
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":";;;;;;;;;;;;;;;;;qBAi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;;;;;qBAmBE,gBAAgB,qBAAqB;;;SAEzC;;SAGA;;SAGA;;SAGA,QAAQ;;EAGf,KAAa,YAAY;;EAGzB;;EAGA;;;;EAoCA;;;;EAQA;;;;EAWA;;;;;;MAUI,iBAAiB,OAAO;;;;;;;;;;;;MAexB,sBAAsB;;;;;;MAStB,SAAS;;;;;;MAUT,cAAc;;;;;;MASd;;;;;;MAYA;;;;;;;;;;;MAcA,iBAAiB;;;;;;;;;EAiBrB,QAAQ,eAAe,WAAW;;;;;;;;;;EAoBlC,QAAQ,eAAe,WAAW,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4C7C,SAAS,gBAAgB;;;;;;;;;;;EAmDzB,WAAW,gBAAgB;;;;;;;EAe3B,UAAU,gBAAgB;;;;;;;;;;;;;EAiB1B,YAAY,aAAa,aAAa,OAAO,UAAU,KAAK,OAAO;;;;;;;;;EAuBnE,YAAY,aAAa,aAAa,WAAW,WAAW,KAAK,OAAO;;;;;;;;EAexE,YAAY,WAAW,YAAY;;;;;;EAuBnC;;;;;;;;;;;;;;;;;qBCxZW,wBAAwB,qBAAqB;;;SAEjD;;SAGA;;SAGA;;SAGA,QAAQ;;EAGf,OAAe,YAAY;;EAG3B;;EAGA;;;;EAoBA;;;;EAQA;;;;EAOA;;;;;;MASI;;;;;;MASA;;;;;;MAaA,eAAe;;;;;;;;;;;EAenB;;;;;;;;;;;;EAeA,KAAK,KAAK,SAAS,UAAU,qBAAqB,QAAQ,qBAAqB;;;;;;;;;EA6C/E,iBAAiB;;;;;;;;MAmBb;;;;;;;;EAWJ,QAAQ,UAAU;;;;;;;;;;;;;;qBC7NP"}
|
package/dist/index.js
CHANGED
|
@@ -1007,6 +1007,8 @@ var SortingLayerTable = class {
|
|
|
1007
1007
|
var SpriteRenderer = class SpriteRenderer extends Component {
|
|
1008
1008
|
/** The registration id the serializer writes into scene files. */
|
|
1009
1009
|
static typeId = "ignifx/SpriteRenderer";
|
|
1010
|
+
/** What the component does, in one line, for an inspector. */
|
|
1011
|
+
static description = "One sprite drawn from one frame of one atlas, on one sorting layer.";
|
|
1010
1012
|
/** Several sprites may share an entity — a character and its shadow, for instance. */
|
|
1011
1013
|
static allowMultiple = true;
|
|
1012
1014
|
/** The declarative fields (ADR-0004). */
|
|
@@ -1603,6 +1605,8 @@ const EMPTY_EVENTS = Object.freeze([]);
|
|
|
1603
1605
|
var SpriteAnimator = class SpriteAnimator extends Component {
|
|
1604
1606
|
/** The registration id the serializer writes into scene files. */
|
|
1605
1607
|
static typeId = "ignifx/SpriteAnimator";
|
|
1608
|
+
/** What the component does, in one line, for an inspector. */
|
|
1609
|
+
static description = "Plays a clip of atlas frames on ignifx's clock, respecting timeScale and pause.";
|
|
1606
1610
|
/** One animator per entity. */
|
|
1607
1611
|
static allowMultiple = false;
|
|
1608
1612
|
/** The declarative fields (ADR-0004). */
|
|
@@ -3378,6 +3382,8 @@ const DEFAULT_REFERENCE_RESOLUTION = Object.freeze({
|
|
|
3378
3382
|
var Camera2D = class Camera2D extends Component {
|
|
3379
3383
|
/** The registration id the serializer writes into scene files. */
|
|
3380
3384
|
static typeId = "ignifx/Camera2D";
|
|
3385
|
+
/** What the component does, in one line, for an inspector. */
|
|
3386
|
+
static description = "The 2D camera: orthographic size in metres, pixel-perfect snapping, bounds, and follow fields.";
|
|
3381
3387
|
/** One camera per entity. */
|
|
3382
3388
|
static allowMultiple = false;
|
|
3383
3389
|
/** The declarative fields (ADR-0004). */
|
|
@@ -3781,6 +3787,8 @@ function enableSpriteDeviceLostRecovery(engine, onRecovered, onFailed) {
|
|
|
3781
3787
|
var ParallaxLayer = class ParallaxLayer extends Component {
|
|
3782
3788
|
/** The registration id the serializer writes into scene files. */
|
|
3783
3789
|
static typeId = "ignifx/ParallaxLayer";
|
|
3790
|
+
/** What the component does, in one line, for an inspector. */
|
|
3791
|
+
static description = "Scrolls one sorting layer at a fraction of the camera's speed.";
|
|
3784
3792
|
/** One parallax setting per entity; several entities may each drive a different sorting layer. */
|
|
3785
3793
|
static allowMultiple = false;
|
|
3786
3794
|
/** The declarative fields (ADR-0004). */
|
|
@@ -3898,6 +3906,8 @@ const TINT_EFFECT_WGSL = "let texel = textureSample(atlasTex, atlasSamp, uv); re
|
|
|
3898
3906
|
var SpriteLayerEffect = class SpriteLayerEffect extends Component {
|
|
3899
3907
|
/** The registration id the serializer writes into scene files. */
|
|
3900
3908
|
static typeId = "ignifx/SpriteLayerEffect";
|
|
3909
|
+
/** What the component does, in one line, for an inspector. */
|
|
3910
|
+
static description = "A per-layer WGSL fragment effect with an fx.params vec4.";
|
|
3901
3911
|
/** One effect per entity; several entities may each drive a different sorting layer. */
|
|
3902
3912
|
static allowMultiple = false;
|
|
3903
3913
|
/** The declarative fields (ADR-0004). */
|
|
@@ -4312,6 +4322,8 @@ function tileCollisionInfo(map, tileId) {
|
|
|
4312
4322
|
var TilemapRenderer = class TilemapRenderer extends Component {
|
|
4313
4323
|
/** The registration id the serializer writes into scene files. */
|
|
4314
4324
|
static typeId = "ignifx/TilemapRenderer";
|
|
4325
|
+
/** What the component does, in one line, for an inspector. */
|
|
4326
|
+
static description = "Draws a Tilemap's cells as sprites, materialising only the chunks the camera sees.";
|
|
4315
4327
|
/** One renderer per entity. */
|
|
4316
4328
|
static allowMultiple = false;
|
|
4317
4329
|
/** The declarative fields (ADR-0004). */
|
|
@@ -5739,6 +5751,8 @@ const DEFAULT_CHUNK_SIZE = 32;
|
|
|
5739
5751
|
var Tilemap = class Tilemap extends Component {
|
|
5740
5752
|
/** The registration id the serializer writes into scene files. */
|
|
5741
5753
|
static typeId = "ignifx/Tilemap";
|
|
5754
|
+
/** What the component does, in one line, for an inspector. */
|
|
5755
|
+
static description = "A grid of tile ids with cell arithmetic and merged collision geometry.";
|
|
5742
5756
|
/** One tilemap per entity. */
|
|
5743
5757
|
static allowMultiple = false;
|
|
5744
5758
|
/** The declarative fields (ADR-0004). */
|
|
@@ -7211,7 +7225,7 @@ function spriteClearColor(app) {
|
|
|
7211
7225
|
*
|
|
7212
7226
|
* @public
|
|
7213
7227
|
*/
|
|
7214
|
-
const VERSION = "0.
|
|
7228
|
+
const VERSION = "0.13.0";
|
|
7215
7229
|
//#endregion
|
|
7216
7230
|
//#region src/extension.ts
|
|
7217
7231
|
/**
|
|
@@ -7641,13 +7655,13 @@ function tilemapJsonSchema() {
|
|
|
7641
7655
|
*/
|
|
7642
7656
|
function describeTwoDSchemas() {
|
|
7643
7657
|
return {
|
|
7644
|
-
"ignifx/Camera2D": describeSchema("ignifx/Camera2D", Camera2D.schema, { description:
|
|
7645
|
-
"ignifx/SpriteRenderer": describeSchema("ignifx/SpriteRenderer", SpriteRenderer.schema, { description:
|
|
7646
|
-
"ignifx/SpriteAnimator": describeSchema("ignifx/SpriteAnimator", SpriteAnimator.schema, { description:
|
|
7647
|
-
"ignifx/Tilemap": describeSchema("ignifx/Tilemap", Tilemap.schema, { description:
|
|
7648
|
-
"ignifx/TilemapRenderer": describeSchema("ignifx/TilemapRenderer", TilemapRenderer.schema, { description:
|
|
7649
|
-
"ignifx/ParallaxLayer": describeSchema("ignifx/ParallaxLayer", ParallaxLayer.schema, { description:
|
|
7650
|
-
"ignifx/SpriteLayerEffect": describeSchema("ignifx/SpriteLayerEffect", SpriteLayerEffect.schema, { description:
|
|
7658
|
+
"ignifx/Camera2D": describeSchema("ignifx/Camera2D", Camera2D.schema, { description: Camera2D.description }),
|
|
7659
|
+
"ignifx/SpriteRenderer": describeSchema("ignifx/SpriteRenderer", SpriteRenderer.schema, { description: SpriteRenderer.description }),
|
|
7660
|
+
"ignifx/SpriteAnimator": describeSchema("ignifx/SpriteAnimator", SpriteAnimator.schema, { description: SpriteAnimator.description }),
|
|
7661
|
+
"ignifx/Tilemap": describeSchema("ignifx/Tilemap", Tilemap.schema, { description: Tilemap.description }),
|
|
7662
|
+
"ignifx/TilemapRenderer": describeSchema("ignifx/TilemapRenderer", TilemapRenderer.schema, { description: TilemapRenderer.description }),
|
|
7663
|
+
"ignifx/ParallaxLayer": describeSchema("ignifx/ParallaxLayer", ParallaxLayer.schema, { description: ParallaxLayer.description }),
|
|
7664
|
+
"ignifx/SpriteLayerEffect": describeSchema("ignifx/SpriteLayerEffect", SpriteLayerEffect.schema, { description: SpriteLayerEffect.description }),
|
|
7651
7665
|
"ignifx/spriteatlas-file": describeSpriteAtlasFormat(),
|
|
7652
7666
|
"ignifx/spriteanimation-file": describeSpriteAnimationFormat(),
|
|
7653
7667
|
"ignifx/tilemap-file": describeTilemapFormat()
|
|
@@ -7853,16 +7867,16 @@ function importLdtkLevel(ldtk, options = {}) {
|
|
|
7853
7867
|
*/
|
|
7854
7868
|
function fieldInstancesToRecord(fields) {
|
|
7855
7869
|
if (!isUnknownArray$1(fields)) return {};
|
|
7856
|
-
const out =
|
|
7870
|
+
const out = [];
|
|
7857
7871
|
for (let index = 0; index < fields.length; index += 1) {
|
|
7858
7872
|
const field = fields[index];
|
|
7859
7873
|
if (!isRecord$1(field)) continue;
|
|
7860
7874
|
const name = field["__identifier"];
|
|
7861
7875
|
const value = field["__value"];
|
|
7862
7876
|
if (typeof name !== "string" || name === "") continue;
|
|
7863
|
-
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") out[name
|
|
7877
|
+
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") out.push([name, value]);
|
|
7864
7878
|
}
|
|
7865
|
-
return out;
|
|
7879
|
+
return Object.fromEntries(out);
|
|
7866
7880
|
}
|
|
7867
7881
|
/**
|
|
7868
7882
|
* Swaps a file extension for `.atlas.json`, the default {@link LdtkImportOptions.atlasFor}.
|
|
@@ -8251,16 +8265,16 @@ const IMPORTER_NAME = "tiled";
|
|
|
8251
8265
|
*/
|
|
8252
8266
|
function tiledPropertiesToRecord(properties) {
|
|
8253
8267
|
if (!isUnknownArray(properties)) return {};
|
|
8254
|
-
const out =
|
|
8268
|
+
const out = [];
|
|
8255
8269
|
for (let index = 0; index < properties.length; index += 1) {
|
|
8256
8270
|
const entry = properties[index];
|
|
8257
8271
|
if (!isRecord(entry)) continue;
|
|
8258
8272
|
const name = entry["name"];
|
|
8259
8273
|
const value = entry["value"];
|
|
8260
8274
|
if (typeof name !== "string" || name === "") continue;
|
|
8261
|
-
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") out[name
|
|
8275
|
+
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") out.push([name, value]);
|
|
8262
8276
|
}
|
|
8263
|
-
return out;
|
|
8277
|
+
return Object.fromEntries(out);
|
|
8264
8278
|
}
|
|
8265
8279
|
/**
|
|
8266
8280
|
* Imports a Tiled JSON map.
|