@datamoc/mw_games 0.15.0 → 0.16.0
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 +17 -1
- package/dist/mw_games.global.js +18 -18
- package/dist/two-d/render/RpgmAutotile.d.ts +217 -0
- package/dist/two-d/render/RpgmAutotile.d.ts.map +1 -1
- package/dist/two-d/render/RpgmAutotile.js +756 -0
- package/dist/two-d/render/RpgmAutotile.js.map +1 -1
- package/dist/two-d/render/TileMap.d.ts +90 -0
- package/dist/two-d/render/TileMap.d.ts.map +1 -1
- package/dist/two-d/render/TileMap.js +319 -31
- package/dist/two-d/render/TileMap.js.map +1 -1
- package/dist/two-d/render/index.d.ts +3 -3
- package/dist/two-d/render/index.d.ts.map +1 -1
- package/dist/two-d/render/index.js +1 -1
- package/dist/two-d/render/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,23 @@ All notable changes to `mwg` are documented here. Format follows
|
|
|
5
5
|
[Semantic Versioning](https://semver.org/) as of this first release - a 0.y.z version means
|
|
6
6
|
the public API may still change between minor versions.
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [0.16.0] - 2026-09-19
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- First-class autotile layers on `TileMap` (item 370): `addAutotileLayer` takes raw
|
|
13
|
+
MV tile ids or XP tile values plus one `AutotileSet` per family slot (MV) or image
|
|
14
|
+
index (XP), and the map assembles each cell's quadrant halves straight from the
|
|
15
|
+
source sheet, no prebuilt atlas canvas in between. `setAutotileFrame`/
|
|
16
|
+
`getAutotileFrame` advance and read the animation frame (MV kind cycles, XP frame
|
|
17
|
+
stripes, wrapping); `setTile`/`getTile` keep working with raw ids. The standard MV
|
|
18
|
+
floor/wall shape tables ship as `RPGM_FLOOR_AUTOTILE_TABLE`/
|
|
19
|
+
`RPGM_WALL_AUTOTILE_TABLE` with the family address facts
|
|
20
|
+
(`RPGM_AUTOTILE_SLOT_BASES`/`RPGM_AUTOTILE_SLOT_COUNTS`, `rpgmAutotileSlot`), and
|
|
21
|
+
the XP side ships `XP_AUTOTILE_PATTERNS`/`XP_NEIGHBORS_TO_PATTERN` with
|
|
22
|
+
`xpAutotileRef` (baked cells) and `xpAutotilePattern` (procedural neighbourhoods);
|
|
23
|
+
`autotileCellParts`/`assertAutotileLayout` resolve and validate one cell
|
|
24
|
+
renderer-free.
|
|
9
25
|
|
|
10
26
|
## [0.15.0] - 2026-09-19
|
|
11
27
|
|