Giter Site home page Giter Site logo

vanyaneytrino / truffle-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teasquat/truffle-template

0.0 2.0 0.0 2.21 MB

A platformer game development kit with Prism and Phaser

License: MIT License

Makefile 1.46% Crystal 36.96% CSS 2.19% JavaScript 37.52% HTML 21.87%

truffle-template's Introduction

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

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.