All Projects → julien → Generator Phaser

julien / Generator Phaser

Licence: mit
A yeoman generator for phaser games

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Generator Phaser

Phaser Node Kit
Rapid Game Development with PhaserJS and Node for Modern Browsers
Stars: ✭ 39 (-84.71%)
Mutual labels:  gamedev, phaser, phaserjs
Phaser
Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
Stars: ✭ 30,918 (+12024.71%)
Mutual labels:  gamedev, phaser, phaserjs
generator-phaser-browserify
A generator for Phaser using Gulp and Browserify
Stars: ✭ 36 (-85.88%)
Mutual labels:  yeoman, phaser, phaserjs
Phaser State Transition
State transition plugin for Phaser.js
Stars: ✭ 169 (-33.73%)
Mutual labels:  phaser, phaserjs
Phaser Examples
🎮 Game collections made by Phaser
Stars: ✭ 140 (-45.1%)
Mutual labels:  phaser, phaserjs
Ion Phaser
A web component to use Phaser Framework with Angular, React, Vue, etc 🎮
Stars: ✭ 152 (-40.39%)
Mutual labels:  phaser, phaserjs
Opensc2k
OpenSC2K - An Open Source remake of Sim City 2000 by Maxis
Stars: ✭ 4,753 (+1763.92%)
Mutual labels:  phaser, phaserjs
Phaser Ui Tools
Functions for creating a UI in Phaser. Rows, columns, viewports, scrollbars, stuff like that.
Stars: ✭ 187 (-26.67%)
Mutual labels:  phaser, phaserjs
Badsanta
BadSanta - Multiplayer HTML5 Game (http://santa.qake.se)
Stars: ✭ 97 (-61.96%)
Mutual labels:  gamedev, phaser
phaser-particle-editor-plugin
This plugin creates particles based on JSON data generated by Phaser Particle Editor
Stars: ✭ 28 (-89.02%)
Mutual labels:  phaser, phaserjs
dungeonz
Everything for the game Rogueworld.
Stars: ✭ 88 (-65.49%)
Mutual labels:  phaser, phaserjs
craft
Phaser Library with utility chainable functions
Stars: ✭ 27 (-89.41%)
Mutual labels:  phaser, phaserjs
Phaser Kinetic Scrolling Plugin
Kinetic Scrolling plugin for Canvas using Phaser Framework
Stars: ✭ 117 (-54.12%)
Mutual labels:  phaser, phaserjs
Slither.io Clone
Learn how to make Slither.io with JavaScript and Phaser! This game clones all the core features of Slither.io, including mouse-following controls, snake collisions, food, snake growth, eyes, and more. Progress through each part of the source code with our Slither.io tutorial series.
Stars: ✭ 168 (-34.12%)
Mutual labels:  phaser, phaserjs
Webpack Starter Basic
A simple webpack starter project for your basic modern web development needs.
Stars: ✭ 552 (+116.47%)
Mutual labels:  phaser, phaserjs
blocker
🎮 (WIP - phase 3) Multiplayer online game using Phaser + WebSocket (Socket.IO)
Stars: ✭ 48 (-81.18%)
Mutual labels:  phaser, phaserjs
Phaser3 Docs
Phaser 3 Documentation and TypeScript Defs
Stars: ✭ 339 (+32.94%)
Mutual labels:  phaser, phaserjs
Reldens
Reldens - You can make it - Open Source MMORPG Platform
Stars: ✭ 130 (-49.02%)
Mutual labels:  gamedev, phaser
phaser-starter
Minimal starter project to get a Phaser game environment up and running with ease.
Stars: ✭ 73 (-71.37%)
Mutual labels:  phaser, phaserjs
phaser-3-palette-swapping-example
Example of using palette swapping on a spritesheet in Phaser 3.
Stars: ✭ 32 (-87.45%)
Mutual labels:  phaser, phaserjs

generator-phaser

A Yeoman generator to create HTML5 games with Phaser. This generator allows for the creation of Phaser games with best practices. The main generator (yo phaser) outputs a basic Phaser game. You can also generate new prefabs (yo phaser:prefab) or states (yo phaser:state) to add to your project.

You can view your game in the browser by running npm start from the project's root directory and the web page will refresh as you save your files.

When you are ready to publish, build your game with npm run build and view the output in the build/ folder. The build process minifies and compresses individual files into one file for faster network downloading, the source code is transpiled to ES5 compatible JavaScript using Babel.

INSTRUCTIONS

  • Install Node.js

  • Install the required npm modules by issuing these commands:

    npm install -g yo generator-phaser

  • Create a new directory for your game:

    • Unix/OSX : mkdir ~/Desktop/mygame && cd $_
    • Windows : mkdir %USERPROFILE%\Desktop\mygame && cd %USERPROFILE%\Desktop\mygame
  • Invoke the generator:

    yo phaser

  • Invoke the state generator (Note: this updates & overwrites main.js):

    yo phaser:state

  • Invoke the prefab generator:

    yo phaser:prefab

  • Invoke the shader generator:

    yo phaser:shader

  • Run a local development server (livereload enabled) with this command:

    npm start

  • Package your game (i.e. minify css, html and js) with:

    npm run build

Notes

The game's main.js file will be updated with new states when you run the state generator. It adds in .js files found in the src/states/ directory.

CREDITS

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].