Skip to content

Latest commit

 

History

History
executable file
·
94 lines (80 loc) · 3.09 KB

README.md

File metadata and controls

executable file
·
94 lines (80 loc) · 3.09 KB

BreakIt

BreakIt is a free GNU/GPL game written in HTML5/JavaScript and created for learning purpose. French speaking developpers can get a step by step tutorial here : http://www.insertafter.com/articles-html5_casse_brique.html . English version will come soon.

You can test it on : http://breakit.insertafter.com/index.html

Requirements

  • Modern web browser (Chrome, Firefox ...)
  • NodeJS + npm install websocket
  • Libs : RequireJS, Commandor, Sounds.

Building

Web :

# Requirements
npm install -g requirejs
./libs.sh
# Build
./build.sh
# Dev
./dev.sh

Android : Reach the bin dir

cd materials/android/bin

Generate the key :

keytool -genkey -v -keystore breakit-key.keystore -alias breakit -keyalg RSA -keysize 2048 -validity 10000

Build for release :

cd ../
ant release
cd bin

Sign, then align :

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore breakit-key.keystore Breakit-release-unsigned.apk breakit
zipalign -v 4 Breakit-release-unsigned.apk Breakit-release-signed.apk

Launching

node server.js

Testing

npm install -g request mocha; mocha tests/*.mocha.js

Sounds

License

Copyright Nicolas Froidure 2013.

Contributors

  • jonathankowalski
  • zigrintchou
  • nfroidure

Sounds

License

This program excluding it's sounds is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/