Colliders.lua

Download Latest Version

Colliders is a library that helps manage custom collisions in LunaLua, making custom behaviour much easier!

It supports native collisions between players and NPCs, as well as custom Box and Circle colliders to be constructed.

Installation
Place the file colliders.lua into the LuaScriptsLib folder.

How to use
To enable the Colliders library for a specific level, add this line to lunadll.lua: This will load the Colliders API.

Example
This will kill any NPC that touches the player (but may not stop them from killing the player too!)

Classes
These are classes contained within this library

Vector
Values

Functions

External Use Functions
These are functions you will need to use the library