Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@phaserjs/create-game

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phaserjs/create-game

Create a new Phaser game project from a template

  • 1.0.1
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Create Phaser Game

image

One of the easiest ways to get started quickly with Phaser is by using our create-phaser-game app. This is a CLI tool that presents a selection of official project templates and demo games, allowing you to get started quickly with everything set up for you.

You can pick from any of the following templates:

FrameworksBundlers
Vue.jsVite
ReactRollup
AngularParcel
Next.jsWebpack
SolidJSESBuild
SvelteImport Map

Most of these come in both JavaScript and TypeScript versions, and the tool will present this option to you when available.

How to use

To create a new local game template interactively, use one of the following terminal commands:

> npm create @phaserjs/game@latest
> npx @phaserjs/create-game@latest
> yarn create @phaserjs/game
> pnpm create @phaserjs/game@latest
> bunx create @phaserjs/game@latest

If you would like to pass the project/folder name and skip this step of the tool, you can do so on as a parameter to the create command:

> npm create @phaserjs/game@latest folder-name

The tool will then ask you a series of questions to allow you to configure your game template.

Once installed you can modify the template settings and check its own README.md file for further instructions.


Phaser Studio

Created by Phaser Studio Inc.

Keywords

FAQs

Package last updated on 27 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc