Touch only ONE.

Omegas7Omegas7 Member Posts: 37
edited November -1 in Tech Support
Let's say I have a game with falling actors and you touch them through the iPhone screen...

When an actor is touched, the actor destroys itself.

However, when multiple actors are close to each other, and I touch the screen, both are destroyed. I just want one-per-touch.

I think this kind of issue will cause problems with tons of future games...

Comments

  • Omegas7Omegas7 Member Posts: 37
    Thanks, that was helpful. Now, I have this other issue here...

    Now, when 2 actors are at the same position and I touch them, only one is destroyed,
    which is great, but, it is the deeper (older spawned) actor the one destroyed.
    I only want the newest actor (higher priority) to be destroyed... Thanks.
  • TheTTheT Member Posts: 80
    If you spawn them, make the actor spawn behind the spawning actor or back of layer ? (there is a setting for this in the spawn tag)
Sign In or Register to comment.