phaser-examples

Contains hundreds of source code examples and related media for the Phaser HTML5 Game Framework.

Github stars Tracking Chart

Phaser 2 Examples

Looking for Phaser 3 Examples? They are in their own repo.

Phaser v2 is a fast, free and fun open source HTML5 game framework. It uses Pixi.js for WebGL and Canvas rendering across desktop and mobile web browsers. Games can be compiled to iOS and Android apps via 3rd party tools.

Along with the fantastic open source community Phaser is actively developed and maintained by Photon Storm Limited. As a result of rapid support and a developer friendly API Phaser is currently one of the most starred game frameworks on Github.

Thousands of developers worldwide use it. From indies and multi-national digital agencies to schools and Universities. Each creating their own incredible games. Grab the source and join in the fun!

Visit: The Phaser website and follow on Twitter (#phaserjs)
Learn: API Docs, Support Forum and StackOverflow
Code: 700+ Examples (source available in this repo)
Read: Weekly Phaser World Newsletter
Chat: Slack and IRC
Extend: With Phaser Plugins
Be awesome: Support the future of Phaser

div

Phaser Sandbox

If you'd like to try coding in Phaser right now, with nothing more than your web browser then you can head over to the Phaser Sandbox. You'll find Quick Start templates and a user-friendly editor filled with handy code-completion features.

Source Code Examples

Ever since we started Phaser we've been growing and expanding our extensive set of source code examples. Currently there are over 700 of them!

You can browse the Phaser Examples online - or clone this repo so you've got the source code at hand locally.

License

Phaser is released under the MIT License.

Please note that this license does not cover the graphics or audio files that you will find located in this repository. None of them are to be used in commercial games.

div

Game Mechanic Explorer

The Game Mechanic Explorer is a great interactive way to learn how to develop specific game mechanics in Phaser. Well worth exploring once you've got your dev environment set-up.

Mighty Editor - Visual Game Editor

MightyEditor is a browser-based visual Phaser game editor. Create your maps with ease, position objects and share them in seconds. It also exports to native Phaser code. Excellent for quickly setting-up levels and scenes.

Written something cool that shows Phaser in use? Please tell us about it in our forum or email: support@phaser.io

div

storm

Phaser is a Photon Storm production.

Created by Richard Davey. Powered by coffee, anime, pixels and love.

The Phaser logo and characters are © 2017 Photon Storm Limited.

All rights reserved.

Analytics

Overview

Name With Ownerphaserjs/phaser-ce-examples
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 5)
Platform
License:Other
Release Count0
Created At2014-03-11 20:34:19
Pushed At2021-05-22 21:46:44
Last Commit At2018-10-11 09:49:11
Stargazers Count1.8k
Watchers Count137
Fork Count1.2k
Commits Count528
Has Issues Enabled
Issues Count100
Issue Open Count14
Pull Requests Count71
Pull Requests Open Count3
Pull Requests Close Count31
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top