hit detection question (click through issue)
I'm working on a game where you click an object that's moving.. if you miss clicking the object you click the black background.. pretty basic. -1 life if you miss. 0 lives, game over.
what i'm seeing is that my spawned actors coming on the screen, you click them and they register, but the sprite "hit box" on the lowest layer still triggers a hit condition for it as well.
what am I doing wrong so i can have a moving object on a "hot lava" background not also count when touching the spawned item on the upper layer.
what i'm seeing is that my spawned actors coming on the screen, you click them and they register, but the sprite "hit box" on the lowest layer still triggers a hit condition for it as well.
what am I doing wrong so i can have a moving object on a "hot lava" background not also count when touching the spawned item on the upper layer.
Comments
what was the point of the timer and .1 sec? is this a common trick used because perhaps without that .1 events get missed? my normal response to doing something like this would have been to just drop the behavior right in.
Thanks T!