I have several images that I have created as types using the HUD_CreateImage command. I can drag the images around the screen with the mouse and I want to know if an image has collided with another and I want to know what 2 images have collided. How can I do this using SpriteCandy's collision commands given that HUD_ObjectHitsObject can only check between to specific objects?
The type is like so:
type picture
field picimage
field picname$
end type
Then I create the types:
my.picture = new picture
my\picimage=HUD_CreateImage(CatPic)
my\picname$="cat"
my.picture = new picture
my\picimage=HUD_CreateImage(DogPic)
my\picname$="dog"
my.picture = new picture
my\picimage=HUD_CreateImage(BirdPic)
my\picname$="bird"
The type is like so:
type picture
field picimage
field picname$
end type
Then I create the types:
my.picture = new picture
my\picimage=HUD_CreateImage(CatPic)
my\picname$="cat"
my.picture = new picture
my\picimage=HUD_CreateImage(DogPic)
my\picname$="dog"
my.picture = new picture
my\picimage=HUD_CreateImage(BirdPic)
my\picname$="bird"