LZ: Re: Sprite question
[Prev][Next][Index][Thread]
LZ: Re: Sprite question
>> you'll have to cut and paste with the routine. The new inputs are
>> d=x displacement
>> e=y displacement
>> Then you change the routine so that is has a loop for
>> srl a's and inc hl's
Whoops. What I meant to type was sla a.
>> i.e.
>> ;put this at the beginning
>> Loop1:
>> inc hl
>> dec e
>> jr nz,Loop1
>> ;put this every time there's a new byte
>> Loop2:
>> srl a
See above.
>> dec d
>> jr nz,Loop2
_______________________________________________________
Get Private Web-Based Email Free http://www.hotmail.com