|
Instead of using a path movement, use flags and set the moving platform to move X pixels every Y amount of time and toggle flag 1 when touching an invisible active object. When it's supposed to move right set the platform's flag 1 to on, and set it to move positive X pixels every Y amount of time, and when it's supposed to move left set flag 1 to off, and have it move negative X pixels every Y time. Then add:
If Z player object's bottom sensor touches the moving platform + Z player object's animation is not jumping + moving platform's flag 1 is off then move negative X pixels every Y time. If Z player object's bottom sensor touches the moving platform + Z player object's animation is not jumping + moving platform's flag 1 is on then move positive X pixels every Y time.
Congratulations, you've got roughly the second game in MFGG's history to have working moving platforms (the first being Luigi Quest of course.)
--------------------
the only good userbar on earth: 
|