by Bakasensei
Homing, straight, and area attack tile based projectiles! [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Bakasensei.Projectiles##version=2

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


Version 1.1
Date added: Mar 11 2008
Last updated: Jul 29 2009
11 fans
And easy way to make projectiles in your game with 1 proc using BYOND's tile based system, so not as laggy as pixel based movement. This is useful to just use this proc instead of defining alot of stuff in objects, or the verb itself, and doesn't lag as much.

A demo to test it out on with all 3 attacks.
Normal Straight Projectile
Homing Projectile
Area Attack

And has small other features like for:
Straight/Homing: Distance(How many tiles it can travel), and Delay(Between movement).
Area: Duration(How long it lasts in seconds), and Radious(How many tiles does it spread 0=itself).