Skip to content

Excalibur v0.10.0

Compare
Choose a tag to compare
@jedeen jedeen released this 08 Apr 02:19

image

Breaking Changes

  • Rename Engine.width and Engine.height to be Engine.canvasWidth and Engine.canvasHeight (#591) (thanks @rehlert95)
  • Rename Engine.getWidth and Engine.getHeight to be Engine.getDrawWidth and Engine.getDrawHeight (#591) (thanks @rehlert95)
  • Changed GameEvent to be a generic type for TypeScript, allowing strongly typing the target property. (#724)
  • Removed Body.useEdgeCollision() parameter center (#724)

Added

  • Added Engine.isPaused to retrieve the running status of Engine (#750) (thanks @SurajGoel)
  • Added Engine.getWorldBounds to provide a quick way to get the top left corner and bottom right corner of the screen (#729) (thanks @PurityLake)
  • Added predraw and postdraw events to Engine class. These events happen when prior to and after a draw (#744) (thanks @PurityLake)
  • Added Perlin noise generation helper ex.PerlinGenerator for 1d, 2d, and 3d noise, along with drawing utilities (#491)
  • Added font styles support for normal, italic, and oblique in addition to bold text support (#563)

Changed

  • Update project to use TypeScript 2.2.2 (#762)
  • Changed Util.extend to include Object.assign functionality (#763) (thanks @PurityLake)

Fixed

  • Update the order of the affine transformations to fix bug when scaling and rotating Actors (#770) (thanks @HSAR for bringing this to our attention)

Thanks as well to @asi7296 for working on strict compiler flags (#724)