he all im working on this little platformer, im not very far through yet i’ve got the guy animated and moving, ive got the platform suporting him, (the horizontle platform) but i cant seem to make it so he cant run through the verticle platform, here is my code
//if the guy is touching the platform
if ( hitTest(_root.platform) && jump == 0 && moveY > 0) {
moveY = 0;
//allign the guy to the top of the platform
while (hitTest(_root.platform) ) {
_y–;
}
any help will be apreciated