Phaser js is awesome HTML5 game engine for webrowsers. Using it, you can write a your game using HTML5 technologies. Under the skin we have pixi.js lib which uses WebGL or canvas for rendering. With Phaser.js creating games is super fabulous.

Requirements

  • Go through the Phaser.js Getting Started Guide, it will show you how to download the framework, set up a local development environment, and give you a glimpse of the structure of a Phaser project and its core functions.
  • Basic knowledge of Ruby on Rails, Asset pipline and Coffee Script.

The Game

The whole game will be mountable Rails Engine. Thanks to this I will be able to add it to the header of my blog instead dynamic pattern. For graphics I will use free kenney platformer assets.

kenney

In game you will be able to move through map, jump, place bombs and chat with other people. Bombs can hurt other players and monsters. The multiplayer server will be written using eventmachine and websocket for communication.

Source code

  • Last update: ( almost 3 years ago )
  • Size: 128 Bytes

Comments

Verbile on August 17, 2014 13:43

No problem. Its very rough right now, but soon I will be working on it again. Looking forward to your future posts! Starred your repo on GitHub, PM me if you'd ever like to work on something together :D

macbury on August 17, 2014 13:05

Thank you! It will be helpful.

Verbile on August 16, 2014 23:39

Not to self plug here, but I've been doing something similar to what you have started. It's my first real Ruby & Rails project, and I've also found a nice way to blend Phaser, Rails and a JSON server into what I hope to be a fun game. Take a look, might be of interest to you! I've been on a lull from working on it as I'm in the middle of a move- but that's almost over! (Thank goodness)https://github.com/pdaily/r...