TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

QBasic game programming

74 pointsby StylifyYourBlogover 10 years ago

14 comments

petercooperover 10 years ago
It basically has zero value now, but perhaps my only claim to &quot;fame&quot; 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&#x27;s larger creations as their inspiration was an eye opener for me :-) (And a feat I have not repeated, alas!)<p><a href="http://home.kpn.nl/nebula/articfls%5Carticle1.html" rel="nofollow">http:&#x2F;&#x2F;home.kpn.nl&#x2F;nebula&#x2F;articfls%5Carticle1.html</a> <a href="http://www.o-bizz.de/qbdown/qbcom/files/txtreng.bas" rel="nofollow">http:&#x2F;&#x2F;www.o-bizz.de&#x2F;qbdown&#x2F;qbcom&#x2F;files&#x2F;txtreng.bas</a>
评论 #8911869 未加载
dhotsonover 10 years ago
I managed to dig up one of my old 3d demo projects:<p>Source: <a href="https://gist.github.com/dhotson/686036fb771fbbca8c48" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;dhotson&#x2F;686036fb771fbbca8c48</a><p>Screenshot: <a href="http://i.imgur.com/4fpaYtO.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;4fpaYtO.png</a><p>.. it&#x27;s not as embarrassing as I expected. :)
评论 #8911213 未加载
klibertpover 10 years ago
IIRC the version bundled with DOS6.22 was severly limited: it couldn&#x27;t generate executables and the built-in help was only for IDE, without help on the language at all. That&#x27;s because MS was also selling QBasic &quot;pro&quot; 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).<p>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&#x27;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&#x27;t know any better you&#x27;re likely to use Notepad, while with QBasic you had a real IDE from the beginning.
评论 #8911539 未加载
评论 #8911999 未加载
评论 #8911524 未加载
neandrakeover 10 years ago
In the late 90&#x27;s there were several great QBasic communities (NeoZones was one I would frequent the most). I think these more than the fondness of the language&#x2F;IDE were what kept me interested in learning software. Most of the communities seemed to die along with popularity of the language in the early 2000&#x27;s.
评论 #8910210 未加载
kyriakosover 10 years ago
I&#x27;m wondering what impact to future programmers the current state of programming will have. Back when i was using qbasic there were very few distractions, as a self taught programmer if you wanted to build something you had to figure out how to do it yourself. No frameworks, no google, no stackoverflow noise just a couple of libraries and infromation from a couple of books I had access to as a kid. I remember for my first PC I knew the purpose of every single file on its 21mb of hard disk, try doing that today..
DSMan195276over 10 years ago
Shout-out to QB64 - An attempt at a modern version&#x2F;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&#x27;s a fun language for learning and writing in.
评论 #8911049 未加载
hustedover 10 years ago
I remember using basic during my demo coding days to find the optimum algorithms. When everything is running at 0.5fps it&#x27;s easy to sport which implementation is the fastest. So after trying a few methods I would determine the fastest and implement it in asm1.<p>I miss those days, that was fun.
aabajianover 10 years ago
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 (<a href="http://en.wikipedia.org/wiki/DOS_Shell" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;DOS_Shell</a>) found on the supplemental disk of v6.22. It felt like multitasking...but wasn&#x27;t.
评论 #8911306 未加载
helmsbover 10 years ago
My whole fascination with computers and ultimately my career in programming started with QBasic. When I was 7 years old we had a 286 with DOS and running Norton Commander. I knew all the games I played, ran by selecting the &quot;.EXE&quot; file so I started looking for other &quot;EXEs&quot; when I ran across &quot;QBasic.exe&quot;, I thought it might be a game so I ran it and started digging around. I came across some sample applications and more importantly the Help menu (QBasic had the one of the most incredible help systems ever). I started copying the samples for each command, then chaining them together to see what I could do. I can still remember the thrill I felt the first time I typed code and had the computer do what I wanted, it was life altering! My dad later bought me a book called &quot;101 BASIC Computer Games&quot;, that&#x27;s when I discovered that all flavors of BASIC are not equal and I then taught myself debugging.
FrankenPCover 10 years ago
Great memories. It inspires me to locate an old DOS version of Turbo Pascal. TP was my absolute favorite IDE in the DOS days.
pjmlpover 10 years ago
Having started with ZX Spectrum BASIC (Timex 2068), followed by hexdumps, and moving into GW-Basic&#x2F;Turbo Basic and Assembly after getting my first PC, I never coding anything meaningful in QBasic.<p>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.
评论 #8911357 未加载
评论 #8911198 未加载
z3t4over 10 years ago
QBasic was also how I started programming. When I found out you can edit the code ...<p>I printed programs on the school printer. Then typed it in when I got home, as we did not have any Internet. Sometimes I got banned for printing non-school-work.<p>I&#x27;ve heard similar stories from people printing machine code, so I guess it wasn&#x27;t that bad writing QBasic.
andrewguentherover 10 years ago
I learned QBasic from a Boy Scout magazine when I was in 4th grade. It was a letter jumble game and my dad helped me on our old Windows 3.1 machine. Never looked back.
Narishmaover 10 years ago
Is it me or is he doing the input and rendering in the wrong order?
评论 #8913182 未加载