Re: A86: adding some variables (on-calc)


[Prev][Next][Index][Thread]

Re: A86: adding some variables (on-calc)




>it's all a matter of doing different things with the result of findpixel.
> i think i'll let someone with more expertise in the matter answer this
>
>-josh


It's not hard at all...

    ;load x and y coords into bc like you would when you want to draw a
sprite
PxTest:
    call FindPixel
    and (hl)
    jr z,PixelOff
PixelOn:
    ;do stuff
    ;zero flag is reset
_________
JBrett
tbarwick@esn.net - http://brett.acz.org
ICQ UIN: 20607010
AIM: BarwickBJ
ACZ member - http://www.acz.org