if an actor overlaps with another actor and after 1 sec it doesn't overlap with a third actor..
giovanni-caglio
Member Posts: 6
hi guys I'm making a little game, I want that actor 1 when overlaps with actor 2 and, if after 1 second doesn't overlaps with actor 3, then , change scene. Sorry for any errors but I'm not English. Thanks and good day.
Comments
Does actor1 have to stay overlapping actor2 during the 1 second? If so, try these rules:
Actor1
When actor overlaps with actor2 change attribute self.overlapping to true Otherwise change attribute self.overlapping to false When actor overlaps with actor3 change attribute self.overlapping to false When attribute self.overlapping is true Change attribute self.overlapTime to game.Time When attribute game.Time > self.overlaptTime+1 Change Scene
If not, just remove the Otherwise section of the first rule.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
hey.
doesn't matter if actor1 overlaps with actor2 during the 1 second or not.
thanks, now I try yours rules