Search results
Sprite detection routine (calling Artrag)
Score: 166.53 %,
Type: Forum topic , Comments: 10 comments
under the top border
add (ix+6) ; add y offset within the sprite 1 (yoffset1)
ld e,a
ld d,0 ; de = ... (yoffset2)
ld l,a
; ld h,0 ; hl = y2 + yoffset2 + 32
ld h,d <=== optimization Metalion wrote:
How ... being 0.
If a collision is possible on the Y-axis then the code checks to see if there is a collosion ...
