He is NOT using QBasic, it's QB64. He gets instant access to some pretty sweet functionality that was never in QBasic. Transparent PNG support, resolutions with more than 16 colors above 320x200, double buffering, TCP/IP, and the list goes on.
Regardless, this guy is getting some awesome press with the QBasic thing. If you want to make money with games, it's all about the marketing.
I'll give him a little more credit if he used that tiny dos-box blue editor that comes with QB64 to code the entire game tho :)
I also wrote little games in QBasic long ago. The biggest limitation was the memory limit. That would prevent making a game like this. So if this is QB64 (which I never heard of before) then I guess that explains it.
Just realised, same indentation and no-end-character rules as python :)
Although I've been writing qbasic back in the days and now writing python for fun, I've never realized this before...
I learned how to program by reading through the code for qbasic gorillas (the game in the video in the article) back when I was a wee lad. Therefore, gorillas is the best game ever to me.
That said, qbasic was maybe not a best first language - I became a much better programmer when I learned C++ years later. Still, I really really appreciate that as a young child I had access to a fun game with the source code revealed. It changed my life.
I am also very thankful for the source for Gorillas and many simpler BASIC games before it. I started out by adding color to many existing text BASIC games and then moved on to writing my own.
Years later a friend of mine and I added modem support to Gorillas so we could play each other from our houses. Of course Scorched Earth would have been better, but we didn't have the source to that, nor the programming ability to add it at the time.
I was always amazed at the guys on CompuServe/AOL (and later GeoCities) who were writing RPG's in QBasic. I guess I was mostly impressed by the graphics they made, but they kind of proved to me you could write more than hangman or Nibbles in BASIC.
Hah, reminds me of back in my grade 8th grade (equivalent - ~13 years old?) 'typing' class (circa 1995) - a friend made a 3d engine in QBasic that let you fly a wireframe spaceship around. It was pretty amazing, all things considered.
A friend of mine also made a 3d engine with QBasic that was a racing game when we were in 9th or 10th grade. I remember as he was developing it he was referring to a trigonometry book for a class that he hadn't yet taken. It was totally ridiculous and awesome.
I wrote a game in QBasic when I was 10. At the time I didn't understand the concept of a sub routine _returning_ after being called. So the end of each sub just called another sub (perhaps even the calling sub to create loops). You won by beating the game before getting a stack overflow.
I also used QBasic as a child, I had some GWBasic book as references which rooouuughly matched the Syntax and provided functions. But I also remember not really understanding sub routines... Anyway, this was my experience with goto and good old fashioned spaghetti code ;)
Not QBasic, but this was my first PC programming "experience" [1]. I got tired of typing these in, so I would con my Dad's secretary to type these in because she could type (I didn't really understand at the time that a secretary typing wasn't the same as a programmer typing :P).
Some worked, some didn't and I think I wasn't really old enough at the time to understand why they wouldn't, but I have a lot of fond memories and pride at getting these to work.
Wow, as someone who played with making games using QBasic on a 486 as a pre-teen I am seriously impressed. I have to chuckle at requiring such a fast processor to run well though. Assuming the author doesn't rely on too many DOS game programming tricks (I remember having to peek and poke various memory locations to trigger esoteric video resolutions, etc.) it probably wouldn't be too hard to convert this to run on visual basic & a .net wrapper of SDL or some basic graphics library.
He's already using SDL. Plus, QBASIC64 isn't a DOS environment.
In fact, when you look at the specs for QBASIC64 then it's a little less impressive than first made out. It also makes me wander why he didn't just learn VB anyway (as the libraries in QBASIC64 would have required additional learning anyway). Even VB classic would have made more sense.
Anyhow, this at least reminds the language elitists that a language is only as powerful as the developer who's wielding it.
In case anybody also wanna review those classical QBASIC games, I've just found Boxer.app[1], a free DOS emulator on Mac. And there's also a big collection of DOS games for free download[2].
I can't find anything definitive but I suspect it would be less confusing to say "created by Microsoft" than "created by IBM". It seems Microsoft developed it but IBM somehow wound up with the copyright. en.wikipedia.org/wiki/Gorillas_(video_game)
Back then Microsoft was working for IBM, so it's not that surprising that IBM ended up with the copyrights for QBASIC. What's more surprising is that IBM didn't end up buying the whole of DOS outright (but that's another topic entirely).
Also, I seem to recall reading (or seeing a video interview) where Bill Gates said QBASIC was his last ever coding job.
Lots of memories there. Fun fact - the programmer of that game went on to contribute to the Allegro graphics library. Going from QB to DJGPP+Allegro seemed like a natural progression, and quite a few people in the QB community followed a similar path.
This was the first programming language I was taught. I got super excited with it, by the second class I already had a working etch-a-sketch. By the third I was writing a roguelike based on Moria. At the point my teacher told me to do my own thing and went back to trying to get the other less enthusiastic students to learn. I had a blast that semester, loved that class.
[+] [-] Scaevolus|13 years ago|reply
[+] [-] dpcan|13 years ago|reply
He is NOT using QBasic, it's QB64. He gets instant access to some pretty sweet functionality that was never in QBasic. Transparent PNG support, resolutions with more than 16 colors above 320x200, double buffering, TCP/IP, and the list goes on.
Regardless, this guy is getting some awesome press with the QBasic thing. If you want to make money with games, it's all about the marketing.
I'll give him a little more credit if he used that tiny dos-box blue editor that comes with QB64 to code the entire game tho :)
[+] [-] laumars|13 years ago|reply
[+] [-] Aardwolf|13 years ago|reply
[+] [-] doktrin|13 years ago|reply
I happen to have an old QBASIC book (pub 1993) next to me, and was skimming through it shortly before coming across this article.
Random file I/O :
The book then goes on to provide helpful ways to guesstimate at the record length of a file on disk.Drawing 2-D "staircases" diagonally in both directions across the screen :
Nostalgia, indeed :P[+] [-] tdicola|13 years ago|reply
[+] [-] nollidge|13 years ago|reply
http://www.amazon.com/Absolute-Beginners-Guide-Qbasic-Perry/...
Amazon doesn't have the cover art, but it was very similar to this one:
http://ecx.images-amazon.com/images/I/51VswbyvRHL._SL500_SS5...
[+] [-] illuminated|13 years ago|reply
[+] [-] rm999|13 years ago|reply
That said, qbasic was maybe not a best first language - I became a much better programmer when I learned C++ years later. Still, I really really appreciate that as a young child I had access to a fun game with the source code revealed. It changed my life.
[+] [-] joeshaw|13 years ago|reply
Years later a friend of mine and I added modem support to Gorillas so we could play each other from our houses. Of course Scorched Earth would have been better, but we didn't have the source to that, nor the programming ability to add it at the time.
[+] [-] bluedino|13 years ago|reply
I was always amazed at the guys on CompuServe/AOL (and later GeoCities) who were writing RPG's in QBasic. I guess I was mostly impressed by the graphics they made, but they kind of proved to me you could write more than hangman or Nibbles in BASIC.
[+] [-] BHSPitMonkey|13 years ago|reply
[+] [-] stiff|13 years ago|reply
You can see a video from there with some actual code: http://www.youtube.com/watch?v=y2nBge7wq6c
It actually doesn't seem that bad of an environment, which is a reminder that we haven't gotten that far with programming since the QBasic days...
[+] [-] froo|13 years ago|reply
[+] [-] taternuts|13 years ago|reply
[+] [-] profquail|13 years ago|reply
http://www.reddit.com/r/IndieGaming/comments/1bqegf/i_put_my...
[+] [-] fizx|13 years ago|reply
http://www.youtube.com/watch?v=A_K6yB3OsGs
[+] [-] davexunit|13 years ago|reply
[+] [-] jessedhillon|13 years ago|reply
http://en.m.wikipedia.org/wiki/Syndicate_(video_game)
[+] [-] polemic|13 years ago|reply
[+] [-] aerolite|13 years ago|reply
[+] [-] daigoba66|13 years ago|reply
[+] [-] blablabla123|13 years ago|reply
[+] [-] craigching|13 years ago|reply
Some worked, some didn't and I think I wasn't really old enough at the time to understand why they wouldn't, but I have a lot of fond memories and pride at getting these to work.
[1] http://www.amazon.com/BASIC-Computer-Games-Microcomputer-Edi...
[+] [-] tdicola|13 years ago|reply
[+] [-] laumars|13 years ago|reply
In fact, when you look at the specs for QBASIC64 then it's a little less impressive than first made out. It also makes me wander why he didn't just learn VB anyway (as the libraries in QBASIC64 would have required additional learning anyway). Even VB classic would have made more sense.
Anyhow, this at least reminds the language elitists that a language is only as powerful as the developer who's wielding it.
[+] [-] songgao|13 years ago|reply
[+] [-] stuaxo|13 years ago|reply
[and probably loads of bugs]
[+] [-] songgao|13 years ago|reply
[1] http://boxerapp.com/ [2] http://www.dosgamesarchive.com/
[+] [-] baddox|13 years ago|reply
[+] [-] jere|13 years ago|reply
>Black Annex requires at least a 2.6GHz processor due to the scope of the project and the unoptimized multi-dimensional arrays.
[+] [-] benatkin|13 years ago|reply
[+] [-] laumars|13 years ago|reply
Also, I seem to recall reading (or seeing a video interview) where Bill Gates said QBASIC was his last ever coding job.
[+] [-] boyter|13 years ago|reply
This looks like it might take the title though.
[+] [-] davexunit|13 years ago|reply
[+] [-] Klinky|13 years ago|reply
http://www.youtube.com/watch?v=nv9VDvvGRkQ
[+] [-] autodafe|13 years ago|reply
[+] [-] precisioncoder|13 years ago|reply