I have a similar question.
I'd like to determine if the collision occured with block type 1 or block type 2. I set different flag values for the blocks, but don't know how to access them in the collision event.
I was hoping to do something like the following.
function ContactEvent()
{
switch (event_type)
{
case EVENT_BLOCK:
{
if (is(CollidedBlock,FLAG6))
snd_play(sndA,100,0);
else
if (is(CollidedBlock,FLAG5))
snd_play(sndB,100,0);
}
}
}
So the big question is: Is there a way to identify the CollidedBlock and then determine its flag settings?
Thanks in Advance...