Giter Site home page Giter Site logo

grunt-phaser-asset-loader's Introduction

Grunt-Phaser-Asset-Loader

Automatically creates Phaser simple load commands from a directory of assets.

Quick-Start Guide

  1. Install Node.js
  2. Open empty directory and install Grunt with npm install grunt --save-dev
  3. Put the Gruntfile.js and package.json files into that directory
  4. Create a folder called 'assets' in the same directory and put all of your images, sounds, spritesheets in there. The internal structure of the asset folder doesn't matter. The script will find all the files and their corresponding paths.
  5. Open a command line in that directory and run grunt or grunt default (it does the same thing)
  6. If all went right, you should see a green "Done, without errors" message in the log.
  7. There should be a directory called dest with a .js file with all the Phaser commands. Copy that into your game and get coding. =)

grunt-phaser-asset-loader's People

Contributors

mishashapo avatar

Stargazers

Dmitry Kuksinsky avatar

Watchers

James Cloos avatar  avatar Vasiliki Loukoumi avatar

Forkers

gruntjs-updater

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.