heya i hope im in the right section finally
i have tried many ways to get my char from not walking thru a wall
does anyone has a good code?
thnx
regards,
Ricer
heya i hope im in the right section finally
i have tried many ways to get my char from not walking thru a wall
does anyone has a good code?
thnx
regards,
Ricer
you have to use the hitTest function
i did that, didnt work :S
only thing happend was that the wall was moving :S
http://www.n99creations.com/?pID=archives&col=Blue&arch=getBounds_as_walls
that help? Itβs a very basic example
Yeah it worked
thanks man ^^
ur awsome (i know i sound noobish :p)
One more question
i want to make more than one wall but if i do the char cant walk because the movieclip will have a whole square selected
anything to do about that?
(yes i know im a noob )
dude.onEnterFrame = function(){
if(_root.ground.hitTest(this._x,this._y,true)){
trace(βgayβ);
}
}
:: Copyright KIRUPA 2024 //--