Actors hiding behind foreground can still be "touched"
stryktips
Member Posts: 3
Hi,
I'm just starting out with GS and the first real issue that I can't seem solve is how actors still gets triggered by the "touch is pressed" condition even though they can't be seen.
I want to be able to kill an actor by touching it, but not if the actor is hiding behind something in the foreground.
How do I solve that?
I realize that this might be something really obvious and basic since I've recently started out, and in that case I apologize for taking up forum space.
I'm just starting out with GS and the first real issue that I can't seem solve is how actors still gets triggered by the "touch is pressed" condition even though they can't be seen.
I want to be able to kill an actor by touching it, but not if the actor is hiding behind something in the foreground.
How do I solve that?
I realize that this might be something really obvious and basic since I've recently started out, and in that case I apologize for taking up forum space.
Comments
Asymptoteell
So, your actor, when hidden, gets moved off screen completely.
He then gets put back to his position when 'exposed' so you can click him.
Hope that helps,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io