Macromedia Flash Help with Moving Platforms?

chaosancx

New member
I'm making a frogger like game and i need to know how to make moving platforms (floating logs and stuff). This is what i tried...
onClipEvent(enterFrame){
_x=_x+7
if(this.hitTest(_root.player)){
_root.player._x=_x+7
}
}
It worked in the sense that the player "latched" onto the log but once he was on the log, he couldnt move left or right.
 
Back
Top