13.1.0
版本发布时间: 2022-08-10 07:55:08
melonjs/melonJS最新发布版本:17.4.0(2024-06-22 08:57:43)
Added
- Color: added a
setHSL(h, s, l)
andsetHSV(h, s, v)
method to the Color class - Tiled: add support for the new
class
property (note: melonJS will still set the deprecatedtype
one for backward compatibility) - Renderer: Canvas rendering mode can now be forced by adding
[#/&]canvas
to the URL (similarly with WebGL1/2 already) - Vector: new
moveTowards()
method for[Observable]Vector2d/3d
objects (limited to x and y axis for 3d vectors)
Changed
- Renderer: the double-buffering option for the Canvas Renderer is now deprecated, this to better align both renderer and enable further improvements
Fixed
- 9-Slice Sprite: fix resizing of a 9-slice sprite (thanks @NemoStein)
- Tiled: fix missing text property in TMX Object documentation
- Vector: fix
lerp()
not triggering the callback inObservableVector2/3d
objects - Renderer: fix the manual canvas scaling option (thanks @NemoStein)
1、 melonjs.js 1.17MB
2、 melonjs.min.js 323.96KB
3、 melonjs.module.d.ts 428.24KB
4、 melonjs.module.js 1.13MB