Phaser is a JavaScript framework for game development on desktop and mobile platforms. This tag can be used for all versions of Phaser.
Phaser is a JavaScript framework for game development on desktop and mobile platforms. If the device is capable, then it uses WebGL for rendering; otherwise, it fallbacks to Canvas. It's just plain JavaScript, and doesn't use any faux OO-style practices internally. There's no massive inheritance chain or component system, and you don't have to force your objects into any fixed class structure, either. It's a simple, straightforward prototype chain, the way JavaScript was meant to be used. Phaser relies 100% on community backing to fund its development.
Version Details as of September 2020:
- Latest (Community-lead): Phaser CE 2.16.0
- Latest (Next-generation): Phaser 3.24.1
Note
Phaser is available in two versions: Phaser 3 and Phaser CE - The Community Edition. Phaser CE is a community-lead continuation of the Phaser 2 codebase and is hosted on a separate repo. Phaser 3 is the next generation of Phaser.
Requirements
Games created with Phaser require a modern web browser that supports the canvas tag. This includes Internet Explorer 9+, Firefox, Chrome, Safari and Opera. It also works on mobile web browsers including stock Android 2.x browser and above, and iOS5 Mobile Safari and above. But, as always, be aware of browser limitations. Not all features of Phaser work on all browsers.
Features
- Supports both TypeScript & JavaScript
- Uses WebGL & Canvas Technologies
- Asset Preloader
- Built-in Physics Engine
- Sprites Support
- Animation using Sprite Sheets
- Built-in Particle Engine
- User Input Handling
- In-game Camera
- Supports HTML5 Sound
- Optimized for mobile
- Plugins to extend the core features