Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Phaser 2.5.0 Released


Recommended Posts


Phaser 2.5.0 is the latest release of Phaser, and represents another significant milestone in the evolution of the framework in 2016. It was previously released as 2.4.9. However we appreciate that we haven't been following the semver code strictly enough, and that this version (and most before it!) actually contains some significant MINOR level functionality, not just PATCH level. So we've bumped the version number accordingly.

We have updated the GitHub README with a brand new layout, which should help those new to Phaser. The Phaser Sandbox and all Phaser Examples are also now running under 2.5.0.

As well as fixing a number of issues, there are some genuinely useful new features added in this release. Not least of which includes the new Weapons Plugin, making creating bullet pools a couple lines of code. Don't worry, it's also easy to exclude from custom builds too.

There are also some subtle but significant updates to Groups. The createMultiple method has had a nice overhaul, now able to take Arrays of image keys and frames. Group.align allows you to align the children of a Group in a grid formation, with the dimensions and spacing of the grid under your control.

Continuing from that theme: all Game Objects (such as Sprites and Text) now have a two new methods. alignIn allows you to easily align Game Objects within another Game Object or Rectangle. This is a great way to easily align a Sprite into the corner of the world, or another Sprite. To go with this is alignTo. It works in a similar way, but lets you align Game Objects next to each other.

It's small changes like this that reduce the overall code of your game, and let you focus on just building it quicker. Of course there are lots of other enhancements in this release, so be sure to check the Change Log to see what else is in store.

Link to comment
Share on other sites

Thank you for the awesome update! 

Sadly, issues I posted about previously are still there ...

I've tried setting up tweens, as well as frame by frame animations, and I've noticed that when resizing the browser window, or changing orientation on a device, sometimes the tweens/animations get stuck / don't finish. This happens on all browsers I've tried + both iOS and Android.

I'm happy to help and provide more test cases if needed (I send one on Github).

Thanks again!

Link to comment
Share on other sites

  • 2 weeks later...
  • rich unpinned this topic

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...