hitTest() is a fast and easy way to detect collisions with the walls. The draw back is that it uses movie clip. We use the following format to check for collision: on the stage you put all non-walkable tiles in a layer called non-walkable. Under that layer you put the walkable tiles. Now select all tiles in the non-walkable layer and convert it to movie clip and give it instance name "back".
could i have step by step instructions please
2007-02-25
22:51:47
·
2 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design