Since it been a little whle since i did a hittest.
I need a hitest that stops guy from going thrugh the wall…
I call this a solid hittest…
Im making a zelda type game with zelda graphics and some strange character…
I know that i have to MAKE A MC
But this is the code i have
if (!_root.land.hitTest(_x+x, _y+y, true)) {
_x += x;
_y += y;
} else {
inc *= -.6;
}
All that code does is make him move backwartds cuz i used it in my Car game…
But how to make it a solid hitest hmmm…
Can you help
A.S.A.P