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
bump please help! Even if its just directing me to some useful tutorials :-)
Welcome. Please read the FAQ at http://forums.gamesalad.com/discussion/66768, especially the section on Lack of Responses.
We ask that you not bump threads until a considerable amount of time has passed (e.g. a day).
What I'll suggest it to consider using two actors: one for the body and one for the mouth. Then set up the collide rule to use the mouth actor so that it only registers when colliding with the mouth.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks. Sorry about that.