Skip to content
This repository

Akihabara framework

branch: master

Revert "changed accx/y/z to vel... var names as well as the handleAcc…

…elerationa method to handleVelocity"

This reverts commit dd1e0cc.

This was merged but just found that it breaks the experimental-demo-tlos
enemies bouncing when hit, so I'm reverting until we find what was
causing the problem.
latest commit 052d86c75e
Willian Molinari PotHix authored
Octocat-spinner-32 dependencies Renaming jsdoc folder January 25, 2012
Octocat-spinner-32 images Changing images path to a separate folder. December 30, 2011
Octocat-spinner-32 src Revert "changed accx/y/z to vel... var names as well as the handleAcc… December 12, 2012
Octocat-spinner-32 test Implementing gbox tests. February 05, 2012
Octocat-spinner-32 .gitignore Renaming jsdoc folder January 25, 2012
Octocat-spinner-32 .gitmodules jsdoc repo moved, update .gitmodules March 18, 2012
Octocat-spinner-32 .jshintrc Adding new modules to AkihabaraInterface February 06, 2012
Octocat-spinner-32 GPL-LICENSE.txt Adding README and license files May 13, 2011
Octocat-spinner-32 MIT-LICENSE.txt Adding README and license files May 13, 2011
Octocat-spinner-32 Makefile Moving AkihabaraHelp to AkihabaraHelpers, also moving help.js to help… February 04, 2012
Octocat-spinner-32 README.markdown Updating readme with the new commands. January 25, 2012


Akihabara is a set of libraries, tools and presets to create pixelated indie-style 8/16-bit era games in Javascript that runs in your browser without any Flash plugin, making use of a small small small subset of the HTML5 features, that are actually available on many modern browsers.

Notes about audio features

  • Audio compatibility is Work in progress
  • Firefox stable has little audio caching problem/slowdowns and sometime freezes - can't figure out if is plugin's fault. Seems fixed on nightly builds. Audio is not marked as experimental.
  • For compatibility with Safari, every audio file used for games MUST be more than 1.5 seconds long. Add silence to reach the 1.5secs length.
  • Safari is having troubles on downloading audio for unknown reasons. Seems fixed on nightly builds. For now AUDIO IS EXPERIMENTAL.

Notes for developers

  • For maximum compatibility make sure that you're using the ["name"] for when setting object properties with reserved names like "goto" and "data" (Discovered during patching for Wii)
  • Also do not use the comma after the last element of an array or a property of an object. Still work on many browsers but is broken for Opera Wii. (and probably IE, when will be supported)
  • For making sure that your sub-scripts are loaded, try to add an "alert" at the end. Opera for Wii silently fail when there are syntax errors like the one explained before.
  • Opera Wii wants that canvas have to be blitted at least once before being used - or fails with a browser crash! The built-in gbox.createCanvas was already fixed. Is a good thing to use that method for spawning canvas.

Running tests

Just run the runner.html on test directory.

Generating Documentation

Just run make doc command. The documentation will be generated on the doc directory.

Mailing List


  • For more informations follow our Wiki

Legal informations

The initial akihabara code was made by Fracesco Cottone ( as an open source project dual licensed by MIT and GPL.

Special Thanks

These guys deserves an special thanks:

  • Carlos Benitez form EtnasSoft ( for all patches and helping on Akihabara development.
  • Darren and Darius for the initial not finished documentation and the tutorials, it helped a lot on the for the first version.
  • Rafael Masoni for helping on Akihabara website and game assets.
Something went wrong with that request. Please try again.