Fybertech Forums
February 27, 2021, 11:43:04 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: 06/21/08 - Fybertech: Forgotten History
06/13/08 - Fybertech: The De Novo Project, part 14
06/04/08 - Fybertech: The De Novo Project, part 13
 
   Home   Help Search Calendar Members Login Register  
Pages: [1]
  Print  
Author Topic: Well... since there's no topics... let's make one... about QBASIC!  (Read 11895 times)
Kabutroid
Where Kabu meets Troid.
Newbie
*
Posts: 10


BAAGALAGLAGLAGLALGALGLLAA!


WWW
« on: January 07, 2005, 06:49:31 PM »

Well whaddya know... there's a forum here for programming.

Which appears to be empty.

Let's make it not that.  Hence, for something people probably didn't see coming, time to make a topic for QBasic.  Anyone here know how to program in it?  Or any of the Basics (visual Basic, GWbasic, etc)?

I toy around with it every so often.  It's fun, and easy, and I can make really crappy text-based RPG's for no reason (like online MUDs).

But yeah... anyone else knowledged in QBasic?
Logged

Life was meant for dying - Metallica - Disposable Heroes
FyberOptic
King of Earth
Administrator
*****
Posts: 2521


Oh god what is that?


WWW
« Reply #1 on: January 07, 2005, 08:25:15 PM »

One of the first real "games" I made was in QBasic.  I did it in text mode since I couldn't do graphics well on my old computer, but it was basically a command center thing along the bottom, and you shot up at ascii baddies that came from above.  I remember taking it to school for buddies to see once.  Perhaps I still have it on a disk somewheres.
Logged
Metroid Hunter
King of the Koopas
Jr. Member
**
Posts: 73


« Reply #2 on: January 11, 2005, 07:51:23 AM »

The only games i can make are the ones on my TI-83 plus Tongue

Some guy actually requested a dirty version of the oregon trail so I made the playa trail
Logged

The Brawl is a lie...
Boris
The Money Man
Collguy
*
Posts: 674


Implying I need a job


WWW
« Reply #3 on: January 12, 2005, 11:36:21 PM »

haw, I wanna play that
Logged

<Armature> i just really want centaur Azula
madmechwarrior
Newbie
*
Posts: 1


« Reply #4 on: March 15, 2005, 03:10:35 PM »

I made a RPG on my TI-83 Calculator...
I also made a snake game with Q-Basic
Go QBASIC!

00 PRINT "Go QBasic!"
10 PRINT "ALL THE WAY!"
20 Goto 10
Logged
Kabutroid
Where Kabu meets Troid.
Newbie
*
Posts: 10


BAAGALAGLAGLAGLALGALGLLAA!


WWW
« Reply #5 on: April 14, 2005, 09:26:12 AM »

WOOH!

