Giter Site home page Giter Site logo

phaser3-cli's Introduction

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

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.