Coder Social home page Coder Social logo

web5design / bombs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from topheman/bombs

0.0 3.0 0.0 370 KB

HTML5 / Javascript game that takes advantage of the canvas element and the accelerometer on your device.

Home Page: http://bombs.topheman.com/

bombs's Introduction

TOPHEMAN BOMBS v2

#Introduction

Topheman Bombs is a free HTML5 / Javascript game that takes advantage of the canvas element and the accelerometer on your device.

And you can play offline (in the subway or whatever ...), or on your desktop browser via the emulator !

  • Tilt your device to manage the blue dot
  • Tap the screen to drop bombs on the enemies (red dots)
  • Grab the green dots to get more bombs

Topheman Bombs QR-Code

#Browser Compatibility

Topheman Bombs has been written so that you could play it on any platform, with the same source code. Even if you don't have any accelerometer on your desktop, a motion events emulator is provided (remote-tilt), via feature detection.

Tested on : Apple devices, Android 4+ Chrome / Firefox.

Won't work on windows phone devices (accelerometer APIs aren't exposed).

#Development

##Ball.js

The game is based on Ball.js, a JavaScript class that handles physics interactions between balls on a flat area (i.e. collisions) as well as rendering, I made in early 2012.

##Topheman Bombs v2

This is the second version of Topheman bombs. You can see the changelog here. The main changes are :

  • left phoneGap to be a full html5 game supporting both iOS and Android
  • offline gaming
  • optimized build files via requireJS (see the grunt workflow for that)
  • accelerometer emulator on desktop

##Grunt Workflow Boilerplate

In the end of 2013 first semester, after finishing boxboxevents, I was working on a game and I re-discovered grunt with the v0.4.

I explain my grunt workflow here with all the different tasks such as :

  • building
  • server testing
  • ftp deploying
  • creating html5 manifest
  • โ€ฆ

Feel free to take a look.

#Related

#License This software is licensed under Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) at http://creativecommons.org/licenses/by-nc/3.0/

bombs's People

Contributors

topheman avatar

Watchers

JT5D avatar James Cloos avatar  avatar

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.