Help with collision behaviors and touch options

Hey everyone! I'm fairly new to GS and have been drowning myself in tutorials lol. I've started working on my first project and am running into some issues. In my game, I have 3 actors on the ground that are supposed to "eat"/destroy falling actors. The actors on the ground don't move and the falling actors come from 3 distinct places but at random times. I want the falling actors to only be eaten when they come in contact with the mouth of the actor on the ground and only if the actor has been tapped to open/close it's mouth.

Issues: I can't figure out how to only get the actor to be destroyed when it comes in contact with the other actor's mouth. Now it destroys when it comes in contact with it's mouth but also any other part below it's mouth.

When one actor destroys a falling actor, the same actor is destroyed coming from the 2 other spawning places. Even if it hasn't come in contact with another actor.

I'm also finding that if I tap and hold down on the actor on the ground, that it's mouth will stay closed and continuously eat the falling actors. I don't want this to happen. I would like for it to be that it can only be tapped once at a time and not held continuously.

I would greatly appreciate any help!! I need it desperately! I'm stuck lol! Tutorial suggestions would be great also!

Thanks!

Comments

Sign In or Register to comment.