The latest release of Phaser 3 is out. The entire codebase now passes eslint, iOS blend mode fixes, physics circle fixes and more.

Article by Richard Davey. Posted on 20th Feb 2018.   @photonstorm

image

Today we released Phaser 3.1.1. This is a point-release, meaning none of the public-facing API changed and focused on our continued effort to stamp on bugs as quickly as we can.

  • The entire codebase now passes our eslint config (which helped highlight a few errors), if you're submitting a PR, please ensure your PR passes the config too.
  • The Web Audio Context is now suspended instead of closed to allow for prevention of 'Failed to construct AudioContext: maximum number of hardware contexts reached' errors from Chrome in a hot reload environment. We still strongly recommend reusing the same context in a production environment. See this example for details. Fixes #3238 (thanks @z0y1 @Ziao)
  • The Webpack shell plugin now fires on onBuildExit, meaning it'll update the examples if you use webpack watch (thanks @rblopes)
  • Added root: true flag to the eslint config to stop it scanning further-up the filesystem.

Plus lots more.

Grab the latest build from GitHub, npm or CDN and as usual see the full Change Log for details.

Download