@makefully/platypus 4.1.10 → 4.1.13
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/CHANGELOG.md +34 -0
- package/lib/platypus.js +1 -1
- package/package.json +2 -2
- package/src/AssetManager.js +2 -0
- package/src/Messenger.js +12 -12
- package/src/PIXIAnimation.js +102 -23
- package/src/components/EntityContainer.js +45 -13
- package/src/components/LevelBuilder.js +219 -48
- package/src/components/Render.js +11 -5
- package/src/components/RenderSpine.js +0 -8
- package/src/components/RenderSprite.js +10 -1
- package/src/index.js +7 -7
- package/src/sayHello.js +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.1.13] - 2026-07-28
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **EntityContainer:** Guard against destroyed children (null `_listeners`) when wiring events such as `Enter:down`, mark the container destroyed before tearing down children, and clear `entities` / `_childEvents` on destroy so re-entrant input during scene/layer unload cannot crash.
|
|
15
|
+
- **Messenger.mixin:** Copy accessor descriptors (e.g. `destroyed`) instead of evaluating getters, so mixed-in classes report destroyed state correctly.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Peer dependency `@esotericsoftware/spine-pixi-v8` updated to `^4.3.13`.
|
|
20
|
+
- Removed `RenderSpine` physics-inheritance setup; that API is not present in spine-pixi-v8 4.3.13.
|
|
21
|
+
|
|
22
|
+
## [4.1.12] - 2026-07-13
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- **supports:** Obsolete browser capability flags are fixed for modern browsers (`touch: true`, `ie: false`, `edge: false`); legacy Edge/IE user-agent sniffing removed.
|
|
27
|
+
- **Messenger:** Assumes User Timing (`performance.mark` / `measure`) is available; no longer probes for support.
|
|
28
|
+
- **sayHello:** Always uses styled console output (`%c`), which is supported in modern browsers.
|
|
29
|
+
|
|
30
|
+
## [4.1.11] - 2026-06-25
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **PIXIAnimation:** `invalidateTextureSources` clears cached texture sources when an asset is unloaded.
|
|
35
|
+
- Unit tests for `PIXIAnimation` sprite sheet cache ids and texture source invalidation.
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- **LevelBuilder:** Throws informative errors when `levelPieces` or `levelTemplate` are incomplete or invalid (missing levels, empty rows, non-rectangular templates, incomplete level definitions) instead of generic undefined property errors.
|
|
40
|
+
- **PIXIAnimation:** Resolves texture assets by full path or image basename; updates cached texture sources when the underlying asset changes; sprite sheet cache ids use content hashes instead of truncated JSON to avoid collisions.
|
|
41
|
+
- **AssetManager:** Invalidates `PIXIAnimation` texture sources when unloading assets.
|
|
42
|
+
- **Render / RenderSprite:** `getAssetList` registers image aliases via `getFileId` for webpack URL resolution.
|
|
43
|
+
|
|
10
44
|
## [4.1.10] - 2026-06-23
|
|
11
45
|
|
|
12
46
|
### Added
|