Need help with walls

I’m making a game like 2D Counter Strike and I need to know how to keep the second player from walking through the walls. Additionally, I want to know how to implement weapons into the game which project bullets/circles or items which the player can pick up and can be stored in an inventory. Any help would be appreciated, I’ve included a .fla file and a .swf

use a hittest? :stuck_out_tongue:
I remember some one did an awesome lineto thing for a shooter and posted it here- search for it :slight_smile:

That’s an engine I made a while back. It has movement and an inventory. If you still need hitTest help, give us a yell.

that was awesome nathan! I used your engine and its fantastic! I just implemented my character into it and removed yours… but now the problem is that the walls don’t work and the player can move right through them… please help?

http://www.n99creations.com/?pID=archives&col=Blue&arch=getBounds_as_walls

:wink: