Jump to content

Phaser 0.5 Released


Recommended Posts



First we have just released Phaser. Phaser is a light-weight 2D HTML5 game framework based heavily on Flixel. Indeed it started life called Flixel5 but was renamed to avoid any potential confusion  The current feature list is pretty comprehensive:


  • Asset Loading Images, Sprite Sheets, Texture Packer Data, JSON, Text Files, Audio File.
  • Cameras Multiple world cameras, camera scale, zoom, rotation, deadzones and Sprite following.
  • Sprites All sprites have physics properties including velocity, acceleration, bounce and drag. ScrollFactor allows them to re-act to cameras at different rates.
  • Groups Group sprites together for collision checks, visibility toggling and function iteration.
  • Animation Sprites can be animated by a sprite sheet or Texture Atlas (JSON Array format supported). Animation playback controls, looping, fps based timer and custom frames.
  • Collision A QuadTree based Sprite to Sprite, Sprite to Group or Group to Group collision system.
  • Particles An Emitter can emit Sprites in a burst or at a constant rate, setting physics properties.
  • Input Keyboard and Mouse handling supported (Touch coming asap)
  • Stage Easily change properties about your game via the stage, such as background color, position and size.
  • World The game world can be any size and Sprites and collision happens within it.
  • Sound (partial support) Currently uses WebAudio for playback. A lot more work needs to be done in this area.
  • State Management For larger games it’s useful to break your game down into States, i.e. MainMenu, Level1, GameOver, etc. The state manager makes swapping states easy, but the use of a state is completely optional.
  • Cache All loaded resources are stored in an easy to access cache, which can be cleared between State changes or persist through-out the whole game.
  • Tilemaps Support for CSV and Tiled JSON format tile maps is implemented but currently limited.




It’s not yet finished of course and there is still lots to do, but with Ludam Dare around the corner I wanted to get this out sooner rather than later. So please download it, try it, kick it hard and let me know what you think.


You can run all the current tests here: http://gametest.mobi/phaser/ (note they are all designed for desktop, but Phaser does also work on mobile)


Download the full source here: https://github.com/photonstorm/phaser


We built Phaser using TypeScript, but you can easily use plain-vanilla JavaScript to create your games, indeed all of the Test cases were created that way. We’ve a number of exciting plans for Phaser in the near future, so definitely stay tuned!

Link to comment
Share on other sites

Still a lot of work to do, but release early and get feedback is better than just sitting on this :)


I was really inspired by some of the feature sets of frameworks like smoothStep2D, I loved the way they supported Particle Designer, so I definitely want to try stuff like that too.

Link to comment
Share on other sites

Re kiwi. That will still (eventually) be released, but is out of my control. Think of this like Kiwi Lite. The full framework is almost enterprise grade in scope now. But I am committed to Phaser too, it won't languish or be forgotten.

Link to comment
Share on other sites


  • Recently Browsing   0 members

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