@makefully/platypus 4.1.6 → 4.1.9
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 +37 -0
- package/lib/platypus.js +1 -1
- package/package.json +2 -2
- package/src/components/RenderSpine.js +13 -6
- package/src/components/RenderTiles.js +214 -134
- package/src/components/TiledLoader.js +16 -8
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.1.9] - 2026-06-22
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `RenderTiles` `force-render` event for synchronous cache refresh after bulk tile edits.
|
|
15
|
+
- `RenderTiles` helpers `refreshAllCaches`, `refreshPanningCache`, `refreshAllCacheGrid`, `alignCacheToCamera`, and `detachCacheCopy`.
|
|
16
|
+
- Unit tests for `RenderTiles` `populateTiles` incremental vs full refresh and `alignCacheToCamera`.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- `RenderTiles` `change-tile` now always flags a cache refresh; the previous bounds check skipped updates when `this.cache` did not cover the edited tile (notably on multi-texture full-map grids).
|
|
21
|
+
- `RenderTiles` `force-render` and in-place panning-cache refresh now repopulate the full visible window (`populate` with no `oldBounds`) instead of the camera-scroll incremental path, which skipped every tile when the camera had not moved.
|
|
22
|
+
- `RenderTiles` panning-cache refresh draws into the alternate render texture before swapping the display sprite, avoiding blank tiles from clearing the on-screen texture in Pixi v8.
|
|
23
|
+
- `RenderTiles` `force-render` re-renders all `cacheGrid` cells on multi-texture full-map layers instead of calling the single-texture path with no `cacheTexture`.
|
|
24
|
+
- `RenderTiles` `renderCache` removes the temporary copy sprite from `mapContainer` after scroll blits.
|
|
25
|
+
|
|
26
|
+
## [4.1.8] - 2026-06-16
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- Peer dependency `@esotericsoftware/spine-pixi-v8` updated to `^4.3.7`.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- `RenderSpine` updated for Spine 4.3 pose APIs (`setupPoseSlots`, `slot.pose.color`, `physicsRotate`).
|
|
35
|
+
- Spine physics no longer reacts to camera panning; automatic container physics inheritance is disabled because Platypus moves the world container, not individual entities.
|
|
36
|
+
|
|
37
|
+
## [4.1.7] - 2026-06-16
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
|
|
41
|
+
- Tiled layer parallax (`parallaxx`, `parallaxy`) and map parallax origin (`parallaxoriginx`, `parallaxoriginy`) support, forwarded from `TiledLoader` to `RenderTiles`.
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- `RenderTiles` layers with different parallax factors are no longer combined into a single render layer.
|
|
46
|
+
|
|
10
47
|
## [4.1.6] - 2026-06-10
|
|
11
48
|
|
|
12
49
|
### Changed
|