GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Endless runner and elevator

Hey everyone,

i m working on endless runner game, I am trying to incorporate some moving platforms. I have watched some tutorials and every time my player touches the moving platform, it won't function. It completely stops or just shakes in place. Is there anyway to have the runner keep going straight and have the platform go up and down at the same time? thanks in advance.

Comments

  • RabidParrotRabidParrot Formally RabidParrot. Posts: 956Member

    What rules do you have to make the platforms move? Can you post a screenshot?

  • brittngoobrittngoo Posts: 3Member

    for the moving platform I created three attribute on the moving platform. myMin, myMax and mySpeed like i saw in youtube tutorial. Then I created a rule
    attribute self.Position Y < or equal to self.myMin
    then a interpolate self.position Y To: self.myMax
    Duration: self.mySpeed and function Linear.
    this makes the platform move up and for down it just a slight variation of this.
    this issue is that it won't function on this surface

Sign In or Register to comment.