Sound Volume & Hi-Color Backgrounds.

Started by PureGhostGR, Thu 16/10/2003 22:55:31

Previous topic - Next topic

PureGhostGR

Greetings,

a. How can I change the sound volume through script.

Lets say that I have a sound file and I want it to smoothly fade out at the end instead of being cut roughly.  Should I use a sound editor on the sound file, or is it possible through scripting?

b. Regarding background imports, even though I am making a hi-color game, I get a message about the amount of colors distributed to the background image whenever I import one. Also there is a slight amount of color loss and definition.

I've tried saving the image in various ways (BMP,PCX,index,etc), and when I import the good resolution BMP all I get is a dark red hue instead of an image.

Any ideas?

Thanks.

Ishmael

a. Study the SetDigitalMasterVolume script command, found under Multimedia functions. In conjunction with a while loop you should get this done...

b. Um... are you sure your game is hi-color? and... are you using which paint program? I have photoshop, and I usually just save the RGB image as bmp, and sometimes the colors get wierd...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.


SMF spam blocked by CleanTalk