Hello, i have a problem:
I have a type called "bomb", and wanna use imagescollide command for determine collision with 2 "bomb"´s, but i don´t know how to do,it´s posible make imagescollide with the same type "bomb"?
mi code it´s this, but don´t work..
For a1.bomb=Each bomb
For b1.bomb=Each bomb
If ImagesCollide (a1\graf,a1\x,a1\y,0,b1\graf,b1\x,b1\y,0)
Delete a1: Return
EndIf
Next
Next
I have a type called "bomb", and wanna use imagescollide command for determine collision with 2 "bomb"´s, but i don´t know how to do,it´s posible make imagescollide with the same type "bomb"?
mi code it´s this, but don´t work..
For a1.bomb=Each bomb
For b1.bomb=Each bomb
If ImagesCollide (a1\graf,a1\x,a1\y,0,b1\graf,b1\x,b1\y,0)
Delete a1: Return
EndIf
Next
Next