/Email-Catcher

A pixel art casual game about catching emails based on Stage.js.

Primary LanguageJavaScriptOtherNOASSERTION

Introduction

A pixel(mosaic) art casual game about catching emails based on Stage.js.

It's stupidly simple that there’s just one rule,

which a player uses the directional keys to catch more emails

as far as possible from the top down.

The game is over when the emails stack up to the top of the playing field.

In order to get more fun, you can replace the player texture with Doge 🐕 , Yuukiti 🐻 or Cosmo 🐱.

In addition to fun, it has an important feature:

Racing with a simple scoring system.

Click here to play now and discover more!

Controls

Keyboard controls

  • Enter - Start
  • Horizontal Arrow - Move your role
  • Spacebar - Set off a bomb
  • Esc / P - Pasue or Resume

Gamepad controls

  • Start - Start, Pasue or Resume
  • Left Stick / dPad - Move your role
  • X/Y/A/B - Set off a bomb

Running on local

Install

$ brew install node
$ npm install -g gulp

$ git clone git@github.com/SuneBear/Email-Catcher.git
$ cd Email-Catcher
$ npm install

Startup: development

$ gulp
$ gulp serve

Startup: production

$ gulp build
$ gulp serve-build

Development Notes

It's written in JavaScript(ES6),

built with Gulp and runs in modern browsers.

The path for core files of the game is client/game.

The web framework SBW is Work in Progress

and should be replaced with better framework

such as React and Cycle.

If you are viewing this repo,

I hope you don't judge me too harshly...

Maybe you need to read Stage.js Documentation

that helps you understand more clearly.

Feel free to give feedback and raise any issues : )

Dependencies

Front-end

  • Stage.js is a 2D HTML5 JavaScript library for cross-platform game development.
  • Howler.js is an audio library for the modern web.
  • jQuery write less, do more.
  • Virtual Dom Starter bare-bones virtual-dom starter using main-loop.
  • Keycode is a simple map of keyboard codes.
  • Lodash is a JavaScript utility library delivering consistency, modularity, performance.

Font

Launcher

  • Koa is expressive middleware for node.js using generators.

Built & Translators

  • Gulp is the streaming build system.
  • Babel is a compiler for writing next generation JavaScript.
  • Stylus a revolutionary new language, providing an efficient way to generate CSS.

References

License

This work is licensed under the BSD license.