The Daily Click ::. Forums ::. Klik Coding Help ::. Need Help in TGF
 

Post Reply  Post Oekaki 
 

Posted By Message

Mingy Jongo



Registered
  20/01/2004
Points
  469
17th February, 2004 at 16:00:13 -

I have an object with two animations: A door, closed and open. I want to make it so that when an object touches the door when it is open, it goes to the next level, but if it's shut, it won't. I've been trying for an hour to figure it out. How do you do it?

 
n/a

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
17th February, 2004 at 16:05:53 -

Ok, well make two directions in the standard STOPPED animation.

LEFT = door is open
RIGHT = door is shut

Object is overlapping door + door is facing LEFT: Jump to next level.

Of course, you'd need to set the direction of the door to RIGHT until all the level objectives have been done, in which case you'd tell the door to change direction.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click