Skip to content

A platformer game development kit with Prism and Phaser

License

Notifications You must be signed in to change notification settings

VanyaNeytrino/truffle-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prism-js

A Prism template for JavaScript development with Phaser

Example serving with Kemal:

2016-10-28 22:58:15 +0200 200 GET /style/main.css 65.6µs
2016-10-28 22:58:15 +0200 200 GET /script/phaser.min.js 542.2µs
2016-10-28 22:58:15 +0200 200 GET /script/game.js 31.8µs
2016-10-28 22:58:15 +0200 200 GET /assets/profile.png 81.6µs

Installation

Add this to your application's shard.yml:

dependencies:
  prism:
    github: teasquat/prism

Usage

require "prism"

To setup basic Phaser things:

$ make setup

To build server binary and TypeScript files:

$ make

To run server:

$ make run

If running into weird stuff:

sudo ln -s /usr/bin/nodejs /usr/bin/node

Development

- Add socket-based connections to Phaser (for multiplayer)

- Add database handling

- Add TypeScript *framework* for online-multiplayer/highscore/saves etc.

- Implement templates for different example games

- Add possibility of *Electron* desktop apps

- Get hyped and make nice web-based games

Contributing

  1. Fork it ( https://github.com/teasquat/prism-js )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • nilq Lord Niels N. Horn - crystal cooking

  • snillerboy William Kattrup - crystal cooking, Phaser magic

  • FuzzyLitch Emile - UDP wizard

About

A platformer game development kit with Prism and Phaser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 37.4%
  • Crystal 37.0%
  • HTML 21.9%
  • CSS 2.2%
  • Makefile 1.5%