Excalibur v0.10.0
Breaking Changes
- Rename
Engine.width
andEngine.height
to beEngine.canvasWidth
andEngine.canvasHeight
(#591) (thanks @rehlert95) - Rename
Engine.getWidth
andEngine.getHeight
to beEngine.getDrawWidth
andEngine.getDrawHeight
(#591) (thanks @rehlert95) - Changed
GameEvent
to be a generic type for TypeScript, allowing strongly typing thetarget
property. (#724) - Removed
Body.useEdgeCollision()
parametercenter
(#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 includeObject.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)