PixelProjectiles

by Shadowdarke
[Share] [Zip]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Shadowdarke.PixelProjectiles##version=3

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Shadowdarke.PixelProjectiles##version=3

1585 downloads
Version 3
Date added: May 11 2005
Last updated: Jul 29 2009
13 fans
Pixel based directional projectiles [More]
Pixel Projectiles provides a simple interface for customizable directional projectiles that can fire at any angle, speed, and duration between updates and guarantees accurate hits.

Hooks are provided to allow you to define:
  • how hits are determined.

  • what happens when the projectile hits an atom.

  • what happens when the projectile reachs max range without a hit


  • Also includes a handy proc for spread shots. Fire an even spread or random shrapnel within the cone of fire with one easy proc call.

    Version 3: (04-04-2006)
  • Fixed a bug that caused high velocity projectiles to occasionally miss. Kudos to DarkCampainger for not only noticing it, but also finding the fix! (DarkCampainger, XxDohxX)

Advertisement

Comments

Syntty: (Jun 18 2011, 2:45 pm)
How could you make so that the projectile's icon state changes according to the direction the projectile (arrow in this case) is flying?
Spirit Gun 84: (Feb 13 2011, 5:01 pm)
Very efficient.