RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5  Next 
View previous topic - View next topic  
Author Message
Ninkazu
Demon Hunter


Joined: 08 Aug 2002
Posts: 945
Location: Location:

PostPosted: Fri Jan 17, 2003 12:52 am    Post subject: [quote]

um... you can just write directly to the array for one color, then you don't have to do pokes and def segs.
Code:

IF c < 127 THEN
 c = c * 257
ELSE
 c = c * 257 - 65536
END IF
FOR n = 4 TO 31999
  buffer(n) = c
NEXT
Back to top  
Tenshi
Everyone's Peachy Lil' Bitch


Joined: 31 May 2002
Posts: 386
Location: Newport News

PostPosted: Fri Jan 17, 2003 3:21 am    Post subject: [quote]

- Yeah, I know.. that works for pure blits... but once it gets down to individual pixels and plotting sprites, that method becomes slower than straight poking into memory, especially when you would have to perform several mathematical operations, and array accesses. It's much faster to do a poke, especially when you consider the Assembly equivalents. =T
_________________
- Jaeda
Back to top  
Barok
Stephen Hawking


Joined: 26 Nov 2002
Posts: 248
Location: Bushland of Canada

PostPosted: Fri Jan 17, 2003 4:35 am    Post subject: [quote]

hmmm... very interresting. i put your code onto a txt and ran it. the result? the same as when i try to run my scrolling rpg!! i think there may be a connection between the two. maybe it's because i'm using qbasic 1.1.
_________________
Adosorken: I always liked slutty 10th graders...
Rhiannon: *Slap!*
Back to top  
Tenshi
Everyone's Peachy Lil' Bitch


Joined: 31 May 2002
Posts: 386
Location: Newport News

PostPosted: Fri Jan 17, 2003 5:49 am    Post subject: [quote]

- Try QuickBasic 4.5 ... =)
_________________
- Jaeda
Back to top  
Barok
Stephen Hawking


Joined: 26 Nov 2002
Posts: 248
Location: Bushland of Canada

PostPosted: Fri Jan 17, 2003 6:52 am    Post subject: [quote]

as i told you, i tried using it. i got it on the comp, but it won't work. i hit the bc button, but it is just a black box that asks for a .bas file, then an obj, then a lst. then it disappears. i hit qb, but it says that something's wrong. i'm tired of getting it legally. i'm gonna try again to get it from another comp, (old one, w 3.1) and if it fails, well, i'll just download it. (i just heard it's illegal to download.)
_________________
Adosorken: I always liked slutty 10th graders...
Rhiannon: *Slap!*
Back to top  
Barok
Stephen Hawking


Joined: 26 Nov 2002
Posts: 248
Location: Bushland of Canada

PostPosted: Fri Jan 17, 2003 6:53 am    Post subject: [quote]

hey bjorn!! i changed one thing, and got rid of nearly all of the flickering! i just changed or to xor. if you want the updated version, e-mail me for it.
_________________
Adosorken: I always liked slutty 10th graders...
Rhiannon: *Slap!*
Back to top  
Ninkazu
Demon Hunter


Joined: 08 Aug 2002
Posts: 945
Location: Location:

PostPosted: Fri Jan 17, 2003 12:28 pm    Post subject: [quote]

it's at http://venosoft.com and I know that copy works. It is illegal to download it, I know.... but why would microsoft care so much about an 18 year old obsolete dead langauge?

Screw microsoft, this is for educational purposes... sorta.
Back to top  
Barok
Stephen Hawking


Joined: 26 Nov 2002
Posts: 248
Location: Bushland of Canada

PostPosted: Fri Jan 17, 2003 3:57 pm    Post subject: [quote]

1. qbasic's not so dead.
2. many people use it, and will use it because it's easy to use.
_________________
Adosorken: I always liked slutty 10th graders...
Rhiannon: *Slap!*
Back to top  
Adam
Mage


Joined: 30 Dec 2002
Posts: 416
Location: Australia

PostPosted: Fri Jan 17, 2003 4:12 pm    Post subject: [quote]

if its a language that you use how can it be dead :D
_________________
https://numbatlogic.com
Back to top  
Tenshi
Everyone's Peachy Lil' Bitch


Joined: 31 May 2002
Posts: 386
Location: Newport News

PostPosted: Fri Jan 17, 2003 6:22 pm    Post subject: [quote]

- I highly suggest downloading QB4.5, illegal or not. I really cannot be of much further help in a language I never used. QB1.1 does not have a lot of features that I use in QB4.5. =T Don't worry about it, just go gets it. =D
_________________
- Jaeda
Back to top  
Barok
Stephen Hawking


Joined: 26 Nov 2002
Posts: 248
Location: Bushland of Canada

PostPosted: Fri Jan 17, 2003 7:42 pm    Post subject: [quote]

hmmm. i may not have to get it illegally. there's one good thing with having your mom as a science teacher.

at school, there are some old computers. i remember that they have qb 4.5 on them. i can get a disc, copy it on it get it legally! i have a thing about doing things illegal, you know.
_________________
Adosorken: I always liked slutty 10th graders...
Rhiannon: *Slap!*
Back to top  
Mandrake
elementry school minded asshole


Joined: 28 May 2002
Posts: 1341
Location: GNARR!

PostPosted: Fri Jan 17, 2003 8:16 pm    Post subject: [quote]

Barok, that's called making an illegal copy.
Back to top  
Ninkazu
Demon Hunter


Joined: 08 Aug 2002
Posts: 945
Location: Location:

PostPosted: Fri Jan 17, 2003 9:28 pm    Post subject: [quote]

Mandrake's right, unless QB4.5 has a multiple computer license, which I severely doubt.

Ya, having a disk with qb4.5 from a legal computer is the same as distribution on the internet. There are over 1000 pages that have qb to download, jesus, just get it.
Back to top  
Barok
Stephen Hawking


Joined: 26 Nov 2002
Posts: 248
Location: Bushland of Canada

PostPosted: Sat Jan 18, 2003 4:23 am    Post subject: [quote]

don't blame me. blame some guy named Vic Luce. I read that in his tutorials. i quote:
[quote]In no way do i want to give the hint that you should find qb 4.5 on the internet, because it is illegal, if you know a friend that has this on his/her computer legally, then i would use his/hers... that's what all qb 4.5 programmers do anyway, right?...[/quote]


upon first look, it seems like it means by "use his /hers" i got the impression, copy it. when you take a closer look, it seems to mean that you should use his/her computer. so in some way, i was responsible for not reading it clearly enough.

anyways, i got it now. no use fussing over spilt milk. what were we talking about before we started talking about 4.5?
_________________
Adosorken: I always liked slutty 10th graders...
Rhiannon: *Slap!*
Back to top  
Tenshi
Everyone's Peachy Lil' Bitch


Joined: 31 May 2002
Posts: 386
Location: Newport News

PostPosted: Sat Jan 18, 2003 7:25 am    Post subject: [quote]

- Maps, loading and running, and how you should use Binary to do it. =)
_________________
- Jaeda
Back to top  
Post new topic Reply to topic Page 3 of 5 All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum