Pixel Projectiles (#4105)

Projectile hitscan effects moved to /effects/projectiles folder.
Most of projectile firing code and some of impact code refactored, and projectile hitscan effects refactored with ported TGcode (which is mostly TGcode I wrote anyways 😎)
Projectiles can now be fired at any angle, instead of just at the center of turfs!
Projectiles are now [in theory] 100% accurate down to 0.001 of a pixel.
This commit is contained in:
kevinz000
2018-03-10 07:13:24 -08:00
committed by Erki
parent 8723dce8b7
commit c000070a5b
58 changed files with 1105 additions and 861 deletions

View File

@@ -147,7 +147,7 @@
var/obj/item/projectile/beam/emitter/A = new /obj/item/projectile/beam/emitter( src.loc )
A.damage = round(power_per_shot/EMITTER_DAMAGE_POWER_TRANSFER)
A.launch( get_step(src.loc, src.dir) )
A.launch_projectile(get_step(src, dir))
/obj/machinery/power/emitter/attackby(obj/item/W, mob/user)