Socket
Socket
Sign inDemoInstall

@phaserjs/create-game

Package Overview
Dependencies
37
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @phaserjs/create-game

Create a new Phaser game project from a template


Version published
Weekly downloads
184
decreased by-15.6%
Maintainers
2
Created
Weekly downloads
 

Readme

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

Last updated on 27 Mar 2024

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc