Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading pictures and music
#1
How can I load a picture as a backgrounf into qb?
Also how can I load music as a sound track ar as effect. What file extension do I nedd, and how can I open it?

Thanks for any help
eminiscing about trapezoids in conjunction with stratospherical parabolas:

No questions asked.

www.stickskate.com
Reply
#2
There are ways to load BMP, GIF, PCX etc in QB using Pure-QB, but usually it is a waste of time coding these routines. You can get libraries like CosmoX or DirectQB or UGL, which contain a lot of graphical routines. You can get them from http://www.harsoftware.cjb.net look under downloads in Libraries.

For the music, well, background soundtrack is hard unless the bg sound is midi, then it would be possible. But I think the best for you is to get a sound library like DS4QB++ or BWSB. I don't know any exact location of them, but you can surely find them using google as they are very popular.
Reply
#3
UGL has EVERYTHING for you. Download it NOW or perish!!!!!!
earn.
Reply
#4
Andy, all these are SVGA libs. You will have to use SVGA modes since in normal VGA modes you have few colors.
Try Future.Library it's commands are simpler(according to me). Also I find it more stable atleast on my comp.

You can download it at my website:http://www.basix.8m.net
Also there happens to be a little tut on how to build the lib and use the basic commands. I think you will find it useful.
Reply
#5
Spam Thread!! :rotfl:

For a picture in the background: http://qbnz.com/pages/downloads/graphics/anigif99.zip will load animated .gif images into QB.

or: http://qbnz.com/pages/downloads/graphics/jpegv43.zip will load a .jpg in Smile

For sound, you could try QMIDI: http://qbnz.com/pages/downloads/sound/qmidi10.zip
Reply
#6
Thanks for links, Oracle. I will use Smile
URL=http://muratelic.sitemynet.com/qbasic.htm]Qbasic-TR Reloaded...
[/URL]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)