diff --git a/README.md b/README.md index 451c3ec..5f3a5d3 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ npm i @jacekpietal/oneforall --save ✓ THEN it can't have zero radius (9 ms) ✓ THEN update propagates x/y changes - PASS src/scene-base.spec.ts + PASS src/scene-ssr.spec.ts GIVEN SceneBase ✓ THEN it works (3 ms) ✓ THEN it can have children (1 ms) diff --git a/dist/animator.d.ts b/dist/animator.d.ts index bf2b894..3d5e7ec 100644 --- a/dist/animator.d.ts +++ b/dist/animator.d.ts @@ -68,6 +68,9 @@ export declare class Animator extends PIXI.Container implements LifecycleProps { * Reference to inner animation scale. */ get scale(): PIXI.ObservablePoint; + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime: number): void; setScale(x?: number, y?: number): void; getAnimationIndex(state: string): number; diff --git a/dist/animator.d.ts.map b/dist/animator.d.ts.map index f4dc555..2cc0934 100644 --- a/dist/animator.d.ts.map +++ b/dist/animator.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"animator.d.ts","sourceRoot":"","sources":["../src/animator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,QAAS,SAAQ,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MAAM,EAAE,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC;IAEhC;;;;OAIG;gBAED,UAAU,EAAE,UAAU,EACtB,EACE,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,cAAsB,EACtB,MAA2B,EAC5B,EAAE,YAAY,EACf,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,OAAO;IAkCzC;;OAEG;IACH,IAAI,KAAK,WAER;IAED;;OAEG;IACH,IAAI,MAAM,oBAET;IAED;;OAEG;IACH,IAAI,KAAK,yBAER;IAED;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM;IAMxB,QAAQ,CAAC,CAAC,SAAI,EAAE,CAAC,GAAE,MAAU,GAAG,IAAI;IAQpC,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAMxC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI;IAqBjE,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,UAAO,EAAE,iBAAiB,SAAS,GAAG,MAAM;IA6BxE,SAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAInD,SAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAcpD"} \ No newline at end of file diff --git a/dist/animator.js b/dist/animator.js index 8d60012..99ae2a2 100644 --- a/dist/animator.js +++ b/dist/animator.js @@ -66,6 +66,7 @@ class Animator extends PIXI.Container { texture.source.scaleMode = 'nearest'; return { texture, time: animationSpeed }; })); + animatedSprite.label = 'Animator_AnimatedSprite'; animatedSprite.anchor.set(anchor.x, anchor.y); this.addChild(animatedSprite); }); @@ -89,6 +90,9 @@ class Animator extends PIXI.Container { get scale() { return this.animation.scale; } + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime) { this.x = this.gameObject.x; this.y = this.gameObject.y; diff --git a/dist/circle-body.d.ts b/dist/circle-body.d.ts index a6918a2..8ab5277 100644 --- a/dist/circle-body.d.ts +++ b/dist/circle-body.d.ts @@ -22,6 +22,9 @@ export declare class CircleBody extends Ellipse implements LifecycleProps { */ label: string; constructor(gameObject: GameObject, radiusX: number, radiusY?: number, step?: number, options?: BodyOptions); + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime: number): void; destroy(): void; } diff --git a/dist/circle-body.d.ts.map b/dist/circle-body.d.ts.map index 3c78f7f..8d98376 100644 --- a/dist/circle-body.d.ts.map +++ b/dist/circle-body.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"circle-body.d.ts","sourceRoot":"","sources":["../src/circle-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,UAAW,SAAQ,OAAQ,YAAW,cAAc;IAC/D;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAgB;gBAGnB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,MAAgB,EACzB,IAAI,SAAK,EACT,OAAO,CAAC,EAAE,WAAW;IAWvB,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAM/B,OAAO,IAAI,IAAI;CAIhB"} \ No newline at end of file +{"version":3,"file":"circle-body.d.ts","sourceRoot":"","sources":["../src/circle-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,UAAW,SAAQ,OAAQ,YAAW,cAAc;IAC/D;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAgB;gBAGnB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,MAAgB,EACzB,IAAI,SAAK,EACT,OAAO,CAAC,EAAE,WAAW;IAWvB;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAM/B,OAAO,IAAI,IAAI;CAIhB"} \ No newline at end of file diff --git a/dist/circle-body.js b/dist/circle-body.js index a0dad91..37f6e4f 100644 --- a/dist/circle-body.js +++ b/dist/circle-body.js @@ -26,6 +26,9 @@ class CircleBody extends detect_collisions_1.Ellipse { } gameObject.addChild(this); } + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime) { this.gameObject.x = this.x; this.gameObject.y = this.y; diff --git a/dist/component.d.ts b/dist/component.d.ts index cd80456..8920df9 100644 --- a/dist/component.d.ts +++ b/dist/component.d.ts @@ -21,6 +21,9 @@ export declare class Component implements LifecycleProps { */ label: string; constructor(gameObject: GameObject); + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime: number): void; destroy(): void; } diff --git a/dist/component.d.ts.map b/dist/component.d.ts.map index 306ae7f..7a8f5a8 100644 --- a/dist/component.d.ts.map +++ b/dist/component.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../src/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,SAAU,YAAW,cAAc;IAC9C;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAe;gBAER,UAAU,EAAE,UAAU;IAIlC,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAI/B,OAAO,IAAI,IAAI;CAGhB"} \ No newline at end of file +{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../src/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,SAAU,YAAW,cAAc;IAC9C;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAe;gBAER,UAAU,EAAE,UAAU;IAIlC;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAI/B,OAAO,IAAI,IAAI;CAGhB"} \ No newline at end of file diff --git a/dist/component.js b/dist/component.js index ed229d9..723a027 100644 --- a/dist/component.js +++ b/dist/component.js @@ -21,6 +21,9 @@ class Component { this.label = 'Component'; gameObject.addChild(this); } + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime) { lifecycle_1.Lifecycle.update(this, deltaTime); } diff --git a/dist/container.d.ts b/dist/container.d.ts index e1e1b61..2b9149f 100644 --- a/dist/container.d.ts +++ b/dist/container.d.ts @@ -21,6 +21,9 @@ export declare class Container extends PIXI.Container implements LifecycleProps */ label: string; constructor(gameObject: LifecycleParent); + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime: number): void; destroy(): void; } diff --git a/dist/container.d.ts.map b/dist/container.d.ts.map index 93b93ef..b1e1025 100644 --- a/dist/container.d.ts.map +++ b/dist/container.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../src/container.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,SAAU,SAAQ,IAAI,CAAC,SAAU,YAAW,cAAc;IACrE;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAe;gBAER,UAAU,EAAE,eAAe;IAKvC,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAM/B,OAAO,IAAI,IAAI;CAIhB"} \ No newline at end of file +{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../src/container.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,SAAU,SAAQ,IAAI,CAAC,SAAU,YAAW,cAAc;IACrE;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAe;gBAER,UAAU,EAAE,eAAe;IAKvC;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAM/B,OAAO,IAAI,IAAI;CAIhB"} \ No newline at end of file diff --git a/dist/container.js b/dist/container.js index dd90778..c5169ad 100644 --- a/dist/container.js +++ b/dist/container.js @@ -46,6 +46,9 @@ class Container extends PIXI.Container { this.label = 'Container'; gameObject.addChild(this); } + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime) { this.x = this.gameObject.x; this.y = this.gameObject.y; diff --git a/dist/game-object.d.ts b/dist/game-object.d.ts index 235aa8b..e9f59a5 100644 --- a/dist/game-object.d.ts +++ b/dist/game-object.d.ts @@ -5,13 +5,13 @@ import { CircleBody } from './circle-body'; import { Lifecycle, LifecycleProps } from './lifecycle'; import { Prefab } from './prefab'; import { Scene } from './scene'; -import { SceneBase } from './scene-base'; +import { SceneSSR } from './scene-ssr'; export interface TGameObject extends GameObject { body: TBody; sprite: TSprite; target?: Vector; } -export type SceneType = SceneBase | Scene; +export type SceneType = SceneSSR | Scene; export type GameObjectParent = SceneType | GameObject; export declare const getRoot: (gameObject: GameObject) => SceneType | undefined; export declare class GameObject extends Lifecycle { @@ -47,6 +47,9 @@ export declare class GameObject extends Lifecycle { * get parent scene if exists */ get scene(): SceneType | undefined; + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime: number): void; destroy(): void; recursive(child: LifecycleProps, callback: (deep: LifecycleProps) => void): void; diff --git a/dist/game-object.d.ts.map b/dist/game-object.d.ts.map index 78367f5..8f416e3 100644 --- a/dist/game-object.d.ts.map +++ b/dist/game-object.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"game-object.d.ts","sourceRoot":"","sources":["../src/game-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,WAAW,WAAW,CAAC,OAAO,GAAG,QAAQ,EAAE,KAAK,GAAG,UAAU,CACjE,SAAQ,UAAU;IAClB,IAAI,EAAE,KAAK,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,UAAU,CAAC;AAEtD,eAAO,MAAM,OAAO,eAAgB,UAAU,KAAG,SAAS,GAAG,SAO5D,CAAC;AAEF,qBAAa,UAAW,SAAQ,SAAS;IACvC;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CA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,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAI;IAYhD,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc;IAI5C,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE;CAGlD"} \ No newline at end of file diff --git a/dist/game-object.js b/dist/game-object.js index a09d865..35c17f3 100644 --- a/dist/game-object.js +++ b/dist/game-object.js @@ -37,6 +37,9 @@ class GameObject extends lifecycle_1.Lifecycle { get scene() { return (0, exports.getRoot)(this); } + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime) { this.children.forEach((child) => { child.update(deltaTime); diff --git a/dist/index.d.ts b/dist/index.d.ts index d67462b..23dc6a9 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -5,7 +5,7 @@ export * from './container'; export * from './animator'; export * from './game-object'; export * from './prefab'; -export * from './scene-base'; +export * from './scene-ssr'; export * from './scene'; export * from './application'; export * from './resources'; diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map index 45d829d..f67ee29 100644 --- a/dist/index.d.ts.map +++ b/dist/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 6ae8388..3753130 100644 --- a/dist/index.js +++ b/dist/index.js @@ -21,7 +21,7 @@ __exportStar(require("./container"), exports); __exportStar(require("./animator"), exports); __exportStar(require("./game-object"), exports); __exportStar(require("./prefab"), exports); -__exportStar(require("./scene-base"), exports); +__exportStar(require("./scene-ssr"), exports); __exportStar(require("./scene"), exports); __exportStar(require("./application"), exports); __exportStar(require("./resources"), exports); diff --git a/dist/lifecycle.d.ts b/dist/lifecycle.d.ts index ac3d6b3..e7857d1 100644 --- a/dist/lifecycle.d.ts +++ b/dist/lifecycle.d.ts @@ -2,8 +2,8 @@ import * as PIXI from 'pixi.js'; import { Subject } from 'rxjs/internal/Subject'; import { GameObject, GameObjectParent } from './game-object'; import { Scene } from './scene'; -import { SceneBase } from './scene-base'; -export type LifecycleParent = GameObject | SceneBase | Scene | PIXI.Container; +import { SceneSSR } from './scene-ssr'; +export type LifecycleParent = GameObject | SceneSSR | Scene | PIXI.Container; export type LifecycleChild = GameObject | PIXI.Container; export interface LifecycleProps { /** @@ -26,7 +26,7 @@ export interface LifecycleProps { */ label: string; /** - * Updates the Lifecycle Object with actual deltaTime ~60fps + * Updates the Lifecycle with actual deltaTime = 1.0 for 60FPS */ update(deltaTime: number): void; /** @@ -60,6 +60,9 @@ export declare abstract class Lifecycle implements LifecycleProps { static destroy(lifecycle: LifecycleProps): void; static update(lifecycle: LifecycleProps, deltaTime: number): void; destroy(): void; + /** + * Updates the Lifecycle with actual deltaTime = 1.0 for 60FPS + */ update(deltaTime: number): void; } //# sourceMappingURL=lifecycle.d.ts.map \ No newline at end of file diff --git a/dist/lifecycle.d.ts.map b/dist/lifecycle.d.ts.map index d9a48b8..932955a 100644 --- a/dist/lifecycle.d.ts.map +++ b/dist/lifecycle.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../src/lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;AAE9E,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;AAEzD,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAElC;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjC;;;OAGG;IACH,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,8BAAsB,SAAU,YAAW,cAAc;IACvD;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;I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AAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,8BAAsB,SAAU,YAAW,cAAc;IACvD;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAE9B;;OAEG;IACH,QAAQ,EAAE,cAAc,EAAE,CAAM;IAEhC;;OAEG;IACH,KAAK,SAAe;IAEpB,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,GAAG,IAAI;IAQ/C,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;IAIjE,OAAO,IAAI,IAAI;IAIf;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;CAGhC"} \ No newline at end of file diff --git a/dist/lifecycle.js b/dist/lifecycle.js index 41fb247..816a369 100644 --- a/dist/lifecycle.js +++ b/dist/lifecycle.js @@ -37,6 +37,9 @@ class Lifecycle { destroy() { Lifecycle.destroy(this); } + /** + * Updates the Lifecycle with actual deltaTime = 1.0 for 60FPS + */ update(deltaTime) { Lifecycle.update(this, deltaTime); } diff --git a/dist/polygon-body.d.ts b/dist/polygon-body.d.ts index e34272d..6750b44 100644 --- a/dist/polygon-body.d.ts +++ b/dist/polygon-body.d.ts @@ -22,6 +22,9 @@ export declare class PolygonBody extends Polygon implements LifecycleProps { */ label: string; constructor(gameObject: GameObject, points: Vector[], options?: BodyOptions); + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime: number): void; destroy(): void; } diff --git a/dist/polygon-body.d.ts.map b/dist/polygon-body.d.ts.map index 57db587..e010341 100644 --- a/dist/polygon-body.d.ts.map +++ b/dist/polygon-body.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"polygon-body.d.ts","sourceRoot":"","sources":["../src/polygon-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,WAAY,SAAQ,OAAQ,YAAW,cAAc;IAChE;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAiB;gBAEV,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,WAAW;IAK3E,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAM/B,OAAO,IAAI,IAAI;CAIhB"} \ No newline at end of file +{"version":3,"file":"polygon-body.d.ts","sourceRoot":"","sources":["../src/polygon-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,WAAY,SAAQ,OAAQ,YAAW,cAAc;IAChE;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAiB;gBAEV,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,WAAW;IAK3E;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAM/B,OAAO,IAAI,IAAI;CAIhB"} \ No newline at end of file diff --git a/dist/polygon-body.js b/dist/polygon-body.js index a81b994..4a44a0b 100644 --- a/dist/polygon-body.js +++ b/dist/polygon-body.js @@ -23,6 +23,9 @@ class PolygonBody extends detect_collisions_1.Polygon { this.label = 'PolygonBody'; gameObject.addChild(this); } + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime) { this.gameObject.x = this.x; this.gameObject.y = this.y; diff --git a/dist/scene-base.d.ts.map b/dist/scene-base.d.ts.map deleted file mode 100644 index 2985c85..0000000 --- a/dist/scene-base.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scene-base.d.ts","sourceRoot":"","sources":["../src/scene-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;I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.ts index 8f1d849..ad16151 100644 --- a/dist/scene-base.d.ts +++ b/dist/scene-ssr.d.ts @@ -1,7 +1,7 @@ import { Body, System } from 'detect-collisions'; import * as PIXI from 'pixi.js'; import { Subject } from 'rxjs/internal/Subject'; -import { GameObject } from './game-object'; +import { GameObject, GameObjectParent } from './game-object'; import { Lifecycle, LifecycleProps } from './lifecycle'; export interface SceneOptions { /** @@ -31,7 +31,10 @@ export interface SceneOptions { */ debug?: boolean; } -export declare class SceneBase extends GameObject { +/** + * base scene for server side rendering + */ +export declare class SceneSSR extends GameObject { /** * When Scene Object has children amount changed, it emits this subject. */ @@ -40,6 +43,10 @@ export declare class SceneBase extends GameObject { * Options are assigned at creation. */ readonly options: SceneOptions; + /** + * Scene doesn't have parent gameObject + */ + gameObject: GameObjectParent; /** * Reference to Collision Detection System. */ @@ -57,6 +64,10 @@ export declare class SceneBase extends GameObject { */ animationFrame: number; constructor(options?: SceneOptions); + /** + * Scene doesn't have parent scene + */ + get scene(): undefined; init(_options?: Record): Promise; stop(): void; start(): void; @@ -69,4 +80,4 @@ export declare class SceneBase extends GameObject { getChildOfType(type: string): LifecycleProps; getChildrenOfType(type: string): LifecycleProps[]; } -//# sourceMappingURL=scene-base.d.ts.map \ No newline at end of file +//# sourceMappingURL=scene-ssr.d.ts.map \ No newline at end of file diff --git a/dist/scene-ssr.d.ts.map b/dist/scene-ssr.d.ts.map new file mode 100644 index 0000000..ef8a839 --- /dev/null +++ b/dist/scene-ssr.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"scene-ssr.d.ts","sourceRoot":"","sources":["../src/scene-ssr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;A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AAC,GAAG,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAI;IAK7C,gBAAgB,CAAC,GAAG,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAI;IAUrD,WAAW,CAAC,GAAG,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAI;IAKhD,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc;IAI5C,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE;CAGlD"} \ No newline at end of file diff --git a/dist/scene-base.js b/dist/scene-ssr.js similarity index 91% rename from dist/scene-base.js rename to dist/scene-ssr.js index 16f63a3..2581edd 100644 --- a/dist/scene-base.js +++ b/dist/scene-ssr.js @@ -23,18 +23,25 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.SceneBase = void 0; +exports.SceneSSR = void 0; const detect_collisions_1 = require("detect-collisions"); const PIXI = __importStar(require("pixi.js")); const Subject_1 = require("rxjs/internal/Subject"); const game_object_1 = require("./game-object"); -class SceneBase extends game_object_1.GameObject { +/** + * base scene for server side rendering + */ +class SceneSSR extends game_object_1.GameObject { constructor(options = {}) { super(options.label || 'Scene'); /** * When Scene Object has children amount changed, it emits this subject. */ this.children$ = new Subject_1.Subject(); + /** + * Scene doesn't have parent gameObject + */ + this.gameObject = undefined; /** * requestAnimationFrame reference. */ @@ -44,6 +51,12 @@ class SceneBase extends game_object_1.GameObject { this.stage = new PIXI.Container(); this.stage.label = 'Stage'; } + /** + * Scene doesn't have parent scene + */ + get scene() { + return undefined; + } // tslint:disable-next-line async init(_options) { } stop() { @@ -108,4 +121,4 @@ class SceneBase extends game_object_1.GameObject { return this.children.filter(({ label }) => label === type); } } -exports.SceneBase = SceneBase; +exports.SceneSSR = SceneSSR; diff --git a/dist/scene.d.ts b/dist/scene.d.ts index 4071be6..83834c4 100644 --- a/dist/scene.d.ts +++ b/dist/scene.d.ts @@ -3,8 +3,8 @@ import * as PIXI from 'pixi.js'; import { Subject } from 'rxjs/internal/Subject'; import { Application } from './application'; import { Resources } from './resources'; -import { SceneBase, SceneOptions } from './scene-base'; -export declare class Scene extends SceneBase { +import { SceneSSR, SceneOptions } from './scene-ssr'; +export declare class Scene extends SceneSSR { pixi: Application; resources: Resources; /** diff --git a/dist/scene.d.ts.map b/dist/scene.d.ts.map index 6f816bc..f2a4cee 100644 --- a/dist/scene.d.ts.map +++ b/dist/scene.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../src/scene.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAGhC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAIhD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEvD,qBAAa,KAAK,CAAC,KAAK,SAAS,IAAI,GAAG,IAAI,CAAE,SAAQ,SAAS,CAAC,KAAK,CAAC;IAC/C,IAAI,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC;IAExC;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEzD;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;gBAE1C,OAAO,GAAE,YAAiB;IAkBtC,MAAM,CAAC,cAAc,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAYzC,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAarE,KAAK,IAAI,IAAI;IAKb,IAAI,IAAI,IAAI;IAKZ,OAAO,IAA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AI;IAUpB;;OAEG;IACH,OAAO,CAAC,KAAK,SAAsD,GAAG,IAAI;CAQ3E"} \ No newline at end of file diff --git a/dist/scene.js b/dist/scene.js index 0392796..ce26e7f 100644 --- a/dist/scene.js +++ b/dist/scene.js @@ -38,8 +38,8 @@ const Subject_1 = require("rxjs/internal/Subject"); const dependency_injection_1 = require("@jacekpietal/dependency-injection"); const application_1 = require("./application"); const resources_1 = require("./resources"); -const scene_base_1 = require("./scene-base"); -class Scene extends scene_base_1.SceneBase { +const scene_ssr_1 = require("./scene-ssr"); +class Scene extends scene_ssr_1.SceneSSR { constructor(options = {}) { super(options); /** diff --git a/dist/sprite.d.ts b/dist/sprite.d.ts index bac1dc6..6d8e2b4 100644 --- a/dist/sprite.d.ts +++ b/dist/sprite.d.ts @@ -22,6 +22,9 @@ export declare class Sprite extends PIXI.Sprite implements LifecycleProps { */ label: string; constructor(gameObject: GameObject, texture: PIXI.Texture); + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime: number): void; destroy(): void; } diff --git a/dist/sprite.d.ts.map b/dist/sprite.d.ts.map index d02fd36..c5b2964 100644 --- a/dist/sprite.d.ts.map +++ b/dist/sprite.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"sprite.d.ts","sourceRoot":"","sources":["../src/sprite.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,MAAO,SAAQ,IAAI,CAAC,MAAO,YAAW,cAAc;IAC/D;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAY;gBAEL,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO;IAKzD,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAM/B,OAAO,IAAI,IAAI;CAIhB"} \ No newline at end of file +{"version":3,"file":"sprite.d.ts","sourceRoot":"","sources":["../src/sprite.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAa,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,qBAAa,MAAO,SAAQ,IAAI,CAAC,MAAO,YAAW,cAAc;IAC/D;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAiB;IAElD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAEjD;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,KAAK,SAAY;gBAEL,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO;IAKzD;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAM/B,OAAO,IAAI,IAAI;CAIhB"} \ No newline at end of file diff --git a/dist/sprite.js b/dist/sprite.js index f8e33c9..f51075a 100644 --- a/dist/sprite.js +++ b/dist/sprite.js @@ -46,6 +46,9 @@ class Sprite extends PIXI.Sprite { this.label = 'Sprite'; gameObject.addChild(this); } + /** + * @param deltaTime = 1.0 for 60FPS + */ update(deltaTime) { this.x = this.gameObject.x; this.y = this.gameObject.y; diff --git a/dist/texture-atlas.d.ts b/dist/texture-atlas.d.ts index f7a1353..3130836 100644 --- a/dist/texture-atlas.d.ts +++ b/dist/texture-atlas.d.ts @@ -9,6 +9,9 @@ export interface TextureAtlasOptions { count?: number; scaleMode?: PIXI.SCALE_MODE; } +/** + * for slicing textures into tileset + */ export declare class TextureAtlas { /** * texture atlas base texture (required in constructor) diff --git a/dist/texture-atlas.d.ts.map b/dist/texture-atlas.d.ts.map index f4a7bdb..a294a1b 100644 --- a/dist/texture-atlas.d.ts.map +++ b/dist/texture-atlas.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"texture-atlas.d.ts","sourceRoot":"","sources":["../src/texture-atlas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAKhC,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC;CAC7B;AAED,qBAAa,YAAY;IACvB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC;IAE3B;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,CAAM;IAE5B;;;OAGG;gBACS,EACV,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,MAAU,EACV,SAAqB,EACtB,EAAE,mBAAmB;IAgBtB;;OAEG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;OAEG;IACH,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,OAAO;IAYhC;;OAEG;IACH,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,OAAO;IAmBhD;;OAEG;IACH,SAAS,CAAC,OAAO,CACf,KAAK,SAEJ,GACA,IAAI;CAUR"} \ No newline at end of file +{"version":3,"file":"texture-atlas.d.ts","sourceRoot":"","sources":["../src/texture-atlas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAKhC,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC;CAC7B;AAED;;GAEG;AACH,qBAAa,YAAY;IACvB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC;IAE3B;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,CAAM;IAE5B;;;OAGG;gBACS,EACV,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,MAAU,EACV,SAAqB,EACtB,EAAE,mBAAmB;IAgBtB;;OAEG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;OAEG;IACH,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,OAAO;IAYhC;;OAEG;IACH,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,OAAO;IAmBhD;;OAEG;IACH,SAAS,CAAC,OAAO,CACf,KAAK,SAEJ,GACA,IAAI;CAUR"} \ No newline at end of file diff --git a/dist/texture-atlas.js b/dist/texture-atlas.js index 232b426..7b474df 100644 --- a/dist/texture-atlas.js +++ b/dist/texture-atlas.js @@ -25,6 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); exports.TextureAtlas = void 0; const PIXI = __importStar(require("pixi.js")); +/** + * for slicing textures into tileset + */ class TextureAtlas { /** * create texture atlas diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 2fd8d7f..75e10cb 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1,2 +1,2 @@ window.navigationData = - 'data:application/octet-stream;base64,H4sIAAAAAAAAE42VXU/CMBSG/0uviQgRVO4AE0OigeBiTIwXpRygWtqmOyQshv9uGB/rxuHM2z59H7rTvePzVyBsUfRE3+q1RBdEQ3iJK9ETysg0hbR5IjcrXBvRED/azkWv1X7YNYq090YridpZQlBAzjHUQRkYuHl2qSgYa3Br7yxYJAQnxOctSm2BGMIZcflnuYbx7BsUcYCCcYYXvQCVKQOXgjPi8hNnsqWz9BAjyDoCLOSMiOfrXHIKqdsEBell+Iy4/JsCSzx5vlybG8j0WnaP2LwPGqlwvs4mUSK8SrXS5MEjylkS2OImQB+NJEYXU7aDx54+SZSFRVuEsJAqKvJ+Q1nU7nSpl3ASnE9JVXkLJ8svYOz35adV8QZOlFDtijzJtYZVNNE0uWMR+zht8eMTGUpfIMx8qf4HXnHdPt63Om3qDoYrbeZVW5n+20UfrYLrbJPRx+jU5qoqZnWe/N6TzF9IzqDOkOT9epdGz8v/XAdPBdfZloBT56LpLDZW5ffePKKyoXu3+/oDeHmjrz8HAAA='; + 'data:application/octet-stream;base64,H4sIAAAAAAAAE42V0U7CMBSG36XXRIQIKneIiSHRQNhiTIwXtTtAtbRNd0hYDO9unMC6cTzztl//b+WUf3v9Egg7FCMxtnoj0QXREV7iWoyEMjLPIe8eycUaN0Z0xKe2mRj1+jf7TpX23mglUTtLCCrIOSY6KAN3LivOFRVjDW7jnQWLhOCI+LxFqS0QQzghLv8gNzB7/wBFHKBinOFRL0EVysC54IS4/NyZYuUsPcQIso4AS/lOxMt1LrmA3G2Dgvw8fEJcPlFgiV9eLrfmkmTxRzRJFmzaB43UY8t1NokS4UmqtSaPHVHOksIOtwHGaCQxuJiyDTy09F6irCzaIoSlVFGNfzbURf3BkPoLzoPzOamqb+Fk5fxn/qf6tCrewIlSqluRJ/2rXw1NNE3uWMQ+Tls9fC5D7f2Dha+V/5c3XJe3171Bn7qDyVqbrGmr03+76KM1cJttPn2ZHrvcVMWszVPee1r4M8kJtBnSsl/P0uis/t369TRwm20FuHAums5ya1V5790DqhuGV/u3b4LLwoA9BwAA'; diff --git a/docs/assets/search.js b/docs/assets/search.js index 9dc1f54..83f84d3 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1,2 +1,2 @@ window.searchData = - 'data:application/octet-stream;base64,H4sIAAAAAAAAE71dXZPbtpL9L/I+KhOh+T1vvsnNXVdtKt44m71VU64UR+LMcFcjaSWO7YnL/32LIEE1mt0ASOnmKc6wgQP0FxqHIPR1cdx/Pi1u774u/rfebRa3sCoylcBysSufq8Xt4j/qh2r9ut5W78tjtWsWy8XLcbu4XTSvh+r0PXl689Q8bxfLxXpbnk7VaXG7WHxbenv+4anebqSO9UN3v0nKjPa4P5yGPutdUx0fyrU14lbC2bFaQTz0/HLYlE31b4FdvunE/7C7Xi4OnRJHAxVAN9WpOe5fg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fcJpxQ3WtZBXl0KhUbp6oZmxOv6JIbtg0bsrAC8sJ02Ms6ehDKNLy/l1X9tP/8YC9uSYw1PaRKaa0x1/ggd8Q0kViXng7txbF24kHtzK6rD3Jxteh/SgoNHwexYVRUIZqubc/R0CkmKlKTDFaiGtp+hKyVYt9NzVZwJcZn92uAqD22iCn7VC5qduRRqL2ZyUCfR0NF6JhaUz2bu+9Rt2idMLkBwKHoxvYTQGVUIiXZ7vcLkS5wEZIMVIrk3015JPvhCClDTJHDZWbIq7F3GlYHxG1b30PZXQCHusG1QCrVArg1k0ZzXAWKqmt46iNCas+keqK96ozZwuHCd/AgkSpvO+kv3kJ94OpiiCt5INpvPp1/PwJpAfcEUjSMdy7Igwzl17vRQBKYrGGc2izm3X9NyBguwdB2cS9nso4pQ7I+OAzhVvT9FMPOzayshs5XMOzljIxhAlViyp104JbNKrEa0tRAJBpHNWODeOC5zOzM5g0SKXbNPezaFsybDOzT4tsWYZnCm4NIisdP9an+aK+vCd7/RVIgjd0Pl9Pi7t6madBKkA0k8ED5DlWRUbWSfNl+2YSUlpvCeGU8DwYSYChD2Sj7sFwc6kO1bVPz3f2H79//D1Kz3BrcxAAA'; diff --git a/docs/classes/Animator.html b/docs/classes/Animator.html index a0ca559..a5e6014 100644 --- a/docs/classes/Animator.html +++ b/docs/classes/Animator.html @@ -6020,8 +6020,8 @@

  • Defined in src/animator.ts:129src/animator.ts:130
  • @@ -6138,8 +6138,8 @@

  • Defined in src/animator.ts:115src/animator.ts:116
  • @@ -6184,8 +6184,8 @@

  • Defined in src/animator.ts:122src/animator.ts:123
  • @@ -7907,8 +7907,8 @@

  • Defined in src/animator.ts:147src/animator.ts:151
  • @@ -8443,8 +8443,8 @@

  • Defined in src/animator.ts:203src/animator.ts:207
  • @@ -8506,8 +8506,8 @@

  • Defined in src/animator.ts:207src/animator.ts:211
  • @@ -10432,8 +10432,8 @@

  • Defined in src/animator.ts:153src/animator.ts:157
  • @@ -10636,8 +10636,8 @@

  • Defined in src/animator.ts:139src/animator.ts:143
  • @@ -10811,8 +10811,8 @@

  • Defined in src/animator.ts:174src/animator.ts:178
  • @@ -11175,11 +11175,6 @@

  • Defined in src/game-object.ts:107src/game-object.ts:110
  • @@ -802,8 +802,8 @@

  • Defined in src/game-object.ts:89src/game-object.ts:92
  • @@ -869,8 +869,8 @@

  • Defined in src/game-object.ts:131src/game-object.ts:134
  • @@ -940,8 +940,8 @@

  • Defined in src/game-object.ts:135src/game-object.ts:138
  • @@ -1051,8 +1051,8 @@

  • Defined in src/game-object.ts:98src/game-object.ts:101
  • @@ -1116,8 +1116,8 @@

  • Defined in src/game-object.ts:119src/game-object.ts:122
  • @@ -1152,11 +1152,6 @@