Navigation

 

Quick Search

Site Networking

Clickteam

Daily Click

The Mod Archive

Beta Login

Username: Password:

Welcome to JSoftgames.com

Welcome to the JSoftGames.com Live Development Blog!
The Cool Games are at the Arcade!
Current Development: Rodent Rush
All games were safely grown inside of a special digital incubator
A hobbyist game developer's scrapbook.
Think you can beat the all time worldwide highscores!
Run around and eat cheese, mice love cheese
No Trees were harmed in the making of this website.

Flash troubles...
Flash, although better for compatibilties sake, is a pain to work with.

Rodent Rush has about 10 different gameplay tunes to keep it interesting, and in the original Vitalize version of the game I was able to use something called "modules" to load the music.

Module music files are fairly small becaue they are modular. Each song file stores only the sounds used in the song and in what order to play them.

Well flash doesn't support module music natively (not built-in), so instead of writing a engine to read them I decided to just convert all the songs to FLV's and steam them, much like how YouTube handles their videos.

In short, it works, but it was still a pain to figure out.
smile
2 Comments
Posted on 17 May 2010 by JacobB
Comments:
by Clayton @ 18 May 2010, 03:45
Good grief. XD
by Jacob @ 18 May 2010, 04:00
I wrote this post in class, while bored.

I guess it's reflected. sad

But ya, it's good to know, and I want to keep loading times down too. Preloading the music in a flash game is bad, bad, bad.
Comments are disabled fam, you have spam bots to thank for that. :P
Page Last Updated on: April 01 2016 16:54:30.