No description
Find a file
2024-11-14 16:34:01 +00:00
.github Removed slack link 2020-12-07 09:18:13 +00:00
changelog Update CHANGELOG-v3.87.md 2024-11-14 00:28:01 +00:00
config v4.0.0 Alpha 1 merge 2024-11-14 11:40:26 +00:00
dist v3.86.0 release 2024-10-11 14:32:30 +01:00
plugins v4.0.0 Alpha 1 merge 2024-11-14 11:40:26 +00:00
scripts v4.0.0 Alpha 1 merge 2024-11-14 11:40:26 +00:00
src v4.0.0 Beta 1 2024-11-14 16:34:01 +00:00
types v3.86.0 release 2024-10-11 14:32:30 +01:00
.editorconfig Remove eol setting, let git handle it 2020-09-11 10:16:25 +01:00
.eslintignore v4.0.0 Alpha 1 merge 2024-11-14 11:40:26 +00:00
.eslintrc.json v4.0.0 Alpha 1 merge 2024-11-14 11:40:26 +00:00
.gitattributes Added shaders to crlf 2020-11-05 09:09:16 +00:00
.gitignore Add plugins/spine4.1 (spine-runtimes 4.1) 2023-01-10 12:47:44 +08:00
.gitpod.yml Preparing for v3.80 release 2024-02-21 13:31:13 +00:00
.npmignore Added Spine Runtime build configs 2019-10-11 16:01:13 +01:00
.travis.yml Bump node version 2020-07-31 13:49:06 +01:00
CHANGELOG.md v3.86.0 release 2024-10-11 14:32:30 +01:00
CITATION.cff Update CITATION.cff 2024-10-10 21:17:01 +01:00
LICENSE.md Preparing for v3.80 release 2024-02-21 13:31:13 +00:00
package-lock.json Updated webpack 2024-02-21 13:22:36 +00:00
package.json v4.0.0 Beta 1 2024-11-14 16:34:01 +00:00
README.md v4.0.0 Beta 1 2024-11-14 16:34:01 +00:00

Phaser - HTML5 Game Framework

Phaser Banner

Discord JSDelivr GitHub

Phaser is a fast, free, and fun open source HTML5 game framework that offers WebGL and Canvas rendering across desktop and mobile web browsers and has been actively developed for over 10 years.

Games can be built for the web, or as YouTube Playables, Discord Activities, Twitch Overlays or compiled to iOS, Android, Steam and native apps using 3rd party tools. You can use JavaScript or TypeScript for development. Phaser supports over 40 different front-end frameworks including React and Vue.

Phaser is commercially developed and maintained by Phaser Studio Inc along with our fantastic open source community. As a result of rapid support, and a developer friendly API, Phaser is currently one of the most starred game frameworks on GitHub.

Interested in learning more? Click the image below to watch our intro video.

YouTube

v4 Beta Release

You are looking at the Beta Release of Phaser v4. There are large internal differences between Phaser v3 and v4, although the public API has remained largely, but not entirely, the same.

Please only use this release if you wish to help beta test Phaser v4.

Installing Phaser from NPM

Install via npm:

npm install phaser@beta

Phaser TypeScript Definitions

Full TypeScript definitions can be found inside the types folder. They are also referenced in the types entry in package.json, meaning modern editors such as VSCode will detect them automatically.

Depending on your project, you may need to add the following to your tsconfig.json file:

"lib": ["es6", "dom", "dom.iterable", "scripthost"],
"typeRoots": ["./node_modules/phaser/types"],
"types": ["Phaser"]

Have fun!

Grab the source and join the fun!

Phaser wouldn't have been possible without the fantastic support of the community. Thank you to everyone who supports our work, who shares our belief in the future of HTML5 gaming, and Phaser's role in that.

Happy coding everyone!

Cheers,

Rich and the whole team at Phaser Studio

boogie

Visit the Phaser website
Play some amazing games
Learn By browsing our API Docs, Support Forum and StackOverflow
Code Examples? We've over 2000 Examples to learn from
Read the weekly Phaser World Newsletter
Be Social: Join us on Discord and Reddit or follow us on Twitter

Powered by coffee, anime, pixels and love.

The Phaser logo and characters are © 2011 - 2024 Phaser Studio Inc.

All rights reserved.

"Above all, video games are meant to be just one thing: fun. Fun for everyone." - Satoru Iwata