Skip to content

Commit a95dd66

Browse files
authored
Merge pull request #1267 from melonjs/chore/update-changelog
Update melonJS CHANGELOG
2 parents 9a96ecd + ac7c6c1 commit a95dd66

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

packages/melonjs/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## [18.1.0] (melonJS 2)
44

55
### Added
6+
- TextureAtlas: new `getAnimationSettings()` method for extending Sprite with texture atlas animations
7+
- TMX: automatically decompose concave collision polygons into convex triangles using earcut triangulation, instead of throwing an error
68
- Ellipse: add rotation and matrix transform support (#583, #771)
79
- Ellipse: proper SAT collision detection for non-circular ellipses via polygon approximation (#584)
810
- WebGLRenderer: compressed texture support — DDS (DXT1/DXT3/DXT5/BC7), KTX v1, KTX2, PVR (PVRTC/S3TC/ETC1), and PKM (ETC1/ETC2) parsers (#1182)
@@ -11,9 +13,15 @@
1113
- WebGLRenderer: `lineWidth` now works for all primitive drawing methods via a proper shader-based implementation (#999)
1214

1315
### Changed
16+
- Entity: deprecated in favor of Sprite/Renderable + Body (#1008)
1417
- TMX: refactor TMXUtils into reusable `src/utils/decode.ts` and `src/utils/xml.ts` modules; modernize property coercion, XML normalization, and tileset iteration
1518

1619
### Fixed
20+
- TMX: fix hexagonal renderer `pixelToTileCoords` mutating internal centers array on every call
21+
- TMX: fix default collision shape using map dimensions instead of object dimensions in `getObjects()`
22+
- TMX: fix `heigth` typo in TMXLayer canvas renderer options
23+
- TMX: fix canvas memory leak in TMXLayer — canvasRenderer kept for reuse on deactivation
24+
- TMX: reduce GC pressure — replace `new Vector2d()` with pool allocations and `clone()` with `vector2dPool.get().setV()` across all TMX renderers
1725
- WebGLRenderer: fix `drawVertices` and `#expandLinesToTriangles` mutating input vertex objects, causing polygon geometry corruption across frames
1826
- WebGLRenderer: fix `restore()` not re-applying the GL scissor rectangle when restoring a state with active scissor test
1927
- Decode: fix CSV decoding skipping newlines after the first one

0 commit comments

Comments
 (0)