Re: A86: re: moving sprites


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

Re: A86: re: moving sprites



I've tried both of these routines, but the sprite just stays in one place
and looks a little lighter than it should. 

> ld a,ycoord
> ld e,a
> ld a,xcoord
> ld hl,SpriteName
> call PutSprite

> >ld a,x-coor
> >ld e,y-coor
> >ld b,a
> >ld c,e
> >push bc
> >call PutSprite
> >pop bc
> >ld a,b
> >ld e,c
> >inc a



Follow-Ups: