@simpludify/core 0.1.1 → 0.1.2
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/README.md +3 -3
- package/dist/foundation/version.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @simpludify/core
|
|
2
2
|
|
|
3
|
-
Experimental v0.1.
|
|
3
|
+
Experimental v0.1.2 of Simpludify, a code-first TypeScript 2D engine. APIs may change between 0.x releases. This package contains host-independent Scene/Actor/Component, collision, geometry, tilemaps, tween/animation, input and Canvas UI models. It has no browser or Node runtime dependencies.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Registry installation (check availability with `npm view @simpludify/core@0.1.2 version`):
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install @simpludify/core@0.1.
|
|
8
|
+
npm install @simpludify/core@0.1.2
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
```js
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Source workspace version; checked against package.json by the build validator. */
|
|
2
|
-
export declare const ENGINE_VERSION = "0.1.
|
|
2
|
+
export declare const ENGINE_VERSION = "0.1.2";
|
package/dist/index.js
CHANGED
|
@@ -1583,7 +1583,7 @@ var RandomManager = class {
|
|
|
1583
1583
|
};
|
|
1584
1584
|
// packages/core/src/foundation/version.ts
|
|
1585
1585
|
/** Source workspace version; checked against package.json by the build validator. */
|
|
1586
|
-
var ENGINE_VERSION = "0.1.
|
|
1586
|
+
var ENGINE_VERSION = "0.1.2";
|
|
1587
1587
|
// packages/core/src/scene/actor.ts
|
|
1588
1588
|
var inputPhase$1 = ComponentPhase.Input;
|
|
1589
1589
|
var updatePhase$1 = ComponentPhase.Update;
|
|
@@ -6269,7 +6269,7 @@ var ReplayPlayer = class {
|
|
|
6269
6269
|
this.engine = engine;
|
|
6270
6270
|
this.data = parseReplayData(data);
|
|
6271
6271
|
this.bound = bindings(engine, options.controllers);
|
|
6272
|
-
if (this.data.engineVersion !== "0.1.
|
|
6272
|
+
if (this.data.engineVersion !== "0.1.2" || engine.random.seed !== this.data.random.seed) throw new EngineError("REPLAY_INCOMPATIBLE", "Engine version or initial seed does not match Replay");
|
|
6273
6273
|
if (!compatible(this.bound.map(([id, c]) => ({
|
|
6274
6274
|
id,
|
|
6275
6275
|
actions: c.schema()
|