@makefully/platypus 4.1.10 → 4.1.11
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 +14 -0
- package/lib/platypus.js +1 -1
- package/package.json +1 -1
- package/src/AssetManager.js +2 -0
- package/src/PIXIAnimation.js +102 -23
- package/src/components/LevelBuilder.js +219 -48
- package/src/components/Render.js +11 -5
- package/src/components/RenderSprite.js +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.1.11] - 2026-06-25
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **PIXIAnimation:** `invalidateTextureSources` clears cached texture sources when an asset is unloaded.
|
|
15
|
+
- Unit tests for `PIXIAnimation` sprite sheet cache ids and texture source invalidation.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **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.
|
|
20
|
+
- **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.
|
|
21
|
+
- **AssetManager:** Invalidates `PIXIAnimation` texture sources when unloading assets.
|
|
22
|
+
- **Render / RenderSprite:** `getAssetList` registers image aliases via `getFileId` for webpack URL resolution.
|
|
23
|
+
|
|
10
24
|
## [4.1.10] - 2026-06-23
|
|
11
25
|
|
|
12
26
|
### Added
|