Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen 13 buffer
#2
quick suggestion. if you're only using integers, use integer division. ("\" instead of "/"). and instead of mod, which uses division to do its thing, use "and" on powers of 2. so instead of:

something mod 16

use

something and 15

also, just the usual, unroll loops and dont use different data types together, etc. actually, if you want "pure qb" for some reason, i'd go ahead and not use subroutines for sprites unless it's necessary, as qb's stack handler blows. instead, i'd use one giant drawscreen sub and not let that call anything except maybe setvideoseg.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply


Messages In This Thread
Screen 13 buffer - by Aaron - 05-04-2003, 10:37 AM
Screen 13 buffer - by toonski84 - 05-04-2003, 07:06 PM
Screen 13 buffer - by relsoft - 05-05-2003, 10:53 AM
Screen 13 buffer - by Aaron - 05-05-2003, 07:40 PM
Screen 13 buffer - by Aaron - 05-06-2003, 09:00 AM
Screen 13 buffer - by relsoft - 05-09-2003, 12:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)