Difference between revisions of "HC"

Line 1: Line 1:
 
== Collision detection for LÖVE ==
 
== Collision detection for LÖVE ==
HardonCollider is a pure Lua library to simplify collision detection.
+
HC 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.
 
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.
+
In contrast to [[love.physics]], HC 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, HC might be the right choice.
  
 
== Documentation and sourcecode ==
 
== Documentation and sourcecode ==
The documentation can be found on github: http://vrld.github.com/HardonCollider/
+
The documentation can be found on github: http://vrld.github.com/HC/
  
You can view the sourcecode online here: https://github.com/vrld/HardonCollider
+
You can view the sourcecode online here: https://github.com/vrld/HC
  
 
{{#set:LOVE Version=Any}}
 
{{#set:LOVE Version=Any}}
 
{{#set:Description=A collision detection system}}
 
{{#set:Description=A collision detection system}}
 
[[Category:Libraries]]
 
[[Category:Libraries]]

Revision as of 21:18, 7 October 2015

Collision detection for LÖVE

HC 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, HC 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, HC might be the right choice.

Documentation and sourcecode

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

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