The Vault Open indie game development

Articles with the vault tag

HTML5 Audio

Sfxr now supports HTML5 audio!

This means I was able to flip the default games from Flash to HTML5. I.e., unless people press on the "flash" link, all games are by default HTML5!

I plan to start developing directly on the HTML5 target from now on (instead of using Flash for debugging, as I've been doing). Let's see how that works out.

Gamepads are joysticks

I've added gamepad/joystick support to all Flash and HTML5 games. The Gamepad API is currently only supported on Chrome (and Firefox nightly, I heard). So to use it, you need to use Chrome.

Also, the buttons are only tested for my Xbox 360 controller (on Mac), so not sure what will happen with different controllers and platforms. Feedback would be nice.

Leaderboards

I've just coded a quick interface to Scoreoid and added support for the leaderboard on Hypermania and Super Hot Asteroid.

The scoreboard shows the top 20 users. It's mostly a quick hack that I may regret in the future and will have to embarassly remove. That said, it's there and it's fun.

HTML5

After working a bit on openfl-html5 and making some horrible hacks that were later fixed by Joshua, I've managed to release HTML5 versions of all ugl games.

My original plan was to have only those and completely ditch the Flash releases, but openfl-html5 is not that stable yet. So I'm keeping both for now, defaulting to flash. As soon as I get sfxr working on HTML5, I'll flip the default.

Update: just fixed a bug that prevent the iframe from showing on Firefox. Also, added a bunch of optimizations that made the HMTL5 version much faster.

vault library

I've just published on github a library containing all code I use for game development in Haxe. It's called vault.

It contains mostly code written by me, with some classes copied or inspired by other people. Credits on particular files and on the main readme.

It also includes ugl the micro game library (I call it ugly), that I use for rapid game prototyping. Ugl was originally based on mgl, but things have drifted apart pretty fast plus I have a non-cryptic name convention.

There is a bunch of code and very little documentation so far. I plan to improve this in the future, but who knows.

Go check it out.