Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading Screen
#30
Quote:Blitz: I want to see *your* code. Because 1) I'm not very experienced at using libraries and 2) Some people who enter (probably most) don't know how either, which ruins it for them.

I never understood that general opinion/belief. Mostly 'cause using libs makes your life easier. Always. Pure QB stuff, appart from being slow, is harder to code and give you more headaches than LIB stuff. For example, any animation with double buffering in PQB is such a hassle and that can be solved with just three lines of LIB calls.

If you wanna code a double buffered animation in PQB, you may either:

1.- Use SETVIDEOSEG and QB drawing functions.
2.- Code your own blitters that draw to a buffer (PUT compatible, of course)

Both two sollutions are really a big hassle. With most libs, you just create a buffer with a function that returns a handle, then you use that handle and pass it to the drawing functions in the lib, then you use that handle again and pass it to the function that copies the buffer to screen.

If you read this: http://faq.qbasicnews.com/?blast=DoubleB...ngConcepts you'll realize what a hassle is doing stuff in PQB.

Not 'cause it is PQB, just 'cause if you wanna efficient blitters and fast (?) animation, you need to code stuff from scratch, and such things are already cleanly and "fasterly" coded for you in any LIB.

PQB for the challenge of doing it may be cool, but PQB 'cause "LIBs are harder" is a nonsense. In fact, LIBs are there for lazy programmers like me who don't like to reinvent the wheel. If I had to code my blitters and double buffers, I would not code. I'm too lazy Tongue
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Messages In This Thread
Loading Screen - by oracle - 07-09-2003, 10:24 AM
Loading Screen - by Ninkazu - 07-09-2003, 06:39 PM
Loading Screen - by whitetiger0990 - 07-09-2003, 08:54 PM
Loading Screen - by oracle - 07-10-2003, 02:47 AM
Loading Screen - by Ninkazu - 07-10-2003, 03:24 AM
Loading Screen - by whitetiger0990 - 07-10-2003, 05:32 AM
Loading Screen - by Ninkazu - 07-10-2003, 06:18 AM
Loading Screen - by oracle - 07-10-2003, 07:01 AM
Loading Screen - by Ninkazu - 07-10-2003, 07:51 AM
Loading Screen - by whitetiger0990 - 07-10-2003, 08:01 AM
Loading Screen - by oracle - 07-10-2003, 08:27 AM
Loading Screen - by Ninkazu - 07-10-2003, 09:08 AM
Loading Screen - by whitetiger0990 - 07-10-2003, 10:00 PM
Loading Screen - by oracle - 07-11-2003, 02:40 AM
Loading Screen - by Ninkazu - 07-14-2003, 08:29 AM
Loading Screen - by oracle - 07-14-2003, 09:36 AM
Loading Screen - by oracle - 07-16-2003, 09:47 AM
Loading Screen - by Ninkazu - 07-16-2003, 10:21 AM
Loading Screen - by oracle - 07-16-2003, 10:45 AM
Loading Screen - by Ninkazu - 07-16-2003, 11:06 AM
Loading Screen - by Sterling Christensen - 07-16-2003, 02:56 PM
Loading Screen - by Ninkazu - 07-16-2003, 10:14 PM
Loading Screen - by oracle - 07-17-2003, 04:23 AM
Loading Screen - by Ninkazu - 07-17-2003, 09:02 AM
Loading Screen - by oracle - 07-18-2003, 05:41 AM
Loading Screen - by Ninkazu - 07-18-2003, 09:29 AM
Loading Screen - by Sterling Christensen - 07-18-2003, 11:11 PM
Loading Screen - by Blitz - 07-19-2003, 02:21 AM
Loading Screen - by oracle - 07-19-2003, 04:16 AM
Loading Screen - by na_th_an - 07-19-2003, 06:33 AM
Loading Screen - by oracle - 07-19-2003, 09:16 AM
Loading Screen - by na_th_an - 07-19-2003, 05:40 PM
Loading Screen - by oracle - 07-24-2003, 08:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)