You are browsing the archive for Software.

HTML5 Multi-Channel Sound

December 5, 2010 in Firefox, Games, My Games, My Software, Software by Raptor85

I thought I’d share this.

I’ve been doing some stuff with html5 and hit the issue of one audio object only being able to play one instance of the sound, and that even copying it doesn’t work. (and re-loading it causes another full download on some implementations)

It took a few tries but I’m happy as to how this one turned out, it lets you play sounds via their Id tag and automatically rotates “channels” per sound. (the maximum number of channels you can set in a global variable outside the “class”).

It’s pretty much just a helper class, you can toss this in the source and it pulls any audio tags that were added to the page and sets them up for you, I added in checking for the string “bgm” anywhere in the id as a cheap way to tell it to NOT pre-load “background music” files. (since they only need play one at a time). It works well enough for my causes, hopefully someone else can find it of use.

With this added to the page, simply call “playeffect” or “playmusic” with the id of the audio object to play and it will take care of the rest for you.
Read the rest of this entry →

Youtube HTML5 with Firefox 3.6

March 21, 2010 in Firefox, My Software by Raptor85

In an attempt to finally, and fully remove flash from my system, I’ve written an add-on for firefox that allows me to play HTML5 video sites such as youtube and vimeo using the video player plugins from the browser instead of the built in player. (Which doesn’t work with h.264 video for legal reasons). Check it out.

https://addons.mozilla.org/en-US/firefox/addon/83149/

For the record, I hope I DON’T have to keep this add-on around long, and that youtube and the other major video sites gain theora support soon. This was written so that I can get rid of flash NOW, and rid myself of all the browser lockups it causes, and things such as eating up 800MB of ram with only two tabs open…

Yet another sprite editor update!

October 23, 2009 in Games, Linux, My Games, My Software, Software by Raptor85

spriteeditor

Another update to my editor, new features.

  • Onion skinning for previous/next frames
  • Ability to load, scale and position a background image as another onion skin layer, for tracing
  • cleaned up the drawing routine, draws to a wxImage now and only draws to screen once, much faster.

Download Now!

(note: the image in the background being used to trace is iris, from Atelier Iris 3)

Sprite Editor Update

October 18, 2009 in Games, Linux, My Games, My Software, Software by Raptor85

spriteeditorupdateship
More updates on my sprite editor.

  • Increased Size of work area
  • Dynamicly scale grid instead of pre-set to different sizes
  • Ability to toggle grid on and off (for previews)
  • Much larger range of sizes (16×16 to 256×256)
  • Removed the ability to create non-square tiles, was more trouble than it was worth
  • Added the ability to flip the frame fully horizontally/vertically
  • Added the ability to import frames from 24 bit uncompressed bitmap files
  • Managed to cross compile it for win32 (requires wxwidgets to be installed!), It may not work correctly, I haven’t really been able to test it

Download Now!