Excalibur 0.17.0

Excalibur.js is a simple JavaScript game engine with TypeScript bindings for making 2D games in HTML5 Canvas. Our mission is to make web game development as simple as possible.

There is a newer version of this package available.
See the version list below for details.
Install-Package Excalibur -Version 0.17.0
dotnet add package Excalibur --version 0.17.0
<PackageReference Include="Excalibur" Version="0.17.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Excalibur --version 0.17.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

image

Thanks to @frodgesh, @jamesmcgeorge, @rougepied, @clofresh, @LoserAntbear, @FerociousQuasar, and @Carghaez for their contributions!

Breaking Changes

  • Property scope Pointer.actorsUnderPointer changed to private;
  • Sprite.sx replaced with Sprite.x
  • Sprite.sy replaced with Sprite.y
  • Sprite.swidth replaced with Sprite.width
  • Sprite.sheight replaced with Sprite.height

Added

  • Allow timers to limit repeats to a finite number of times (#957)
  • Convenience method on Scene to determine whether it is the current scene. Scene.isCurrentScene() (#982)
  • New PointerEvent.stopPropagation() method added. Works the same way as (https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation)
    (#912)
  • New Actor.getAncestors() method, which retreives full array of current Actor ancestors
  • Static Actor.defaults prop, which implements IActorDefaults.
  • Native sound events now exposed
    • volumechange - on playing sound volume change;
    • pause - on playback pause;
    • stop - on playback stop;
    • emptied - on data cleanup(f.e. when setting new data);
    • resume - on playback resume;
    • playbackstart - on playback start;
    • playbackend - on playback end;
  • Added Sound.instances getter, which returns active tracks. Playing or paused;
  • Added Sound.getTrackId(track: [[AudioInstance]]) method. Which returns id of track provided,
    if it is in list of active tracks.

Changed

  • Refactored Easing functions to be reversable (#944)
  • Now at creation every Actor.anchor prop is set to default Actor.defaults.anchor.
  • Scene.remove(Actor) now starts the Actor.Kill event cycle.(#981)

Deprecated

  • CapturePointer.update() method now doesn't propagate event to actor, just verifies pointer events for actor.
  • Added Sound.volume & Sound.loop properties as a replacement for Sound.setVolume() and Sound.setLoop(). The methods setVolume and setLoop have been marked obsolete.

Fixed

  • Added missing variable assignments to TileMapImpl constructor (#957)
  • Correct setting audio volume level from value to setValueAtTime to comply with deprecation warning in Chrome 59 (#953)
  • Force HiDPI scaling to always be at least 1 to prevent visual artifacts in some browsers
  • Recalculate physics geometry when width/height change on Actor (#948)
  • Fix camera move chaining (#944)
  • Fix pickSet(allowDuplicates: true) now returns the proper length array with correct elements (#977)
  • Index export order to prevent almond.js from creation of corrupted modules loading order.
  • Sound.pause() now saves correct timings.
  • Fix ex.Vector.isValid edgecase at Infinity (#1006)

image

Thanks to @frodgesh, @jamesmcgeorge, @rougepied, @clofresh, @LoserAntbear, @FerociousQuasar, and @Carghaez for their contributions!

Breaking Changes

  • Property scope Pointer.actorsUnderPointer changed to private;
  • Sprite.sx replaced with Sprite.x
  • Sprite.sy replaced with Sprite.y
  • Sprite.swidth replaced with Sprite.width
  • Sprite.sheight replaced with Sprite.height

Added

  • Allow timers to limit repeats to a finite number of times (#957)
  • Convenience method on Scene to determine whether it is the current scene. Scene.isCurrentScene() (#982)
  • New PointerEvent.stopPropagation() method added. Works the same way as (https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation)
    (#912)
  • New Actor.getAncestors() method, which retreives full array of current Actor ancestors
  • Static Actor.defaults prop, which implements IActorDefaults.
  • Native sound events now exposed
    • volumechange - on playing sound volume change;
    • pause - on playback pause;
    • stop - on playback stop;
    • emptied - on data cleanup(f.e. when setting new data);
    • resume - on playback resume;
    • playbackstart - on playback start;
    • playbackend - on playback end;
  • Added Sound.instances getter, which returns active tracks. Playing or paused;
  • Added Sound.getTrackId(track: [[AudioInstance]]) method. Which returns id of track provided,
    if it is in list of active tracks.

Changed

  • Refactored Easing functions to be reversable (#944)
  • Now at creation every Actor.anchor prop is set to default Actor.defaults.anchor.
  • Scene.remove(Actor) now starts the Actor.Kill event cycle.(#981)

Deprecated

  • CapturePointer.update() method now doesn't propagate event to actor, just verifies pointer events for actor.
  • Added Sound.volume & Sound.loop properties as a replacement for Sound.setVolume() and Sound.setLoop(). The methods setVolume and setLoop have been marked obsolete.

Fixed

  • Added missing variable assignments to TileMapImpl constructor (#957)
  • Correct setting audio volume level from value to setValueAtTime to comply with deprecation warning in Chrome 59 (#953)
  • Force HiDPI scaling to always be at least 1 to prevent visual artifacts in some browsers
  • Recalculate physics geometry when width/height change on Actor (#948)
  • Fix camera move chaining (#944)
  • Fix pickSet(allowDuplicates: true) now returns the proper length array with correct elements (#977)
  • Index export order to prevent almond.js from creation of corrupted modules loading order.
  • Sound.pause() now saves correct timings.
  • Fix ex.Vector.isValid edgecase at Infinity (#1006)

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.24.3 61 5/10/2020
0.24.1 67 4/24/2020
0.24.0 65 4/24/2020
0.23.0 203 6/8/2019
0.22.0 200 4/6/2019
0.21.0 206 2/2/2019
0.20.0 262 12/23/2018
0.19.1 246 10/23/2018
0.19.0 276 10/13/2018
0.18.0 315 8/4/2018
0.17.0 336 6/16/2018
0.16.0 397 4/6/2018
0.15.0 324 2/17/2018
0.14.0 394 12/2/2017
0.13.0 392 10/7/2017
0.12.0 439 8/12/2017
0.11.0 518 6/10/2017
0.10.0 473 4/8/2017
0.9.0 473 2/10/2017
0.8.0 429 12/4/2016
0.7.1 555 10/4/2016
0.7.0 549 8/30/2016
0.6.0 769 1/20/2016
0.5.1 603 6/26/2015
0.5.0 563 6/4/2015
0.2.2 686 4/16/2014
0.2.1 599 4/16/2014
0.2.0 613 4/10/2014
0.1.1-alpha 533 12/19/2013
0.1.0-alpha 577 12/12/2013
Show less