Please, NEED SOME HELP !!

MSstudioMSstudio Member Posts: 8
edited November -1 in Working with GS (Mac)
Hi there guys

So i'm working on a new game but im kind of struggling. I want it to be so as a actor stands on a button, a wall/gate somewhere else in the same scene moves up so the actor can walk though. But when the actor moves off the button, the gate closes again.

I also want to wall/gate to animate upwards but as i tried this there was just a black space remaining where the gate was before.

Thanks in advance.

Comments

  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    To move the gates I would use Interpolate self position Y. And then just create an attribute saying, when actor collides with button change attribute to 1, otherwise to 0. And then in the gate just say when attribute = 1 interpolate self position Y.

    Hope that helps...
  • MSstudioMSstudio Member Posts: 8
    Thank you so much for your help.
Sign In or Register to comment.