Advertisement

2 questions...

Started by December 01, 2001 04:37 PM
4 comments, last by Melhisedek 23 years, 2 months ago
Really need some help here... If I have an *.bmp picture how do I set it as a background ??? How to implement music in my program ??? ( mp3 if possible ) Any help would be appreciated !!! Thanks in advance !!!
>>If I have an *.bmp picture how do I set it as a background ???

What you mean?

How to implement music in my program ??? ( mp3 if possible )

-> To play a single wav file at once, PlaySound() will do it. If you need to play multiple wavs at once, FMOD (www.fmod.org) is the easiest way. Im not sure if FMOD supports mp3.
Advertisement
Oops I assumed you were using windows.
Thanks about music thingy
Nr1 then...
Take NeHe-s Lesson 5 for example... How can I set an bmp picture as a background ?
Like, I don''t want to have black screen as a backgorund I want to have a space picture as a background.
Just make a big textured quad with your background on it.

To play midi/cd audio look up mciSendCommand on MSDN if you have it

This has been a post by oglman, King of all that is holy.
quote:
Original post by Anonymous Poster
Im not sure if FMOD supports mp3.



Yes, the latest FMOD version can play MP3/WAV/WMA/Ogg vorbis and some other file formats.

This topic is closed to new replies.

Advertisement