Wall not Blocking prob =(

heya i hope im in the right section finally :stuck_out_tongue:

i have tried many ways to get my char from not walking thru a wall

does anyone has a good code?

thnx :smiley:

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 :smiley:

thanks man ^^

ur awsome :wink: (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 ) :stuck_out_tongue:

dude.onEnterFrame = function(){
if(_root.ground.hitTest(this._x,this._y,true)){
trace(β€˜gay’);
}
}