Home

Awesome

Collider

Collider is a Java library for efficient and precise 2-D collision detection with a simple interface. Collider uses continuous collision detection, which basically means that the time of the collision is determined very precisely as opposed to using a time-stepping method.

On Hiatus

The Java Collider project is on hiatus. I have shifted my focus to the Rust programming language, so I have ported Collider to Rust. That project is more up-to-date, and you can find it at https://github.com/SergiusIW/collider-rs.

Download

Release builds of Collider are available at https://github.com/SergiusIW/collider/releases. At some point in the future I will start uploading release builds to Maven Central.

Documentation

Javadocs for Collider come with the distribution that you download. The Javadocs for the latest release may be read online at http://www.matthewmichelotti.com/projects/collider/api/.

Source Code

This project is open-source and available on GitHub. You can find the source code at https://github.com/SergiusIW/collider.

Demos

There is currently no tutorial for using the Collider library. Along with reading the javadocs, you can learn how to use Collider by studying the code for the demos. These demos were used to make the youtube video. The code for the demos can be found in two modules in the github repository, demos-core and demos-desktop.

Dependencies

The Collider library does not depend on any third party libraries. However, the Collider demos depend on LibGDX. Building with Gradle will download these dependencies for you. See the build.gradle files for more details.

License

Collider is licensed under the Apache 2.0 License.