I just a few days ago got me a palm pilot to take notes just here and there (and since it's 95% for that, I got the next-to-bottom-of-the-line one... oh yeah... go Zire 31).

And... I have come across the most awesome of programs for it.

PALM BASIC!

I can make essentially Qbasic programs (well, not quite qbasic.  It's more like basic, but doesn't require numbers at the start of each line).  HOORAY!  Now when I'm at work, I can kill time making crappy little programs.  One time or another I'll end up remaking that old RPG I made long ago.

So far, just playing around with it for about a half-hour, I've made the typical "Metroid is awesome" repeated 10 times type program, and my other 'easy to make program' of you typing in your name, then picking a number between 1 and 10.  If it's not what the random number generator picked, you have to play again until you're right Tongue

But yeah, horribly shitty programs aside.... HOORAY!  I CAN PROGRAM AGAIN (since I didn't wanna go hunting for a qbasic emulator for Linux).
Logged

Life was meant for dying - Metallica - Disposable Heroes
Ramesh
He Who Has Level 13 Fire Emblem Grandmastery
Full Member
***
Posts: 185


More Tired than Awake


« Reply #6 on: April 14, 2005, 01:04:15 PM »

Hooray for handhelds! I myself have an IPaq; they're great for doing your internet stuff when your friends are on your computer. But, other than that, i don't use it for anything other than using the transcriber function for fun. I can try to write "I like eggs" and end up with -^== Huh +!>/ Huh... I still haven't figured out what it is supposed to do, other than code your messages so well you can't decode them.
Logged

Lloyd: Fare well, Legault. My old friend.

Legault: I'll see you again, Lloyd. With Linus... And Uhai... Even if it won't be in this world.
Kabutroid
Where Kabu meets Troid.
Newbie
*
Posts: 10


BAAGALAGLAGLAGLALGALGLLAA!


WWW
« Reply #7 on: April 15, 2005, 04:21:28 PM »

WOOH!  Go palm squiggle generator!

EDIT: Now made so that if it hits the edge of the screen (screen is 160 pixels horozontal and vertical, or from 0 to 159)

cls:x1=80:y1=80:x2=80:y2=80:r=0.01745329
randomize
do
l=int(rnd()*10)+1
a=int(rnd()*360)
ang=a*r
xd=int(l*sin(ang))
yd=int(l*cos(ang))

if (x1+xd)>159 then x2=0
if (y1+yd)>159 then y2=0
if (x1+xd)<0 then x2=159
if (y1+yd)<0 then y2=159

if (x1+xd)>159 then x1=x1-160+xd
if (y1+yd)>159 then y1=y1-160+xd
if (x1+xd)<0 then x1=x1+160+xd
if (y1+yd)<0 then y1=y1+160+xd

if (x1+xd)>-1 and (x1+xd)<160 then x1=x1+xd
if (y1+yd)>-1 and (y1+yd)<160 then y1=y1+yd

drawline x1,y1,x2,y2
x2=x1
y2=y1
loop until keydown(5)
end


note: keydown(5) = address book key Tongue

However, when it goes across one side back to the other, it may skip up to 9 pixels on the previous side.  I'm going to fanangle it a bit to get another drawline into there to draw the line to the end of the screen before going across.
« Last Edit: April 15, 2005, 05:53:48 PM by Kabutroid » Logged

Life was meant for dying - Metallica - Disposable Heroes
FyberOptic
King of Earth
Administrator
*****
Posts: 2521


Oh god what is that?


WWW
« Reply #8 on: April 17, 2005, 12:41:33 PM »

I've been wanting a pocket pc for a while, but preferably one with wifi built in, so I can still use the slots for other things.  This would of course cost lots of monies, so I have yet to consider it!
Logged
MDude
Meticulous Maniac
Hero Member
*****
Posts: 638


Enjoy machine world.


WWW
« Reply #9 on: November 28, 2005, 08:51:38 PM »

I already learned Basic with both "Basic for Dummies" and "Learn to Program Basic", although I couldn't get a compiler that worked and I could figure out. I seem to have a lot of trouble compiling, although I might be able to get QBasic to work for me. I also know C, because I took a class in it, and did pretty well, but I can't even get the program that I worked with in school (Borland turbo C/C++) to run. BUT THAT'S FOR ANOTHER TOPIC. I'll try to use QBasic to make some cool programs.
Logged
FyberOptic
King of Earth
Administrator
*****
Posts: 2521


Oh god what is that?


WWW
« Reply #10 on: November 28, 2005, 09:38:15 PM »

Standard Basic doesn't really compile, it's what you call an interpreted language, meaning it requires its interpreter to run.  Same is true of QBasic (the one that came with DOS).  Though there's an actual full-fledges QuickBasic which allowed one to compile, I believe.  I never had that though, which is why I eventually learned Pascal, just so I could compile the stuff I wrote.
Logged
MDude
Meticulous Maniac
Hero Member
*****
Posts: 638


Enjoy machine world.


WWW
« Reply #11 on: November 29, 2005, 06:08:04 AM »

Yeah. What I ment was I had problems getting it to run, or in the case of Learn to Program Basic, getting it out of Learn to Program Basic. Liberty Basic can't even use arrays, and XBasic has some weird interface, although my confusion with it might be because I've never had to use those "00, 10, 20" markers before.
Logged
FyberOptic
King of Earth
Administrator
*****
Posts: 2521


Oh god what is that?


WWW
« Reply #12 on: November 29, 2005, 12:40:19 PM »

Ah okay, sounds like you've messed with several different ones.

A while back I heard of a version which lets you make games fairly easily, since it has access to DirectX functions and all, but later I found out you have to PAY FOR IT, so I said fux that.  There's too many free languages out there.

Also I totally said " full-fledges" instead of " full-fledged" up there.  Better typer is me.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.097 seconds with 18 queries.