Giter VIP home page Giter VIP logo

overlord-xenu's Introduction

Phaser Bootstrap

This is a basic bootstrap to start developing games using the HTML5 game framework, Phaser.

Originally made for the SESA Game Jam 2014 by Chris Morgan.

Setup

To use this bootstrap you’ll need to install a few things before you have a working copy of the game.

1. Clone this repo:

Navigate into your workspace directory.

Run:

git clone [email protected]:ausesa/phaser-bootstrap.git

Windows users will need to install git. Despite my hatred for graphical clients, I recommend the Github client.

2. Install node.js and npm:

This can usually be done in one step, see here for details.

Windows users will have a harder time, but there are install instructions on the site.

3. Install grunt and the bootstrap requirements:

Windows users, open up the node.js terminal client to do this. Also, you might not have to use sudo.

Navigate to the cloned repo’s directory.

Run:

sudo npm install -g grunt-cli

npm install

4. Complile the CoffeeScript:

Run:

grunt coffee

This will compile all the .Coffee files in the src directory into build/game.js.

5. Run the server:

Run:

node server.js

This will run a server so you can run the game in a browser.

Open your browser and enter localhost:12345 into the address bar.

Grunt

To constantly compile the CoffeeScript, run:

grunt watch

This will watch the files in the src folder, if they change it will recompile them and output any errors that occur.

Resources

Here are some documentation links to help you with development and debugging:

Have fun!

overlord-xenu's People

Contributors

drpotato avatar phoglenix avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.