I've noticed that SPRITE HIT is returning true when only the transparent areas of the bitmap have overlapped. I thought this was supposed to be SPRITE COLLISION and that SPRITE HIT detected when non-transparent areas overlap.
Here's a code snip. What's up with it?
sync on
sync rate 0
load image "f15.bmp", 1
load image "tropic.bmp", 2
Y = 400
sprite 1, 320, Y, 1
size sprite 1, 50, 50
clone sprite 1, 2
sprite 2, 320, 200, 1
do
cls
paste image 2, 0, 0
dec Y, 1
sprite 1, 320, Y, 1
size sprite 1, 50, 50
sleep 20
if sprite collision(1,2) then print "collide"
if sprite hit(1,2) then print "hit"
sync
loop
end
Thanks!