Software Support > DOS/WinCab

sound effects

<< < (2/2)

blicky:
Not really, you only notice it right at the start anyway

Chris:

--- Quote from: blicky on August 14, 2008, 10:20:13 am ---Not really, you only notice it right at the start anyway

--- End quote ---
That was what I figured.

I am planning to put in a "random" capability, but I've been looking at a couple of different ways to do it.  I try to keep things as generic as possible to gain the most flexibility; for example, I can see people wanting to use random images too, so the method I use should work for both sounds and images.  So I need a way to specify a "set" of sounds or images.  But sets can be used for animations as well, and it would be able to specify a collection of icons as a "set" so you could import entire keypads and such.  And maybe the user doesn't want the items in the set to be random, they should be in sequence....

There is the easy way:
[Sounds]
MSG_COIN=RANDOM,coin1.wav,coin2.wav,coin3.wav

Of course, I'm going to run into issues with sounds with commas in the filename...  should I care about this?

There is the inline set method:

[Sounds]
MSG_COIN=coin.set

[coin.set]
SetUsage = RANDOM
SetItem1 = coin1.wav
SetItem2 = coin2.wav
SetItem3 = coin3.wav


Any opinions?

Space Fractal:
I in the past created such a JPS plug in to play sound effects through a another soundcard, like a small mono speaker and not to the main speaker where the music is playing.

This would been a good for a coin effect like this.

I guess you could do the same....

Navigation

[0] Message Index

[*] Previous page

Go to full version