A typical collider looks like this:
Code: Select all
-- x, y, width, height, tag, trigger
collider.newBox(100, 100, 250, 250, 'wall', false)
There is some jank that I'm not capable enough to understand, so if you see anything wrong please tell me!
Here is an example of the library at work: