melonJS v10.12.0 Release Notes
Release Date: 2022-06-20 // almost 2 years ago-
➕ Added
- State: new
get(state)
function that return the instance to the Stage associated with the given state
🔄 Changed
- 🚚 Physic: simplify the collision api and implementation (removed
collision.response
that serves no purpose anymore) - Pooling: silently fail if internally failing at recycling body physic shapes
🛠 Fixed
- Physic: fix a regression with Ellipse vs Polygon SAT collision detection
- 0️⃣ Text: make sure the optional
x
andy
arguments of the draw method are set to a default value - TypeScript: fix and uniform draw method signature across all renderables
- TypeScript: fix typings for the
onCollision
method - TypeScript: fix
setMaxVelocity
andsetFriction
method scope - Webdoc: fix wrong or missing argument names (
Path2D.arcTo
,Rect.centerOn
,Texture.AdduVs
)
- State: new