10.12.0
版本发布时间: 2022-06-20 08:38:28
melonjs/melonJS最新发布版本:17.4.0(2024-06-22 08:57:43)
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
- 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
)
1、 melonjs.js 1.15MB
2、 melonjs.min.js 314.53KB
3、 melonjs.module.d.ts 426.03KB
4、 melonjs.module.js 1.12MB