HOME | DD

Computer-Turret avatar

Computer-Turret — Machine Gun Advanced Engine


Machine Gun Advanced Engine
Published: 2008-04-06 15:09:12 +0000 UTC; Views: 1832; Favourites: 2; Downloads: 4
Redirect to original
Description This engine checks if you are close enough to the hero to shoot, creates a line representing the shot of a machine gun and checks if a wall is in the way or not and if one is removes the line so you can't shoot.

Sounds easier than it was to make. You have to be within 60 pixels of the hero for him to shoot and without a wall in between.

I'm going to be adding AI enemies soon.

Oh and use WASD or Arrow Keys to move. Left click [and hold] to shoot.
Related content

Comments (5)