Quote: "paste sprite 15,20,y `falling target sprite"
sprite collision works with sprites, not
pasted sprites:
sync on : sync rate 0
randomize timer()
draw sprites first
cls rgb(194,194,194)
get image 1,0,0,32,32,1
get image 2,0,0,1,1,1
for spr = 1 to 10
sprite spr, spr*40,40,1
set sprite diffuse spr, rnd(255), rnd(255), rnd(255)
next spr
sprite 20,0,0, 2
hide sprite 20
do
mx = mousex() : my = mousey()
sprite 20,mx, my, 2
hit = sprite collision (20,0)
center text mx, my+20, str$(hit)
sync
loop
hope that helps
Virtual Nomad @ California, USA . DBPro V7.5
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit