Live data from Hacker News

QBasic game programming

balau82.wordpress.com

11–20 of 35 posts

Re: QBasic game programming

#11
Having started with ZX Spectrum BASIC (Timex 2068), followed by hexdumps, and moving into GW-Basic/Turbo Basic and Assembly after getting my first PC, I never coding anything meaningful in QBasic.

For me, those were the days to start learning Turbo Pascal, and QBasic was used mainly to run nibbles and gorillas, when I got bored of a coding session.

Re: QBasic game programming

#12

Shout-out to QB64 - An attempt at a modern version/compiler for QBasic code, as well as updated features. I used to do a fair amount of programming in QB64, and the design of the language hampers it as a general-purpose language, it's a fun language for learning and writing in.

There's also FreeBASIC, which is largely compatible but with some shiny new features on top (even macros and tail-call optimization O_O).

Re: QBasic game programming

#13
IIRC the version bundled with DOS6.22 was severly limited: it couldn't generate executables and the built-in help was only for IDE, without help on the language at all. That's because MS was also selling QBasic "pro" version. It was basically impossible to buy any software then in my country, so I was stuck with normal QBasic for a few years, until I got Internet connection and pirated a full version (it was still impossible to buy software here - no one bothered selling it at all here until a bit later).

Still, bundling a quite capable IDE with an OS was a very nice practice, but it basically ended then, probably because MS also sold Visual Basic. Without QBasic I wouldn't have started programming at all - I wonder how it would be if I was starting right now. Is there any ubiquitous, simple language available basically everywhere and with a nice IDE by default? JavaScript almost fits the bill, but as a beginner who doesn't know any better you're likely to use Notepad, while with QBasic you had a real IDE from the beginning.

Re: QBasic game programming

#14
post #11

Having started with ZX Spectrum BASIC (Timex 2068), followed by hexdumps, and moving into GW-Basic/Turbo Basic and Assembly after getting my first PC, I never coding anything meaningful in QBasic. For me, those were the days to start learning Turbo Pascal, and QBasic was used mainly to run nibbles and gorillas, when I got bored of a coding session.

I can relate to this. I started with ZX Spectrum 128K's Basic and then moved to GWBasic on a Nec V40 (80186 compatible), my first PC.

When I got a computer good enough to run QBasic (or anything newer than DOS 3.3), it could compile C as well (with DJGPP) so I completely skipped QBasic.

Re: QBasic game programming

#15
post #7

I managed to dig up one of my old 3d demo projects: Source: https://gist.github.com/dhotson/686036fb771fbbca8c48 Screenshot: http://i.imgur.com/4fpaYtO.png .. it's not as embarrassing as I expected. :)

Actually that's a cool screenshot. It looks retro-cool rather than old. Nice work.

Re: QBasic game programming

#16
post #3

This is fantastic. My first game was in GW-BASIC, but I quickly upgraded once I discovered QBasic on DOS 6.22. I also loved the MS-DOS Shell ( http://en.wikipedia.org/wiki/DOS_Shell ) found on the supplemental disk of v6.22. It felt like multitasking...but wasn't.

I started with the basic of Oric-1, then the fabulous locomotive basic of Amstrad. When I got a PC (1986), I ditched quickly GW-basic in favor of turbo pascal, turbo prolog and later turbo C. QBASIC was not bad, but really too late for me.

Re: QBasic game programming

#17
post #11

Having started with ZX Spectrum BASIC (Timex 2068), followed by hexdumps, and moving into GW-Basic/Turbo Basic and Assembly after getting my first PC, I never coding anything meaningful in QBasic. For me, those were the days to start learning Turbo Pascal, and QBasic was used mainly to run nibbles and gorillas, when I got bored of a coding session.

Almost the same path here. Started with Basic on the C64, then GW-Basic, a little bit of QBasic, then discovered Turbo Pascal, Borland C, etc.

Thanks for reminding me about Gorillas. For anyone unfamiliar with it, it's basically Artillery with bananas :-)

http://en.wikipedia.org/wiki/Gorillas_%28video_game%29

Re: QBasic game programming

#18

IIRC the version bundled with DOS6.22 was severly limited: it couldn't generate executables and the built-in help was only for IDE, without help on the language at all. That's because MS was also selling QBasic "pro" version. It was basically impossible to buy any software then in my country, so I was stuck with normal QBasic for a few years, until I got Internet connection and pirated a full version (it was still im…

I started with QBasic too, and later on Delphi, dragging and dropping components on a window to create GUI programs. Nowadays you can get Lazarus for free.

There's also NetBeans, KDevelop, Komodo, Virtual Studio Express, Xojo, and more. It depends what you want to do.

And if you're on a Mac, I'd go with Xcode+Swift. Great language for beginners.

Re: QBasic game programming

#19

IIRC the version bundled with DOS6.22 was severly limited: it couldn't generate executables and the built-in help was only for IDE, without help on the language at all. That's because MS was also selling QBasic "pro" version. It was basically impossible to buy any software then in my country, so I was stuck with normal QBasic for a few years, until I got Internet connection and pirated a full version (it was still im…

The version that came with MS-DOS definitely had extensive help on the language as well as the editor. It was an interpreter though, and couldn't generate executables like the commercial version which was called QuickBasic IIRC.
Post reply on HN