Skip to content

Excalibur v0.7.1

Compare
Choose a tag to compare
@jedeen jedeen released this 04 Oct 03:27

image

Breaking Changes

  • Refactored and modified Sound API (#644)
    • Sound.setData now returns a Promise which differs from previous API
    • Removed internal FallbackAudio and Sound classes and replaced with single Sound class
    • Added AudioTagInstance and WebAudioInstance internal classes

Added

  • ex.Promise.join(Promise[]) support (in addition to ...promises support) (#642)
  • Moved build artifacts to separate excalibur-dist repository (#648)
  • ex.Events namespace and typed event handler .on(...) overloads for default events on core excalibur objects (#639)
  • Engine.timescale property (default: 1.0) to add time-scaling to the engine for time-based movements (#543)
  • Two new parameters to ex.Util.DrawUtil.line that accept a line thickness and end-cap style (#658)

Fixed

  • Actor.actions.fade properly supporting fading between 0 and 1 and vice versa (#640)
  • Fix issues with audio offset tracking and muting while game is invisible (#644)
  • Actor.getHeight() and Actor.getWidth() now take into account parent scaling (#645)
  • Actor.debugDraw now works properly for child actors (#505, #645)
  • Sprite culling was double scaling calculations (#646)
  • Fix negative zoom sprite culling (#539)
  • Fix Actor updates happening more than once per frame, causing multiple pointer events to trigger (#643)
  • Fix Actor.on('pointerup') capturePointer events opt-in on event handler. The opt-in was triggering correctly for handlers on 'pointerdown' and 'pointermove', but not 'pointerup'.