Computer Science Canada

DanSprite problem...

Author:  Bains [ Fri May 21, 2004 5:43 pm ]
Post subject:  DanSprite problem...

is there a way to detect if two sprites hit each other Question

Arrow I want to know this because im doing a mario game and i want to show something when mario squishes the bog (the brown enemy that moves)

any suggestion, advice etc.


thx
Bains

Author:  Paul [ Fri May 21, 2004 7:12 pm ]
Post subject: 

u can base the detection on the size of the pic, once u do, find out where the coordinate that determines where the picture is being drawn. and just set up a virtual border around the picture, I think u only need to detect the bottom anyway. You can use whatdotcolor too, I suppose...

Author:  Tony [ Fri May 21, 2004 7:44 pm ]
Post subject: 

i think the question was is DanSprite included that as one of its methods. And no, I don't recall.

you should PM Hacker Dan with the sujestion to implement that.

Author:  Bains [ Fri May 21, 2004 8:31 pm ]
Post subject: 

thx for the heads up tony

and thx paul for the suggestion

Bains


: