🔒 Locked
QBASIC Programming
Advertisement
Original Post
yes you can make games with QBASIC but they won't look very professional. Also I think you cannot compile your code with the free version of qbasic but im not sure as it was a long time since i used it.
i started my game programming in qbasic, i thought my moving pixels were awesome and i learnt a lot.
Good luck!
[edited by - kingstone426 on December 12, 2002 12:51:18 PM]
i started my game programming in qbasic, i thought my moving pixels were awesome and i learnt a lot.
Good luck!
[edited by - kingstone426 on December 12, 2002 12:51:18 PM]
I hear VC++ 6 is down to around 60 bucks now. And trust me, it will be well worth it. As much as I hate to endorse an MS program, it really is taht good.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join the flamebait of the week club! This weeks flamebait:
YOUR BIBLE IS FULL OF LIES!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join the flamebait of the week club! This weeks flamebait:
YOUR BIBLE IS FULL OF LIES!
Yes, it is possible to make game with QBasic, but you won''t have as much freedom as in C++. Take Yoshin''s suggestion, get DevC++, it''s a FREE C++ IDE with mingw compiler (which is also free). If you don''t want to spend any money in learning, DevC++ is the way to go. Seriously, better not learn QBasic.
My compiler generates one error message: "does not compile."
My compiler generates one error message: "does not compile."
I think that [Q]basic should be the first language to learn.
It''s very easy, and it can make the learning curve nicer.
I started with Specutrum basic when I was 13, then moved to Z80 ASM when I was 14, moved to X86 ASM when I was 15, then PHP when I was 21, and, eventually, C, this year (23).
And I am glad I did things in this order
Height Map Editor
It''s very easy, and it can make the learning curve nicer.
I started with Specutrum basic when I was 13, then moved to Z80 ASM when I was 14, moved to X86 ASM when I was 15, then PHP when I was 21, and, eventually, C, this year (23).
And I am glad I did things in this order
Height Map Editor
Wow...it's hard to believe how long ago it's been since I was
coding in QB.
Seriously, you'd be better off getting a book that has a copy
of VC++ in it and learning from that.
However, that might not work for you if you decide you don't
like coding. Then, you've got this useless book and compiler
laying around(which I'd recommend giving to your local library).
I'd say give QBasic a try for about a month. If you still want
to code after that, get a good C++ book and cheap compiler(there
are a few good free ones, from what I hear, but I took to VC++
and never looked back).
Remember, tho...there aren't as many QB sites as there used to
be, so it might be hard to get a good hang of the language.
Anywho, good luck! ^_^
-Hyatus
"da da da"
[edited by - hyatus on December 12, 2002 7:33:23 PM]
coding in QB.
Seriously, you'd be better off getting a book that has a copy
of VC++ in it and learning from that.
However, that might not work for you if you decide you don't
like coding. Then, you've got this useless book and compiler
laying around(which I'd recommend giving to your local library).
I'd say give QBasic a try for about a month. If you still want
to code after that, get a good C++ book and cheap compiler(there
are a few good free ones, from what I hear, but I took to VC++
and never looked back).
Remember, tho...there aren't as many QB sites as there used to
be, so it might be hard to get a good hang of the language.
Anywho, good luck! ^_^
-Hyatus
"da da da"
[edited by - hyatus on December 12, 2002 7:33:23 PM]
I''d also say that QBasic would be a good choise to start with. You don''t know if you''re going to even like it. Second of all, the learning curve involved with even plotting a couple points in C++ is stepe, in QBasic, it is fairly english like and is much easier to learn. You will have more fun sooner....
It''s what I did, but then again, I didn''t know about C then either... *sigh*
Tazzel3d ~ Dwiel
It''s what I did, but then again, I didn''t know about C then either... *sigh*
Tazzel3d ~ Dwiel
quote:
Original post by Curtis123
Is it possible to write a game using QBASIC? The reason is I''m kinda cheap and don''t feel like spending alot of money on a compliler for other languages like C++ and so on.
Absolutely! Of course there are limits but it''s a great place to start. If you''re shaky on your C programming skills then DirectX and windows programming will be to much overhead. Qbasic is simple and there are various libraries written by QB community that allow you easy access to graphics, sound, controls. Check out these sites for inspiration and guidance.
http://vplanet.cjb.net
http://www.qb45.com
http://www.neozones.com
People have done Wolfenstien clones in QB. It''s a fun language but don''t get too attached.
Learn the concepts and then move on.
Ben
IcarusIndie.com [ The Labyrinth | DevZone | The Wall | Hosting | Tiberian Merchandise | GameShot | Fun With Cutouts ]
Learn the concepts and then move on.
Ben
IcarusIndie.com [ The Labyrinth | DevZone | The Wall | Hosting | Tiberian Merchandise | GameShot | Fun With Cutouts ]
I started programming with QBasic and I did write games with it. But it does make complex graphics nearly impossible to do due to its limited instruction set and speed.
~CGameProgrammer( );
~CGameProgrammer( );
quote:
Original post by Curtis123
Is it possible to write a game using QBASIC? The reason is I'm kinda cheap and don't feel like spending alot of money on a compliler for other languages like C++ and so on.
Yes, alot of people have written games in qbasic. The majority of them are arcade style games or SNES style RPG's. I have nothing against Qbasic but their are free C\C++ compilers. For example, Borland's C++ Builder 5 and JBuilder (if you interested in java) is avaliable for download at Borland's site. You just have to complete the free registration process. GCC is another free compiler for C and C++. I believe there is also a free compiler for Delphi and Pascal.
[edited by - prh99 on December 13, 2002 2:49:43 AM]
If your brand-spankin-new to programming it might be a good idea to start out QBasic... Spend a few months with it until you feel comfortable...
Then, I would suggest learning assembly language...
Once you have a small grip on that I would learn straight c++ for another 6 months or until your comfortable...
Finally, I would move to visual c++ / direct x / opengl ...
Not the order I followed, but I think my ride would have been smoother if I did...
Then, I would suggest learning assembly language...
Once you have a small grip on that I would learn straight c++ for another 6 months or until your comfortable...
Finally, I would move to visual c++ / direct x / opengl ...
Not the order I followed, but I think my ride would have been smoother if I did...
quote:
Original post by Anachronism
If your brand-spankin-new to programming it might be a good idea to start out QBasic... Spend a few months with it until you feel comfortable...
Then, I would suggest learning assembly language...
Once you have a small grip on that I would learn straight c++ for another 6 months or until your comfortable...
Finally, I would move to visual c++ / direct x / opengl ...
Not the order I followed, but I think my ride would have been smoother if I did...
Are you kidding? Assembly language would be to hard after QB. C or C++ is a requirement before touching ASM. You need to grasp concepts of pointers and computer memory organization before going anywhere near ASM. My suggestion is, do some Qbasic, then C. After you know and understand C enough, then you may try inline ASM with C or C++. After you get basic concepts of that down, then I would recommend ASM.
I jumped from Spectrum basic to ASM (z80), and it was very easy to me. In fact, in ASM, you don''t exactly have POINTERS 
I mean, you do, but they are much different than in C, they are all void, etc.
So, basic -> ASM -> C seems, at least to me, the right way
Height Map Editor
I mean, you do, but they are much different than in C, they are all void, etc.
So, basic -> ASM -> C seems, at least to me, the right way
Height Map Editor
quote:
Original post by Raduprv
I jumped from Spectrum basic to ASM (z80), and it was very easy to me. In fact, in ASM, you don''t exactly have POINTERS
I mean, you do, but they are much different than in C, they are all void, etc.
So, basic -> ASM -> C seems, at least to me, the right way![]()
Height Map Editor
One way or the other you''re gonna have to reference a memory location at one point. I think ASM requires a different mindset. It''s very differend from other programming languages and I don''t think that *all* people are capable of jumping from Basic to ASM, in fact quite a few.
I'd recommend Euphoria over QBasic.
Here's its good points:
1. It's got a faster interpreter
2. You can do some pretty cool stuff with it that QB can't do(Windows scripting for example)
3. It's syntax is somewhat C like but much easier for a new comer to learn. It makes a good teaching language and makes it easy to step up to C when you're ready.
4. Interpreter is free.
5. Plenty of tutorials on game programming using Euphoria.
6. It has a utility you can use to translate your Euphoria programs to C.
However, if you find Euphoria too hard to learn, I'd give Python a shot. Hell, have a look at Python anyway, it's fun to play with. I'd recommend learning those over QBasic anyday. Why? Simply because QB is antiquated. I don't have anything against QB. I started out programming my PC with it years ago, but I think it's a BIG waste of time for new comers. You have better options nowadays.
My 2 cents.
LINKS:
Euphoria Homepage
Python Homepage
[edited by - Silent Error on December 13, 2002 7:07:13 PM]
Here's its good points:
1. It's got a faster interpreter
2. You can do some pretty cool stuff with it that QB can't do(Windows scripting for example)
3. It's syntax is somewhat C like but much easier for a new comer to learn. It makes a good teaching language and makes it easy to step up to C when you're ready.
4. Interpreter is free.
5. Plenty of tutorials on game programming using Euphoria.
6. It has a utility you can use to translate your Euphoria programs to C.
However, if you find Euphoria too hard to learn, I'd give Python a shot. Hell, have a look at Python anyway, it's fun to play with. I'd recommend learning those over QBasic anyday. Why? Simply because QB is antiquated. I don't have anything against QB. I started out programming my PC with it years ago, but I think it's a BIG waste of time for new comers. You have better options nowadays.
My 2 cents.
LINKS:
Euphoria Homepage
Python Homepage
[edited by - Silent Error on December 13, 2002 7:07:13 PM]
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement