Excalibur 0.24.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.24.0
dotnet add package Excalibur --version 0.24.0
<PackageReference Include="Excalibur" Version="0.24.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Excalibur --version 0.24.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

image

Breaking Changes

  • Remove obsolete .extend() semantics in Class.ts as as well as related test cases.

Added

  • Added new option for constructing bounding boxes. You can now construct with an options
    object rather than only individual coordinate parameters. (#1151)
  • Added new interface for specifying the type of the options object passed to the
    bounding box constructor.
  • Added the ex.vec(x, y) shorthand for creating vectors.
    (#1340)
  • Added new event processed to Sound that passes processed string | AudioBuffer data. (#1474)
  • Added new property duration to Sound and AudioInstance that exposes the track's duration in seconds when Web Audio API is used. (#1474)

Changed

  • Animation no longer mutate underlying sprites, instead they draw the sprite using the animations parameters. This allows more robust flipping at runtime. (#1258)
  • Changed obsolete decorator to only log the same message 5 times. (#1281)
  • Switched to core-js based polyfills instead of custom written ones (#1214)
  • Updated to TypeScript@3.6.4 and node 10 LTS build
  • Sound.stop() now always rewinds the track, even when the sound is paused. (#1474)

Deprecated

  • ex.Vector.magnitude() will be removed in v0.25.0, use ex.Vector.size(). (#1277)

Fixed

  • Fixed Excalibur crashing when displaying both a tilemap and a zero-size actor (#1418)
  • Fixed animation flipping behavior (#1172)
  • Fixed actors being drawn when their opacity is 0 (#875)
  • Fixed iframe event handling, excalibur will respond to keyboard events from the top window (#1294)
  • Fixed camera to be vector backed so ex.Camera.x = ? and ex.Camera.pos.setTo(...) both work as expected(#1299)
  • Fixed missing on/once/off signatures on ex.Pointer (#1345)
  • Fixed sounds not being stopped when Engine.stop() is called. (#1476)

Thanks to @JeTmAn1981, @gargrave, @SirKitboard, @Guzzler, @saahilk, @djcsdy, @chrispanag, @MaanasArora, @jlennox, @jweissman, @HParker, @jurca, and @DaVince for their contributions!

image

Breaking Changes

  • Remove obsolete .extend() semantics in Class.ts as as well as related test cases.

Added

  • Added new option for constructing bounding boxes. You can now construct with an options
    object rather than only individual coordinate parameters. (#1151)
  • Added new interface for specifying the type of the options object passed to the
    bounding box constructor.
  • Added the ex.vec(x, y) shorthand for creating vectors.
    (#1340)
  • Added new event processed to Sound that passes processed string | AudioBuffer data. (#1474)
  • Added new property duration to Sound and AudioInstance that exposes the track's duration in seconds when Web Audio API is used. (#1474)

Changed

  • Animation no longer mutate underlying sprites, instead they draw the sprite using the animations parameters. This allows more robust flipping at runtime. (#1258)
  • Changed obsolete decorator to only log the same message 5 times. (#1281)
  • Switched to core-js based polyfills instead of custom written ones (#1214)
  • Updated to TypeScript@3.6.4 and node 10 LTS build
  • Sound.stop() now always rewinds the track, even when the sound is paused. (#1474)

Deprecated

  • ex.Vector.magnitude() will be removed in v0.25.0, use ex.Vector.size(). (#1277)

Fixed

  • Fixed Excalibur crashing when displaying both a tilemap and a zero-size actor (#1418)
  • Fixed animation flipping behavior (#1172)
  • Fixed actors being drawn when their opacity is 0 (#875)
  • Fixed iframe event handling, excalibur will respond to keyboard events from the top window (#1294)
  • Fixed camera to be vector backed so ex.Camera.x = ? and ex.Camera.pos.setTo(...) both work as expected(#1299)
  • Fixed missing on/once/off signatures on ex.Pointer (#1345)
  • Fixed sounds not being stopped when Engine.stop() is called. (#1476)

Thanks to @JeTmAn1981, @gargrave, @SirKitboard, @Guzzler, @saahilk, @djcsdy, @chrispanag, @MaanasArora, @jlennox, @jweissman, @HParker, @jurca, and @DaVince for their contributions!

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 202 6/8/2019
0.22.0 200 4/6/2019
0.21.0 206 2/2/2019
0.20.0 261 12/23/2018
0.19.1 245 10/23/2018
0.19.0 275 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 323 2/17/2018
0.14.0 393 12/2/2017
0.13.0 391 10/7/2017
0.12.0 438 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 598 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