PixelProjectiles

by Shadowdarke
Pixel based directional projectiles
Version 3 · Date Added: 5/11/05

If you wish to download this library for your Linux/Mac installation, enter the following 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

[BYOND Favorite]BYOND Favorite
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)