rich

Phaser 0.9.2 Update

Recommended Posts

Yes, another one :)

 

  • Fixed issue with create not being called if there was an empty init method.
  • Added ability to flip a sprite (Sprite.flipped = true) + a test case for it.
  • Added ability to restart a sprite animation.
  • Sprite animations don't restart if you call play on them when they are already running.
  • Added Stage.disablePauseScreen. Set to true to stop your game pausing when the tab loses focus.

https://github.com/photonstorm/phaser

Share this post


Link to post
Share on other sites

These are some of the features of Flixel that are really great to have and I was going to post about them but you've fixed them before I could even complain!

 

One thing that the tests don't show how to do is use inheritance to create a subclass of Sprite outside of Phaser namespace.

 

For example, if you've got a Player character and you want that to be a class that inherits from Sprite but has it's own set of actions. You can see how that's done looking at the Sprite class, but I'm sure it's just a small modification outside of the Phaser namespace.

Share this post


Link to post
Share on other sites

I'm currently a dedicated Flixel user, but it feels like the writing is on the wall for Flixel and Flash to some extent. Really liking what I'm seeing from Phaser and looking forward to 1.0.

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.