jumping on moving platforms
Posted: Sat May 18, 2013 8:18 pm
hey,
in my game i made a platform that move horizontal. my player should move with the platform so i made this code
player-> collision top reapeat=yes
when i play it, and when he jumps on the platform, he moves with it but it looks like every time the platform changes the direction, the player slides some pixels away. looks like centrifuge ..
anyway, how can i make him move with the platform 1:1?
in my game i made a platform that move horizontal. my player should move with the platform so i made this code
player-> collision top reapeat=yes
- Code: Select all
player.xvelocity=move_ground.xvelocity;
when i play it, and when he jumps on the platform, he moves with it but it looks like every time the platform changes the direction, the player slides some pixels away. looks like centrifuge ..
anyway, how can i make him move with the platform 1:1?