HOME | DD

Computer-Turret — Machine Gun Advanced Engine

Published: 2008-04-06 15:09:12 +0000 UTC; Views: 373; Favourites: 0; 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

Tenuso [2008-04-08 01:12:35 +0000 UTC]

This is awesome dude, keep it up

👍: 0 ⏩: 1

Computer-Turret In reply to Tenuso [2008-04-08 01:17:37 +0000 UTC]

Thanks.

👍: 0 ⏩: 1

Tenuso In reply to Computer-Turret [2008-04-08 04:43:55 +0000 UTC]

No problem man. Oh, I also figured out that program, there's a picture of a guy on my page. He's all 3D and stuff lol. but he has no clothes yet lol.

👍: 0 ⏩: 0

psykopath [2008-04-08 01:10:02 +0000 UTC]

Cool. Waiting for those AI enemies

👍: 0 ⏩: 1

Computer-Turret In reply to psykopath [2008-04-08 01:17:24 +0000 UTC]

I'm torn between working on this and remaking the Portal Game and incorporating this idea...

👍: 0 ⏩: 0