# kikito/bump.lua

A collision detection library for Lua

Repository: https://github.com/kikito/bump.lua
Canonical: https://ross.abutalabs.com/products/bumplua
Language: Lua
License: MIT
License Family: permissive
Last push: 2023-09-29T16:28:50+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5211, "days_push": 1069, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1099, forks 84 (observed 2026-08-28T04:03:35.030577+00:00)

## What it is
bump.lua is a Lua library for axis-aligned bounding-box (AABB) collision detection with basic collision response, designed for gameistic (not realistic) physics. It uses a spatial grid for fast queries and works in any Lua-compatible environment, including LÖVE.

## Use cases
- detect collisions between rectangles in a Lua game
- build a platformer like Super Mario with sliding collision response
- make a top-down Zelda-style game with wall collisions
- prevent fast-moving bullets from tunneling through walls
- query which game entities touch a point, segment, or rectangular zone
- add simple physics to a shoot 'em up or fighting game

## When to choose
- your game entities can be represented as axis-aligned rectangles
- you want gameistic collision handling for a platformer or top-down game
- you need tunnelling protection for fast-moving objects
- you want a small, fast, memory-efficient pure-Lua library

## When to avoid
- you need circle or polygon collision shapes
- you need realistic physics like stacking or rolling
- you need simultaneous multi-object collision resolution in a deterministic order
- you are building a full physics simulation

## Facets
- artifact type: library
- maturity: maintenance
- function: game-engine, simulation
- domain: gaming-tools
- platform: lua, cross-platform
- tags: collision-detection, aabb, game-physics, love2d, spatial-hash, game-development

## Member repositories
- kikito/bump.lua (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:35.030577+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:46:03.702632+00:00, confidence not recorded.
  - readme: https://github.com/kikito/bump.lua (fetched 2026-08-28T04:03:35.030577+00:00, sha 91237fe90325)
- Data as of 2026-08-30T08:39:29.467469+00:00.
