DanSprite problem...
Author |
Message |
Bains
|
Posted: Fri May 21, 2004 5:43 pm Post subject: DanSprite problem... |
|
|
is there a way to detect if two sprites hit each other
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 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Paul
|
Posted: Fri May 21, 2004 7:12 pm Post subject: (No 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... |
|
|
|
|
|
Tony
|
Posted: Fri May 21, 2004 7:44 pm Post subject: (No 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. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Bains
|
Posted: Fri May 21, 2004 8:31 pm Post subject: (No subject) |
|
|
thx for the heads up tony
and thx paul for the suggestion
Bains |
|
|
|
|
|
|
|