Well, progress over the past few weeks has been terrific. I've added some scripting support to add a tactical element to a couple of the levels. I've improved the look somewhat. Added in-game messaging.
Only one thing remains (probably): music.
Now the status of that so far: I have an mp3 file of a piano composition of mine, and it serves quite nicely as the menu theme, but what I want ideally is a way to make it a bit more dynamic. In other words, to have the music change depending on context. I remember old games like X-Wing, for which LucasArts had a system called IMuse (or something like that) to do this. I wondered: is it possible to do similar with mp3s?
The answer: yes - but it would prove too fiddly to implement.
Yesterday, however, I dug into MSDN's badly-documented midi functions, to see whether I could make headway there. Yes I could. I now can play scales of notes in code, in any one of 128 GM instruments. The disadvantage is of course the quality is pants - then again, Surrounded! is a retro game, so what does it matter? Not a jot, says I! So now I shall come up with a way of properly sequencing - from a text file, something like
3GAB4C DEF#G
where the numbers flag a change in the octave index. Perhaps use brackets for chords, and other symbols - ';:po - for quarter, half, full, double, four-beat note lengths.
Well, I'll give that a stab today and see how I get on! :-)
Subscribe to:
Post Comments (Atom)

1 comments:
4 E
4AqB5CrDqEF
4 E G#
4 C E
3mAA
5qFEEC4AqA5C
4 mErE
4 mCrC
3oA
5qC4BBG#sG#qE.+r
4 DmC+m.
3 BmA+m.
3mE
5mA.4rE
5mC.
4qAAB5CrDqEF
4 E D
4 C 3B
3mAG
5qFEEC4rAqA5C
4 G
4 E C
4mC3rFD
5qC4BBGsGqE.+r
4 F C+m.
3 B G+m.
3mGC+m.
6mC.
5mE.q 4E
4qEG#B5Cr4A5qED#
4mDC
3oE
4Bq5DC#4rA.qA
4AG#
4D#DmC#
3BBbmA
5qC4BBA5rE.4qE
4F#F
3mArG#.
3mDrE.
4qEG#B5C4A5EED#
3 G#mA
3mDC
4qBB5DC#4rA.qA
4D#DC#C
3oA
5C.4qBrB.qA
5 s :dC
4mFE
4mDD
3mAG#
4mA.
4mE.
4mC.
3mA.
^^^^ Solveig's Song by Grieg!
(Part One of Sequencer Project - SUCCESS!)
Post a Comment