5th February
written by admin

Handling Machine Gun Projectiles

Its been a tough week for me, we had a lot of things come up this past week that were unexpected, so I have a much smaller update this week.

I finally got the machine gun “AK47” turret completely hooked up.  In the process I decided that making all turret guns share the same code just wouldn’t work with the new version after the prototype.  So now I have a hierarchy of states that each turret gun derives from and then I just override the necessary functionality.  This allows me to not fire a “projectile” for each shot, but instead it finds a target and plays an “effect” and drains the enemy’s health based on the damage rate.

Anyway here is a quick screen cap of the AK47 in action.



Comments are closed.


31st December 2014
03rd August 2014
25th June 2014