Closed nicholas-ochoa closed 4 years ago
Game music can be played with:-
PixiJS extension: https://github.com/pixijs/pixi-sound
or
PhaserIO includes a sound module: https://phaser.io/examples/v2/audio/sound-complete
I think both of these APIs utilize the WebAudio API which doesn't seem to support MIDI or XMI files (what the Windows / DOS versions of the game utilize for music). WAV audio for sound effects shouldn't be a problem at least.
The re-write broken pretty much all of this code, I'm looking at fixing it over the next few days so I can finally remove the assets
Is it perhaps possible to convert the MIDI files first (to m3 or wav) and then use them?
Pushed to the top of the priority list now that the repo is back online. I've already got a mostly working prototype, but need to clean up a few things that broke with some of the changes to Phaser over the last few months.
I know @rage8885 already know about this, but if anyone else is looking to help, I cleaned up the documentation around the sprite file specs and made it public.
https://github.com/dfloer/SC2k-docs/blob/master/sprite%20data%20spec.md
Newspaper and other text specs here: https://github.com/dfloer/SC2k-docs/blob/master/text%20data%20spec.md