CollideImage Function?

BlitzMax Forums/BlitzMax Beginners Area/CollideImage Function?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I dont get it..

First of all, with if you assign an image to a certain layer, when do you do it?

Do you do it in the Type's create function?

Also where do you check for collisions? In a type? Or in the main loop?

If you assign them all to the same layer, how does it detect if they are colliding? Dont they only collide if a layer collides with a different layer?

If I were to shoot an alien with a layer 1 missile to a layer 0 alien how do you check for that?

Why doesnt this make sense? lol