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

image

Thanks to @pathurs, @dgparker, and @rougepied for their contributions!

Added

  • New typesafe and override safe event lifecycle overriding, all onEventName handlers will no longer be dangerous to override (#582)
    • New lifecycle event onPreKill and onPostKill
  • SpriteSheets can now produce animations from bespoke sprite coordinates SpriteSheet.getAnimationByCoords(engine, coords[], speed) (#918)
  • Added drag and drop suppor for Actors (#134)
    • New Event enter
    • New Event leave
    • New Event pointerenter
    • New Event pointerleave
    • New Event pointerdragstart
    • New Event pointerdragend
    • New Event pointerdragmove
    • New Event pointerdragenter
    • New Event pointerdragleave
    • New Class PointerDragEvent which extends PointerEvent
    • New Class GlobalCoordinates that contains Vectors for the world, the page, and the screen.
    • Added property ICapturePointerConfig.captureDragEvents which controls whether to emit drag events to the actor
    • Added property PointerEvent.pointer which equals the original pointer object

Deprecated

  • Sprite.sx, Sprite.sy, Sprite.swidth, Sprite.sheight has be deprecated in favor of Sprite.x, Sprite.y, Sprite.width, Sprite.height (#918)

Fixed

  • Added missing lifecycle event handlers on Actors, Triggers, Scenes, Engine, and Camera (#582)
  • Tile Maps now correctly render negative x-axis coordinates (#904)
  • Offscreen culling in HiDPI mode (#949)
    • Correct bounds check to check drawWidth/drawHeight for HiDPI
    • suppressHiDPIScaling now also suppresses pixel ratio based scaling
  • Extract and separate Sprite width/height from drawWidth/drawHeight to prevent context corruption (#951)

image

Thanks to @pathurs, @dgparker, and @rougepied for their contributions!

Added

  • New typesafe and override safe event lifecycle overriding, all onEventName handlers will no longer be dangerous to override (#582)
    • New lifecycle event onPreKill and onPostKill
  • SpriteSheets can now produce animations from bespoke sprite coordinates SpriteSheet.getAnimationByCoords(engine, coords[], speed) (#918)
  • Added drag and drop suppor for Actors (#134)
    • New Event enter
    • New Event leave
    • New Event pointerenter
    • New Event pointerleave
    • New Event pointerdragstart
    • New Event pointerdragend
    • New Event pointerdragmove
    • New Event pointerdragenter
    • New Event pointerdragleave
    • New Class PointerDragEvent which extends PointerEvent
    • New Class GlobalCoordinates that contains Vectors for the world, the page, and the screen.
    • Added property ICapturePointerConfig.captureDragEvents which controls whether to emit drag events to the actor
    • Added property PointerEvent.pointer which equals the original pointer object

Deprecated

  • Sprite.sx, Sprite.sy, Sprite.swidth, Sprite.sheight has be deprecated in favor of Sprite.x, Sprite.y, Sprite.width, Sprite.height (#918)

Fixed

  • Added missing lifecycle event handlers on Actors, Triggers, Scenes, Engine, and Camera (#582)
  • Tile Maps now correctly render negative x-axis coordinates (#904)
  • Offscreen culling in HiDPI mode (#949)
    • Correct bounds check to check drawWidth/drawHeight for HiDPI
    • suppressHiDPIScaling now also suppresses pixel ratio based scaling
  • Extract and separate Sprite width/height from drawWidth/drawHeight to prevent context corruption (#951)

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
Show less