PDA

View Full Version : Help with game.



Dave Reeves
February 21st, 2005, 05:08 AM
Get .fla here (http://members.shaw.ca/rookamalls/game.fla)

I need a way so he can't leave the tract. Also, when he makes contact with the outer wall, he starts back at the beggining to try again. Anybody have any ideas?

Thanks.

Dave

signifer123
February 21st, 2005, 06:23 AM
when you do this you, use hitTest like so:
_root.walls.hitTest(this._x, this._y, true)
this tests the x and y of the current object against the actaul pixels of the walls object

Attached (http://members.lycos.co.uk/signifer123/storeage/game.fla)