10.3.0
版本发布时间: 2022-02-02 16:00:18
melonjs/melonJS最新发布版本:17.4.0(2024-06-22 08:57:43)
Added
- TMX: melonJS will now throw an error if collision polygons defined in Tiled are not forming a convex shape
- WebGL : vertex element and buffer size are now dynamically calculated based on attribute definition
Changed
- WebGL : switch from drawElements to drawArrays when drawing quads
- WebGL : optimize ColorLayer rendering and
clearRect
method by usingclipRect
&clearColor
instead of drawing primitives - Device : modernize the
pointerLock
implementation (2.0 specs) and moved it underme.input
Fixed
- Renderable : properly delete me.Text cache WebGL texture upon deactivation (if created)
- WebGL : Optimize vertex buffer allocated size following tint color packing into Uint32
- Device : fix
pointerLock
feature detection
1、 melonjs.js 1.2MB
2、 melonjs.min.js 307.75KB
3、 melonjs.module.d.ts 420.61KB
4、 melonjs.module.js 1.05MB