phaser3-cli

0.2.5 • Public • Published

Phaser3 CLI

Imgur

dependencies Status npm GitHub issues


The Goal of Phaser3 CLI

Accelerate your development time, phaser 3 CLI bridles you tools so you can create more in less time. We know you like to focus on what matters most your game so we make it easy for you to set up.

Getting Started - Local Development

Prerequisites

  • Make sure that you have Node 10.9 or later installed. See instructions here.

Installation

To get started locally, follow these instructions:

  1. Install Phaser3 CLI with:
> npm i -g phaser3-cli

Usage

  1. Create a new project:
> phaser new mygame
  1. Going to folder
> cd mygame
  1. Start the server
> phaser serve

You can add a scene with:

> phaser add scene <sceneName>

Android

¡Important: You need have installed Android Studio!

You can add a android project with capacitor:

  1. Add capacitor android project
> phaser add android
  1. Build your android project (Android Studio):
> phaser build android
  1. Update your project when you modify your game files
> phaser android copy

Web

You can build your web package with:

> phaser build 

And enjoy you game dev :D

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i phaser3-cli

    Weekly Downloads

    0

    Version

    0.2.5

    License

    MIT

    Unpacked Size

    42.9 kB

    Total Files

    39

    Last publish

    Collaborators

    • gammafp