Im creating a rpg.
The character moves arround happy(lol), but i dont want him to walk over the house or the tree. So i put a hittest on each butten(left,right,up,down) with the tree as obstacle. But now i am going to add more obstacles, so like the house and a river etc. Do i have to create a hittest for each object? As you can see i tried something with red dots, but that doenst work either.
or is there a better / other way to create obstacles?
(by the way: i removed all the hittests at the moment, so thats why no hittest is in the above swf)