A simple 2D tile-based collision detection package for Go.
- Fast tile-based collision detection
- Easy integration with game engines like Ebitengine
- Generic tile map support with any Integer type
[y][x]T
- Support for non-square tiles (different width and height values)
- Adaptive iteration count based on movement speed (anti-tunneling)
go get github.com/setanarut/tilecollider
See the examples directory for usage example.
go run github.com/setanarut/tilecollider/examples/demo@latest