If ImagesCollide.........

Blitz3D Forums/Blitz3D Beginners Area/If ImagesCollide.........

mouseHitBool=MouseHit(1)
If ImagesOverlap(mouse,MouseX(),MouseY(),fish2,fish_x2,fish_y2) And mouseHitBool :fish_speed2=fish_speed2+1:PlaySound bubbles2:score=score+15:EndIf 
If ImagesOverlap(mouse,MouseX(),MouseY(),fish1,fish_x1,fish_y1) And mouseHitBool :fish_speed1=fish_speed1+1:PlaySound bubbles2:score=score+10:EndIf
If ImagesOverlap(mouse,MouseX(),MouseY(),fish3,fish_x3,fish_y3) And mouseHitBool :fish_speed3=fish_speed3+1:PlaySound bubbles2:score=score+5:EndIf
If ImagesOverlap(mouse,MouseX(),MouseY(),time2,time_x,time_y) And mouseHitBool :time=time+300:PlaySound bubbles2:score=score+10:EndIf