Moving Platform
hambuerger7
Member Posts: 45
I am currently working on making a moving platform in my game, but I am coming across many problems.
1) How can I make the platform move at a constant speed?
2) After a few seconds the platform slowly starts moving downwards. I have looked at the walls that it collides with, but I can't seem to figure out the problem.
3) When the actor jumps on it, it falls at a much faster pace, so I guess it's the same question as #2: How do I allow it to move x but not y?
Any other tips?
Thanks in advance.
1) How can I make the platform move at a constant speed?
2) After a few seconds the platform slowly starts moving downwards. I have looked at the walls that it collides with, but I can't seem to figure out the problem.
3) When the actor jumps on it, it falls at a much faster pace, so I guess it's the same question as #2: How do I allow it to move x but not y?
Any other tips?
Thanks in advance.
Comments
Then add these rules to the top of your actor
Change attribute my Y to self.positionY
followed by
Constrain self.positionY to my Y
that will hold it in place