moving platform with character

One of the levels in my game has a platform that my character gets on and moves to the end of the stage. The platform moves to the end, but i have to constantly move the character or else it falls off the stage. Any way to set a constrain attribute so you can move to the left and right on the platform but also be able to jump onto higher platforms while the platform moves underneath you?

Comments

  • colandercolander Member Posts: 1,610

    I have never done a platformer. Out if interest I had a go see if the attached project is what you are looking to do. There may be a better way of doing this some else might have a better solution.

  • GrolarbearGrolarbear Member Posts: 50

    That is exactly what I was looking for!!
    Thank you so much @colan

  • GrolarbearGrolarbear Member Posts: 50
  • GrolarbearGrolarbear Member Posts: 50

    @colander‌ With this project the character is only able to stay on the platform if the platform is moving slowly. (less than 50) Is there any way to do this at a faster speed?

  • colandercolander Member Posts: 1,610

    It doesn't make any difference as long as the hero comes into contact/collides with the platform. I set the platform to 300 and moved the hero's starting position down 50 otherwise it misses the platform if that is what you mean.

Sign In or Register to comment.