PDA

View Full Version : PLatformer



KIERIOSHIMOTO
July 2nd, 2005, 05:04 AM
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

.:.:Lui:.:.
July 2nd, 2005, 05:15 AM
how does the platform look like? can we see the swf?
maybe I can help...

KIERIOSHIMOTO
July 2nd, 2005, 05:21 AM
hey thanx for trying to help heres the fla and also could u help me with a hit test between my guy and a token or something so it will a 10 points or something?