Giter VIP home page Giter VIP logo

create-game's Introduction

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:

Frameworks Bundlers
Vue.js Vite
React Rollup
Angular Parcel
Next.js Webpack
SolidJS ESBuild
Svelte Import 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.

create-game's People

Contributors

gammafp avatar photonstorm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.