@safe-engine/pixi 8.8.1 → 8.8.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/dist/core/NodePool.d.ts
CHANGED
package/dist/core/Size.d.ts
CHANGED
package/dist/core/Size.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../src/core/Size.ts"],"names":[],"mappings":"AAAA,cAAM,KAAK;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../src/core/Size.ts"],"names":[],"mappings":"AAAA,cAAM,KAAK;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;gBACF,KAAK,SAAI,EAAE,MAAM,SAAI;CAWlC;AAED,MAAM,MAAM,IAAI,GAAG,KAAK,CAAA;AACxB,wBAAgB,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAEjD"}
|
|
@@ -3,5 +3,5 @@ import { DragonBonesSystem } from './DragonBonesSystem';
|
|
|
3
3
|
export * from './DragonBonesComponent';
|
|
4
4
|
export * from './DragonBonesSystem';
|
|
5
5
|
export function setupDragonBones() {
|
|
6
|
-
GameWorld.Instance.
|
|
6
|
+
GameWorld.Instance.systems.addThenConfigure(DragonBonesSystem);
|
|
7
7
|
}
|
package/dist/helper/utils.js
CHANGED
|
@@ -19,7 +19,7 @@ export function registerSystem(component) {
|
|
|
19
19
|
for (const entt of entities.entities_with_components(component)) {
|
|
20
20
|
const comp = entt.getComponent(component);
|
|
21
21
|
// console.log('comp', comp.constructor.name, typeof comp['update'] === 'function')
|
|
22
|
-
if (comp.node.active && typeof comp['update'] === 'function') {
|
|
22
|
+
if (comp.node.active && comp.enabled && typeof comp['update'] === 'function') {
|
|
23
23
|
comp['update'](dt);
|
|
24
24
|
}
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safe-engine/pixi",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.2",
|
|
4
4
|
"description": "safex pixi plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@esotericsoftware/spine-core": "^4.2.
|
|
20
|
+
"@esotericsoftware/spine-core": "^4.2.94",
|
|
21
21
|
"@pixi/ui": "^2.2.7",
|
|
22
22
|
"box2d-wasm": "^7.0.0",
|
|
23
23
|
"dragonbones-pixijs": "^1.0.5",
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
"planck": "^1.4.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"typescript": "^5.9.
|
|
31
|
+
"typescript": "^5.9.3"
|
|
32
32
|
}
|
|
33
33
|
}
|