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 » Thu Mar 02, 2006 9:13 am

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 » Thu Mar 02, 2006 9:22 am

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 » Thu Mar 02, 2006 11:26 am

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 » Thu Mar 02, 2006 4:18 pm

Anyways, I still use Qbasic :lol:

I don't know if Yagl can handle qbasic.

I know, one day I'll make the jump

User avatar
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt » Thu Mar 02, 2006 8:39 pm

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 » Fri Mar 03, 2006 2:39 pm

How about MODs, XM, 3SM, etc?

User avatar
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt » Fri Mar 03, 2006 9:13 pm

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 » Sat Mar 04, 2006 2:19 pm

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 » Sat Mar 04, 2006 5:06 pm

From my QBASIC expiriances, you may only use one library at a time.

User avatar
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt » Sat Mar 04, 2006 6:51 pm

Your experience is severely lacking then. :)

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

Post by zanzibar » Sat Mar 04, 2006 7:44 pm

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 » Sat Mar 04, 2006 8:13 pm

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 » Sat Mar 04, 2006 8:35 pm

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 » Sat Mar 04, 2006 11:19 pm

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

User avatar
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt » Sun Mar 05, 2006 8:07 am

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 » Mon Mar 06, 2006 12:53 am

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...)

User avatar
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post by Patz QuickBASIC Creations » Mon Mar 06, 2006 6:30 pm

What I wanna know is...

What is the best text-PDS library?

Post Reply