What are the best QB libraries?

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
zanzibar
Coder
Posts: 21
Joined: Tue Feb 28, 2006 10:03 pm

What are the best QB libraries?

Post by zanzibar »

I'm starting my first library projects and I wanted to know a few things...

1) best gaphics libary? Rel, Cosmox, future, direct, etc
2) best sound format? mod, midi, wav, mp3
3) should i use sound with or without directsound?
4) any combinantion of the above?
Last edited by zanzibar on Thu Mar 02, 2006 4:16 pm, edited 2 times in total.
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

Hi darklink246,

Ok, i'm gonna answer your question in numerical order. :-)

1) Seems that every one that uses YAGL have nothing but greatness to say about it. If you want to accomplish something very different from YAGL you might consider going back to the roots and using SDL or OpenGL as the basis for your library and add your specific functionality to it.

2) If I am assuming you're going the Windows way..(Linux too) I would say that MIDI files (files with the .mid extensions) and the MP3 format would be your best bet as it's probably the most widespread and available file formats available.

3) Again, if your target OS for your library is Windows only, DirectSound might be a good alternative. However, if you aim for multiplatform, I suggest using one of the libraries supported by freebasic such as Fmod, Open AL or BASS and build your specific functionality on top of those sound systems.

4) specialized functionality designed to make using these engines even quicker and simpler than they are can definitaly apply to all of the above. :-).

Hope this helps,
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

MP3 is NOT free. You need to obtain a license or a decoder that is licensed.
I have left this dump.
zanzibar
Coder
Posts: 21
Joined: Tue Feb 28, 2006 10:03 pm

Post by zanzibar »

Anyways, I still use Qbasic :lol:

I don't know if Yagl can handle qbasic.

I know, one day I'll make the jump
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

For #2, MIDI is so NOT the way to go...never really was. For streams, OGG or FLAC is the way to go, otherwise modules (.IT specifically) are the way to go.

For #1...if still using QB (not qbasic...if you're using qbasic, your choice is simple...Blast! or PUT), there are way too many to choose from that are good but keep in mind that some do not work properly on modern computers (UGL, DirectQB, etc).
impersonator
Newbie
Posts: 2
Joined: Mon Feb 27, 2006 3:25 am

Post by impersonator »

How about MODs, XM, 3SM, etc?
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

MOD, S3M, and XM are all very outdated formats that are lacking in capabilities.
zanzibar
Coder
Posts: 21
Joined: Tue Feb 28, 2006 10:03 pm

Post by zanzibar »

well right now, I'd like to use dsqb44 and relLib together. dsqb44 is fabulous and rellib has the best sprite routines. Well the two libraries play nice with each other?
Guest
Veteran
Posts: 128
Joined: Sun Aug 14, 2005 8:33 pm
Location: Forest Lake, MN
Contact:

Post by Guest »

From my QBASIC expiriances, you may only use one library at a time.
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

Your experience is severely lacking then. :)
zanzibar
Coder
Posts: 21
Joined: Tue Feb 28, 2006 10:03 pm

Post by zanzibar »

how do i load two libraries, then?
Guest
Veteran
Posts: 128
Joined: Sun Aug 14, 2005 8:33 pm
Location: Forest Lake, MN
Contact:

Post by Guest »

Nekrophidius wrote:Your experience is severely lacking then. :)
Well, I don't program in BASIC as much as I did...
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

IIRC You can only use one in the IDE, you can link however many you want..
I have left this dump.
zanzibar
Coder
Posts: 21
Joined: Tue Feb 28, 2006 10:03 pm

Post by zanzibar »

What?

Please elaborate on that! All I know iis to run a batch file of qb with the library:
c:\qb l/ c:\libDirec\lib

and then include the .bi file
rem $include 'lib.bi'

how would you include two libs? Besides using PAK or other lib manager
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

You use multiple libraries in QB using the library manager, lib.exe, as well as the linker, link.exe. You first consolodate all of your object files or library modules into one .lib file using lib.exe, then if you need QLB support, use link with the /qu switch to create your quicklibrary. If you need assistance in how to use this, there are plenty of FAQs on the Internet (there's one at QBN and probably something here at Pete's as well) or if you still can't figure it out, post here stating as such and someone will explain it in more detail.

Someone mentioned dsqb44...I think that's ds4qb. :) Although it is a library by definition, it's not a .lib/.qlb so it doesn't need special linking, you just include the module into your project. That applies to all versions of the program (DS4QB, DS4QB2, and DS4QB++).
DrV
Veteran
Posts: 63
Joined: Thu Jun 02, 2005 9:44 pm

Post by DrV »

The best QB library for game programming or anything remotely similar is UGL. Nothing comes near it in speed or capabilities (VESA, Sound Blaster waveform audio and module playback, keyboard, mouse, blits of all sorts, optimized affine and perspective-correct texture-mapped triangle drawing, etc...)
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post by Patz QuickBASIC Creations »

What I wanna know is...

What is the best text-PDS library?
Post Reply