Phaser (game framework)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Phaser
Developer(s)Photon Storm
Stable release
2.6.2 / 26 August 2016; 2 years ago (2016-08-26)
Preview release
3.0.0 Beta 18 / 15 January 2018; 10 months ago (2018-01-15)
Written inJavaScript, TypeScript
TypeGame engine
LicenseMIT License
Websitephaser.io

Phaser is a free software 2D game framework for making HTML5 games for desktop and mobile.[1] It was created by Photon Storm.[2]

Phaser uses both a Canvas and WebGL renderer internally and can automatically swap between them based on browser support. This allows for fast rendering across desktop and mobile. It uses the Pixi.js library for rendering.

Games can be compiled to iOS, Android and native desktop apps via 3rd party tools like Apache Cordova.[3]

Overview[edit]

The only requirement to use Phaser is a web browser that supports the <canvas> html tag. For desktop this includes Chrome, Firefox, Safari, IE9+ and Opera. Development can be done in either JavaScript or TypeScript[4].

Some of the elements available are:[5]

  • Images, spritesheets and tweens - Static and dynamic images, and a mechanism to animate them.
  • Input control
  • Game Physics - Phaser includes three main physics engines.

The Phaser website includes extensive documentation.[6] It also hosts several official tutorials,[7] and there are many other independently written.[8] Finally there is a big section of examples to show the different features.[9]

History[edit]

Richard Davey announced the first release of Phaser on a blog post on April 2013.[10] Version 1.0 was released on September, incorporating the Pixi.js library for rendering.[11]

The last official version of Phaser 2 was 2.6.2, but to allow improvements to the stable version while working on Phaser 3, a new repository was created: Phaser CE (Community Edition).[12] Phaser CE is thus the currently recommended stable platform for development with Phaser.

Phaser 3.0.0 was released on February 13, 2018 and development is ongoing on Github[13]. Most elements and features of the framework have been rebuilt from scratch using a fully modular structure and data-orientated approach. Phaser 3 includes a brand-new custom WebGL renderer designed for modern 2D games. Much of the documentation and examples for users has yet to be completed, although the majority of features have already been implemented.

Usage[edit]

Phaser has been used to create many games for the web and mobile,[14] some of them becoming quite popular.[15][16]

Recently it has even been used to develop games for Android TV.[17]

See also[edit]

References[edit]

  1. ^ https://www.javascripting.com/view/phaser
  2. ^ https://gamedevelopment.tutsplus.com/articles/how-to-learn-the-phaser-html5-game-engine--gamedev-13643
  3. ^ https://github.com/photonstorm/phaser
  4. ^ https://phaser.io/tutorials/how-to-use-phaser-with-typescript
  5. ^ https://blog.intracto.com/create-fun-and-interactive-games-with-javascript-using-phaser.io
  6. ^ https://phaser.io/docs/2.6.2/index
  7. ^ https://phaser.io/learn/official-tutorials
  8. ^ https://phaser.io/learn/community-tutorials
  9. ^ http://phaser.io/examples
  10. ^ http://www.photonstorm.com/phaser/announcing-phaser-flixel-html5-and-our-adobe-max-session
  11. ^ http://www.photonstorm.com/phaser/phaser-1-0-and-the-journey-we-took-to-get-there
  12. ^ https://phaser.io/download/phaserce
  13. ^ photonstorm.com, Photon Storm -. "Phaser - The fast, fun and free HTML5 Game Framework". phaser.io. Retrieved 2018-05-15.
  14. ^ http://phaser.io/news/category/game
  15. ^ https://www.joshmorony.com/9-fun-html5-games-built-with-phaser/
  16. ^ https://phaser.io/games
  17. ^ http://www.emanueleferonato.com/2018/01/15/play-stack-the-crates-on-your-android-tv-probably-the-first-phaser-game-running-on-android-tv/

External links[edit]