{"schemaVersion":"1.0","record":{"label":"Phaser","description":"MIT-licensed JavaScript/TypeScript framework for 2D browser games, with native packaging dependent on external tools.","aliases":["Phaser.js","PhaserJS"],"kind":"software","website":"https://phaser.io/","overview":"Phaser is an MIT-licensed JavaScript framework for 2D games, focused on desktop and mobile browsers. It provides game-system building blocks and TypeScript definitions. Its scope is a programmable web-game runtime rather than a complete no-code editor or a built-in 3D engine.","license":"MIT","lifecycle":"active","example":false,"features":[{"name":"2D browser runtime","status":"supported","detail":"Phaser targets desktop and mobile browsers with web rendering.","useCase":"Building an embedded or standalone browser game","platforms":["Web"],"region":"Unspecified","evidence":[{"url":"https://docs.phaser.io/phaser/getting-started/what-is-phaser","locator":"Web focus; 2D scope; unsuitable use cases","retrievedAt":"2026-10-06T13:07:53Z","kind":"vendor"}]},{"name":"JavaScript and TypeScript development","status":"supported","detail":"The framework uses JavaScript APIs and TypeScript definitions; official templates integrate with web-app frameworks.","useCase":"Code-first web-game development","platforms":["Web"],"region":"Unspecified","evidence":[{"url":"https://docs.phaser.io/phaser/getting-started/what-is-phaser","locator":"Web focus; 2D scope; unsuitable use cases","retrievedAt":"2026-10-06T13:07:53Z","kind":"vendor"},{"url":"https://github.com/phaserjs/phaser/blob/master/README.md","locator":"API features; templates; Phaser 4 migration","retrievedAt":"2026-10-06T13:08:57Z","kind":"vendor"}]},{"name":"Game-system building blocks","status":"supported","detail":"The README documents scenes, asset loading, Arcade/Matter physics, input, animation, tilemaps and cameras.","useCase":"Avoiding a from-scratch 2D runtime","platforms":["Web"],"region":"Unspecified","evidence":[{"url":"https://github.com/phaserjs/phaser/blob/master/README.md","locator":"API features; templates; Phaser 4 migration","retrievedAt":"2026-10-06T13:08:57Z","kind":"vendor"}]},{"name":"Native app distribution","status":"limited","detail":"The documentation describes mobile and desktop packaging through third-party tools rather than the library alone.","useCase":"Shipping a web game as a native application","platforms":["Windows","macOS","Linux","Android","iOS"],"region":"Unspecified","evidence":[{"url":"https://docs.phaser.io/phaser/getting-started/what-is-phaser","locator":"Web focus; 2D scope; unsuitable use cases","retrievedAt":"2026-10-06T13:07:53Z","kind":"vendor"}]},{"name":"Built-in 3D engine","status":"unsupported","detail":"The introduction explicitly says 3D rendering and physics are not built in; external integrations are a separate choice.","useCase":"Developing a fully 3D game","platforms":["Web"],"region":"Unspecified","evidence":[{"url":"https://docs.phaser.io/phaser/getting-started/what-is-phaser","locator":"Web focus; 2D scope; unsuitable use cases","retrievedAt":"2026-10-06T13:07:53Z","kind":"vendor"}]},{"name":"No-code or modern-console workflow","status":"unsupported","detail":"The official introduction identifies no-code creation and modern-console publishing as unsuitable core use cases.","useCase":"Replacing a visual editor or console engine","platforms":["Web"],"region":"Unspecified","evidence":[{"url":"https://docs.phaser.io/phaser/getting-started/what-is-phaser","locator":"Web focus; 2D scope; unsuitable use cases","retrievedAt":"2026-10-06T13:07:53Z","kind":"vendor"}]},{"name":"Commercial source use","status":"supported","detail":"MIT licensing permits use and modification with required copyright/license notices.","useCase":"Shipping or adapting a game framework","platforms":["Web"],"region":"Unspecified","evidence":[{"url":"https://github.com/phaserjs/phaser/blob/master/LICENSE.md","locator":"MIT license","retrievedAt":"2026-10-06T13:09:12Z","kind":"vendor"}]},{"name":"Cross-major renderer migration","status":"limited","detail":"The README says Phaser 4 replaces the v3 rendering pipeline and links migration guidance. Familiar APIs do not establish compatibility for custom renderer code.","useCase":"Upgrading an existing Phaser game","platforms":["Web"],"region":"Unspecified","evidence":[{"url":"https://github.com/phaserjs/phaser/blob/master/README.md","locator":"API features; templates; Phaser 4 migration","retrievedAt":"2026-10-06T13:08:57Z","kind":"vendor"}]}],"alternatives":[],"slug":"phaser","draftAlternatives":[{"targetSlug":"godot","status":"limited","detail":"Can replace a game-engine runtime for new browser-first 2D games when JavaScript/TypeScript development is acceptable; it does not replace the visual editor or built-in 3D workflow.","useCase":"New 2D browser games","platforms":["Web"],"region":"Unspecified","evidence":[{"url":"https://docs.phaser.io/phaser/getting-started/what-is-phaser","locator":"Web focus; 2D scope; unsuitable use cases","retrievedAt":"2026-10-06T13:07:53Z","kind":"vendor"},{"url":"https://github.com/phaserjs/phaser/blob/master/README.md","locator":"API features; templates; Phaser 4 migration","retrievedAt":"2026-10-06T13:08:57Z","kind":"vendor"},{"url":"https://godotengine.org/features/","locator":"Scene design; scripting; 2D/3D; exports","retrievedAt":"2026-10-06T13:01:21Z","kind":"vendor"}]}],"evidence":[{"url":"https://docs.phaser.io/phaser/getting-started/what-is-phaser","locator":"Web focus; 2D scope; unsuitable use cases","retrievedAt":"2026-10-06T13:07:53Z","kind":"vendor"},{"url":"https://github.com/phaserjs/phaser/blob/master/README.md","locator":"API features; templates; Phaser 4 migration","retrievedAt":"2026-10-06T13:08:57Z","kind":"vendor"},{"url":"https://github.com/phaserjs/phaser/blob/master/LICENSE.md","locator":"MIT license","retrievedAt":"2026-10-06T13:09:12Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://docs.phaser.io/phaser/getting-started/what-is-phaser","locator":"Web focus; 2D scope; unsuitable use cases","retrievedAt":"2026-10-06T13:07:53Z","id":"intro","title":"What is Phaser?","kind":"vendor"},{"url":"https://github.com/phaserjs/phaser/blob/master/README.md","locator":"API features; templates; Phaser 4 migration","retrievedAt":"2026-10-06T13:08:57Z","id":"readme","title":"Phaser framework README","kind":"vendor"},{"url":"https://github.com/phaserjs/phaser/blob/master/LICENSE.md","locator":"MIT license","retrievedAt":"2026-10-06T13:09:12Z","id":"license","title":"Phaser MIT license","kind":"vendor"}],"overviewCitations":["intro","readme","license"],"licenseCitations":["license"],"sections":[{"id":"development","heading":"Code-driven game development","paragraphs":[{"id":"systems","content":[{"text":"The framework supplies scenes, loading, input, animation, cameras, tile maps and physics systems, including Arcade and Matter. Developers assemble those systems through JavaScript APIs rather than expecting a visual event-sheet workflow. TypeScript definitions and official templates support integration with contemporary web projects."}],"citations":["readme"]},{"id":"authoring-scope","content":[{"text":"The official introduction explicitly distinguishes Phaser from no-code creation tools. A switch from a visual engine therefore changes the authoring process, not merely the runtime library. The team must be comfortable implementing game structure and behavior in code."}],"citations":["intro"]}]},{"id":"platforms","heading":"Platform and rendering scope","paragraphs":[{"id":"browser-first","content":[{"text":"Browser distribution is the primary fit. Mobile or desktop application packaging uses additional third-party tooling, so a native application is not delivered by the framework alone. Such a route adds packaging requirements beyond writing the game."}],"citations":["intro"]},{"id":"three-d","content":[{"text":"Built-in 3D rendering and physics are outside the documented scope, and the introduction identifies modern-console publishing as an unsuitable core use case. External integrations are separate choices, not evidence that Phaser itself provides those capabilities."}],"citations":["intro"]}]},{"id":"migration","heading":"Versions and migration","paragraphs":[{"id":"renderer","content":[{"text":"The README describes Phaser 4 as replacing the version 3 rendering pipeline and points to migration guidance. Familiar high-level APIs do not guarantee that custom rendering code survives a major-version change. Version choice and renderer integration should be part of planning an existing project's upgrade."}],"citations":["readme"]}]},{"id":"license","heading":"Licensing","paragraphs":[{"id":"terms","content":[{"text":"The MIT license permits commercial use, modification and redistribution with the required copyright and license notices. These permissions apply to the framework; they do not establish rights in art, music or third-party assets included in a game, nor eliminate the conditions of separate packaging tools or services."}],"citations":["license"]}]},{"id":"substitution","heading":"Substitution considerations","paragraphs":[{"id":"godot","content":[{"text":"Phaser is a candidate substitute for "},{"text":"Godot","targetSlug":"godot"},{"text":" for a new browser-first 2D game when direct JavaScript or TypeScript control is preferred. This is a runtime and development-stack comparison, not equivalence to Godot's integrated editor, scripting APIs or 3D workflow. Existing engine-specific code still needs adaptation."}],"citations":["intro","readme"]},{"id":"testing","content":[{"text":"No game was installed or benchmarked for this research. Documented web orientation supports the comparison scope, while actual browser performance and packaging behavior remain dependent on the project and its chosen toolchain."}],"citations":["intro","readme"]}]}]},"id":"Q341","revision":327,"updatedAt":"2026-10-11T20:08:58Z","sourceUrl":"https://substitutefor.net/entities/Q341?revision=327"}}