Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - z80 Collision testing

Reply to topic
Author Message
xC0000005
  • Guest
Reply with quote
z80 Collision testing
Post Posted: Fri Aug 27, 1999 4:26 am
Anyone have any collision testing routines in z80 assembler? The lack of JGE, JLE, ect is annoying. The routines I wrote aren't fast, and I keep thinking there's got to be a better way to do this. Specifically, the routines should be able to compare one XY set, and another XY set, and determine if they are within 16 bytes of each other.

Thanks.
 
xC0000005
  • Guest
Reply with quote
Post Posted: Fri Aug 27, 1999 4:27 am
Quote
> Anyone have any collision testing routines in z80 assembler? The lack of JGE, JLE, ect is annoying. The routines I wrote aren't fast, and I keep thinking there's got to be a better way to do this. Specifically, the routines should be able to compare one XY set, and another XY set, and determine if they are within 16 bytes of each other.
Oops, meant 16 pixels/units of each other.
Quote
> Thanks.
 
Reply to topic



Back to the top of this page

Back to SMS Power!