melonJS/melonJS: Release 15.4.0

Name: melonJS

Owner: melonJS

Release: v15.4.0

Released: 2023-06-24

License: MIT

Release Assets:

Added

  • Application: new pauseOnBlur, resumeOnFocus and stopOnBlur properties to configure a game behavior on blur and focus events

Changed

  • Core: visibility and focus/blur events are now managed internally through new global BLUR and FOCUS events
  • Device: pauseOnBlur, resumeOnFocus and stopOnBlur properties are now deprecated and replaced by their Application counterpart
  • Geometry: optimize Rect contains method by using typeof instead of instanceof to identify given parameter type

Fixed

  • Renderable : fix a potential issue with a Tile Layer not being properly redrawn when adding or clearing individual tiles
  • TMX : properly set the preRenderflag for Tiled layer at runtime (when added to the root container)
  • TMX : fix pre-rendering for non-orthogonal maps
  • UI: fix dirty flag for base UI elements not being set due to wrong property name (thanks @yuta0315)

To top