Create a moving platform for player to land on
butterbean
Member Posts: 4,315
I tried creating a moving platform, and when the player lands on it, she will jiggle for a bit, and then fall through the platform, whereas when the platform is not moving, the player lands on it just fine.
My goal is to make either a platform that moves once the player lands on it, and also create platforms that move back and forth, and the player must time the jump to go from place to place.
Any ideas?
My goal is to make either a platform that moves once the player lands on it, and also create platforms that move back and forth, and the player must time the jump to go from place to place.
Any ideas?
Comments
Then I would create some rules:
When player collides with platform change platmove to true
Then in both the player and the platform (so they move together) I would place a rule that says:
when platmove = true
move back and forth (use the wiki - there is a good entry about moving back and forth)
Under player actor:
Rule: When collides with "MovingPlatform"
Change attribute: Game.moveplatform to true
Timer: For 3 seconds: Move: speed 50 additive and relative to actor
Under moving platform actor:
I put rule:
When game.movingplatform is true:
Timer: for 3 seconds
Move: speed 50, additive, relative to actor
What happens is she moves with the platform, but once it stops moving, she falls through it
How can I have her move with the platform, but once it stops, keep her standing on it?
Also: I wanted more flexibility with her being able to jump before the platform stops moving, but she is stifled by the rules of the platform movement, is this the only solution to do this?