I miss those days, that was fun.
QBasic game programming
21–30 of 35 posts
Re: QBasic game programming
#22IIRC 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.
Are you sure about that? I may be wrong of course, but I remember pressing "F3" (which I think was meant to invoke help?) and getting nothing. That's actually why I bought a book, I think this one: http://www.amazon.com/Crash-Course-Qbasic-Greg-Perry/dp/1565... (quite a nice one! I remember reading it cover-to-cover during summer break on a beach, without any computer in at least 20km radius...)
But it's absolutely possible that I either had some ripped version or just couldn't find the right options. I mean, I was 8 at the time, knowing very little English, so that wouldn't surprise me at all :)
Re: QBasic game programming
#23Earlier quoted context omitted.
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.
> The version that came with MS-DOS definitely had extensive help on the language as well as the editor. Are you sure about that? I may be wrong of course, but I remember pressing "F3" (which I think was meant to invoke help?) and getting nothing. That's actually why I bought a book, I think this one: http://www.amazon.com/Crash-Course-Qbasic-Greg-Perry/dp/1565... (quite a nice one! I remember reading it cover-to-cov…
Re: QBasic game programming
#24Earlier quoted context omitted.
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.
> The version that came with MS-DOS definitely had extensive help on the language as well as the editor. Are you sure about that? I may be wrong of course, but I remember pressing "F3" (which I think was meant to invoke help?) and getting nothing. That's actually why I bought a book, I think this one: http://www.amazon.com/Crash-Course-Qbasic-Greg-Perry/dp/1565... (quite a nice one! I remember reading it cover-to-cov…
Re: QBasic game programming
#25It basically has zero value now, but perhaps my only claim to "fame" in the 90s was writing the first (at least popularly known) raycaster in QBasic which then spawned a ton of clones (the comp.lang.basic.misc community was strong then). It was absolutely hideous and naive but getting credited in far smarter people's larger creations as their inspiration was an eye opener for me :-) (And a feat I have not repeated, a…
Re: QBasic game programming
#26IIRC 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…
Python comes close. It runs on just about anything, has a very basic GUI toolkit in the standard library (Tkinter) and comes with a syntax highlighting code editor with built-in command shell as standard (IDLE).
Tkinter is ok for simple apps like a calculator. IDLE was written in it so it's fine for basic apps. For anything more complex there are wrappers available for native UI libraries, or you can use PyQt or PySide that both wrap the very capable Qt framework (a personal favourite). There are more feature complete IDEs, but honestly IDLE is a fine learning environment.
There is a commercial version of Python available for the iPad called Pythonista. It has a serviceable code editor and a bunch of external libraries baked in, but doesn't have TkInter as the desktop GUI paradigm doesn't work on iOS. Instead it has wrappers for the native iOS GUI frameworks, and even comes with a visual UI designer.
Re: QBasic game programming
#27Having 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.
I really miss the simplicity that have old computers of 80's and early 90's.
Re: QBasic game programming
#28Re: QBasic game programming
#29Is it me or is he doing the input and rendering in the wrong order?
Re: QBasic game programming
#30Shout-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).