04-01-2023, 12:24 AM
(03-29-2023, 09:26 PM)madscijr Wrote: Here's an ancient QB version of Defender by Tim Truman from the 90s.
The original "QBDEFEND.BAS" failed because of deffn, so I turned that into a function.
It now runs but way too fast, so I added _Limit at line 248, which brought it back to normal speed.
That version is "QBDEFEND_v2.BAS".
(I tried cleaning it up some more but "QBDEFEND_v8.BAS" fails with a subscript out of range error at line 2784.)
There are probably bigger problems with the program - ancient joystick, timer, adlib routines, writing to adlibs registers, a whole lot of stuff I don't understand.
If anyone wants to play with it, I am attaching the code!
I'll take a look at it. Thanks for posting.