Difference between revisions of "HC"

(Create library entry)
 
Line 1: Line 1:
 
== Collision detection for LÖVE ==
 
== Collision detection for LÖVE ==
HardonCollider is a Lua module to simplify one important aspect in computer games: Collision detection.
+
HardonCollider is a pure Lua library to simplify collision detection.
  
It can detect collisions between arbitrary positioned and rotated shapes. Those shapes can either be circles or polygons. Any non-intersecting polygons are supported (even concave ones).
+
It supports a variety of scale- and rotatable shapes: Rectangles, (non self-intersecting) polygons, circles and points.
  
In contrast to [[love.physics]], HardonCollider will only detect collisions, and not resolve them - you can decide how you want to respond to a collision.
+
In contrast to [[love.physics]], HardonCollider will only detect collisions, but not resolve them - you can decide how you want to respond to a collision.
  
If you have trouble using [[love.physics]] for collision detection, or if you feel the ten-ton hammer is too much, HardonCollider might be the right choice.
+
If you have trouble using [[love.physics]] for collision detection or if you feel the ten-ton hammer is too much, HardonCollider might be the right choice.
  
 
== Documentation and sourcecode ==
 
== Documentation and sourcecode ==

Revision as of 06:23, 26 September 2012

Collision detection for LÖVE

HardonCollider is a pure Lua library to simplify collision detection.

It supports a variety of scale- and rotatable shapes: Rectangles, (non self-intersecting) polygons, circles and points.

In contrast to love.physics, HardonCollider will only detect collisions, but not resolve them - you can decide how you want to respond to a collision.

If you have trouble using love.physics for collision detection or if you feel the ten-ton hammer is too much, HardonCollider might be the right choice.

Documentation and sourcecode

The documentation can be found on github: http://vrld.github.com/HardonCollider/

You can view the sourcecode online here: https://github.com/vrld/HardonCollider