Coder Social home page Coder Social logo

geros / slush-phaser-plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rblopes/generator-phaser-plus

0.0 1.0 0.0 787 KB

A Slush generator for Phaser web game projects, packed with lots of good features.

Home Page: https://www.npmjs.com/package/slush-phaser-plus

License: MIT License

JavaScript 92.59% CSS 0.76% HTML 6.66%

slush-phaser-plus's Introduction

npm version Dependencies Travis CI Build Status

HIGHLY EXPERIMENTAL! A Slush generator for Phaser web game projects, packed with lots of good features.

Batteries included

Every project created with this generator includes the following tool-set:

The generated sample project is based on my phaser-plus-template and, using this generator, you always get a working project similar to that. In fact, that project began before slush-phaser-plus, and it is regularly updated with improvements and bug fixes. If you have questions regarding the sample project or want to contribute with suggestions or bug fixes, feel free to ask there.

Installation Instructions

Firstly, you need a development environment compatible with Node.js properly installed and configured in your system to use with this generator. After that, use npm to install slush-phaser-plus (and slush, if you didn't already), issuing the following commands on a terminal emulator:

npm install --global slush              # To install `slush`.
npm install --global slush-phaser-plus  # To install this generator.

Also, it's a good idea to have these installed too, as you may find them useful later:

npm install --global gulp   # A task manager and streaming build system.

Usage

Start by creating a new directory to host your new project contents and go inside it, then run slush-phaser-plus, issuing the following commands, like in the example below:

mkdir my-project  # Note: Replace 'my-project' with whatever you like.
cd my-project
slush phaser-plus

A brief questionnaire, asking you some details about your soon-to-be new game project, should appear. Answer every question to proceed with the project creation. slush-phaser-plus will take care of installing all project dependencies for you automatically.

Available sub-generators

slush-phaser-plus comes with some preset sub-generators to aid you in some common game development tasks with Phaser. To use any of these, just run slush-phaser-plus as you would, appending the name of your desired sub-generator.

$ slush phaser-plus:<sub-generator>

The following sub-generators are available, performing the tasks as described:

  • state : Generates Phaser.State classes.
  • object: Helps creating game objects from a set of base classes.
  • plugin: A boilerplate for your own Phaser plug-ins.

License

Source code distributed under the terms of the MIT License.

Did you know?

Slush is a tool that uses Gulp for project scaffolding.

Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.

To find out more about Slush, check out the documentation.

slush-phaser-plus's People

Contributors

rblopes avatar

Watchers

 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.