rich

Phaser 2.5.0 Released

Recommended Posts

phaser-250-released.png

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.

Share this post


Link to post
Share on other sites

This is awesome. I'm loving the new README page as well. Header images are super nice.  Great new group methods too, just a bunch of new stuff. It's really tempting to upgrade from 2.4.3! Great work everyone and most importantly Rich, this framework is amazing.

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.