@makefully/platypus 4.1.9 → 4.1.10
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 +16 -0
- package/lib/platypus.js +1 -1
- package/package.json +1 -1
- package/src/AssetManager.js +44 -2
- package/src/VOPlayer.js +1 -1
- package/src/components/LevelBuilder.js +37 -19
- package/src/components/Render.js +11 -1
- package/src/components/TiledLoader.js +8 -4
- package/src/utils/clone.js +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.1.10] - 2026-06-23
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `cloneDefinition` utility for deep-copying JSON-like Platypus definitions.
|
|
15
|
+
- `LevelBuilder#cloneLevel` public method.
|
|
16
|
+
- Unit tests for level composition isolation and TiledLoader entity template isolation.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **LevelBuilder:** Composed levels are deep-cloned so merges, mirrors, and replay do not share or corrupt source data; `created-level` dispatches an isolated snapshot; skips re-composition when a pre-built level object is already supplied.
|
|
21
|
+
- **AssetManager:** Relinks assets already registered with Pixi between scene loads; `get()` falls back to `getFileId` for webpack URL lookups.
|
|
22
|
+
- **Render:** Warns when initializing with an image not in the asset cache.
|
|
23
|
+
- **TiledLoader:** Deep-copies entity templates from settings when creating layer entities; caches `level.assets` only for named level ids; passes tilesets when collecting assets from tile objectgroups.
|
|
24
|
+
- **VOPlayer:** `unloadSound` uses `getFileId` so asset reference counts match loaded aliases.
|
|
25
|
+
|
|
10
26
|
## [4.1.9] - 2026-06-22
|
|
11
27
|
|
|
12
28
|
### Added
|