Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Akihabara

IMPORTANT NOTES! READ THIS!

We're moving in a new repository, more community friendly and more more more tidy. Is here!

https://github.com/akihabara

So start playing there!

What's Akihabara

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 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.

AkibaKa

Thought as a flexible and simple Akihabara resource editor, AkibaKa has been committed partially uncompleted due to lack of time. It should be functional enough but I hope that I'll start working on it again or (better) that someone will pick up the code and give it a spin! :)

Experimental features

These features are not available into the current stable version. Use this section as changelog for the next one.

  • Syncrhonous keyboard listener. You can use a function called each frame instead of the usual keyup/down listener for changing keyboard status, in order to support specific hardware. (like the WiiU)
  • WiiU official support. Synchronous keyboard listener and standard buttons mapping. Some of them are unusable since is impossibile to cancel their default action.

Todo

  • Some way for updating the JSDoc automatically. (Darren and Darius wrapped up tutorials and docs! - BTW some scripts for generating docs form sources are needed)
  • Better embeddability keeping playability on mobile
  • Solve randomly blinking sprites on Wii (?)
  • ON AkibaKa: add addImage and addTiles only when used!

Improvement

  • Audio compatibility Work in progress

Nice to have

  • Networking