Skip to content

escargotprodige/slush-luxe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slush-Luxe

The slush generator for the luxe engine

Installation

$ npm install -g slush
$ npm install -g slush-luxe

Usage

$ mkdir game
$ cd game
$ slush luxe

This will generate a new project

Structure

assets/
src/
|  Main.hx
project.flow
.gitignore

Generate a new component

$ slush luxe:component <name>

This will generate a new component in the src/components folder

Generate a new entity

$ slush luxe:entity <name>

This will generate a new entity in the src/entities folder

Generate a new game state

$ slush luxe:state <name>

This will generate a new game state in the src/states folder

Generate a gulpfile

$ slush luxe:gulp

This will create and install the dependencies of a basic gulpfile that you will be able to use to run a LiveReload server and publish your game on the web (with Github Pages)

To use it, make sure that you have gulp first.

$ gulp

Running this will:

  1. Create a LiveReload server at port 8080
  2. Open the site in your browser
  3. Listen for changes & execute haxelib run flow build web

To put your game on the web, just run:

$ gulp deploy

(assuming the source code is hosted on Github)

Want to contribute?

Anyone can contribute to this project!

About

slush generator for luxe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published