cannot maintain variables in the subs

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

:) Heh heh, so do I (Retype everything), even when the they say to just copy it... the only one I ever just copied was Vics tut on mouse control, remember the one I said was like 80Lines long, I kept messing up a ASM or somthing, then to, O looked like 0 when I printed it so, uggh,. :wink:

Yeah, I mean smooth as in pixals,. the finer the pixals, the better it looks, and with the ability to hit 1280x1024, (any color you want (RGB) SDL lib) it looks even more SWEET!! :D ,... You'll love it! :D
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

hey hey, I WAS talking about as smooth as regular pixels, even though its in screen 13! Very, Very smooth.... :D

EDIT: Ok, mabey not AS good but as close as you can get to it with QB, lol....But it works fine... :D
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

Okay,. in QB what you got is the finest color and all,... but FB, yes, oh my, its like sweet, with SDL,. you can make colors like you do with HTML, or its the best I can compare to (RGB) Red value, Green value, Blue value!!, its sweet and lets leave it at that...... *passes out from exitement*
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ya I got some code that I DID copy and paste from Rel's tut....It was to gradiant the palette in QB.

I had no clue on how to do this nor was I going to learn.

But here's the good part it has a DATA that goes with it. each thing in the DATA is, guess what?, RGB color code baby! That's right so HA! and thanks to whomever did that....

BTW My Seeking fire enemy ship looks like a sombraro....he he.... :roll:

??Φ?? <-- Don't ask....
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

Sorry,. read the next post down,.. just remember not to hit back to edit massages,. always hit "edit" :D
Last edited by Rattrapmax6 on Fri Feb 18, 2005 7:07 pm, edited 1 time in total.
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

:shock: How did you get that font, I though Alt+#### codes didn't work, or not for me they dont.. Caf? < oh :D , heh heh, never mind... it works..

???E??? HE HE!! :D :D It works!! :D

PS: I've heard of a code that does RGB colors in QB, :) , But I was hoping you didn't hear of it, heh heh,..I never did it tho, I liked the 10, 23, or what ever in QB, I didn't remeber half of 'em not to..... :D

10 brtGreen 23shade of grey.. 53 shade of blue,. 44 yellow, and more.. :wink: but using RGB in FB is sweet,.. and OpenGL fades the color around,. so you can mix 'em up, heh heh, beat that.. alltho you might can.. :lol:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Well ok, this code makes the palette, all 256 attributes, gradulated by your choice from the DATA statement which is in RGB. There are 16 colors you gradulate and it works great...

Also with a little modification I was able to get it so they gradulate from grey instead of black, and to my surprise, the same way I did that the Background changed to that color! I love the grey background and its screen 13 too! Thanks again to whom ever did that, and Rel for his tut.
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

:) Umm dude, you past 505 posts, heh heh,..

Yeah, sounds cool,.. :wink: ,.. what other tricks you know?? :roll:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

:shock: Ya, I am...

Other tricks? Well that wasn't my trick first of all, but I'm good at making AIs for specific functions....
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

:) when it says "New Member" it sucks for 20 posts,.. or maybe its just the News Forum, oh well.. I know you get more opptions as you go along.. :wink:
Last edited by Rattrapmax6 on Sat Feb 19, 2005 7:21 pm, edited 1 time in total.
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

That's cool. But sucks for newbies that want help cause you have to join to post.
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

I've seen a non user post b4, tho he might have only been replying or somthing.. :) ,.. oh well... whats wrong with QBN,.. alot of top QBers, FBers, that can help on the double.... Like with your Lambert Shading,.. course the guy I was hoping to pic up your post came here tho. lol, so it worked out after all, or did it??
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ya but Rel never resolved my question....heh....

Anyway I did ment disgrace to QBN, and I have nothing against it.
"But...It was so beutifully done"
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

:shock: Oh..wait that was a typo!! AHH!

I ment NO disgrace....heh he.... :D
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

:) , right,.. but he doesn't post here that much... or that was the first time I saw him over here, I might be worng... :) ...
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ok, I think Pete is being SPAMed....hmmmm,....Z!re now THAT's SPAMing!

BTW I won't be posting for a while, mabey a few days so there. I think
Z!re's happy about that.
"But...It was so beutifully done"
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Hello? this topic is dead so I'm reviving it.....anything to say?
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

Mitth'raw'nuruodo wrote:Hello? this topic is dead so I'm reviving it.....anything to say?
:) Um, yeah, its dead, Z!re got mad with us smamming, and I don't like the lable, so, I stopped replying here.. and this will be my last post here.. it takes up memory you know.. :roll:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

ok
"But...It was so beutifully done"
Post Reply