diff --git a/index.html b/index.html index 8e2fe1d..138aa0c 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@
-HardonCollider is a Lua module to simplify one important aspect in +
HC is a Lua module to simplify one important aspect in computer games: Collision detection.
It can detect collisions between arbitrary positioned and rotated shapes. Those shapes can either be circles or polygons. Any non-intersecting polygons @@ -44,22 +44,22 @@
You can download the latest packaged version as zip- - or tar-archive directly from +
You can download the latest packaged version as zip-
+ or tar-archive directly from
github. In that archive there will be a directory called
- vrld-HardonCollider-<numbers>
- you probably want to rename that to something
- shorter (hardoncollider
comes to mind).
You can also have a look at the sourcecode online here.
+vrld-HC-<numbers>
- you probably want to rename that to something
+ shorter (HC
comes to mind).
+ You can also have a look at the sourcecode online here.
If you use the Git command line client, you can clone the repository by running:
-git clone git://github.com/vrld/HardonCollider.git+
git clone git://github.com/vrld/HC.git
Once done, you can check for updates by running:
git pull
from inside the directory.
@@ -67,9 +67,9 @@This is an example on how to use HardonCollider. +
This is an example on how to use HC. One shape will stick to the mouse position, while the other will stay in the same place:
-HC = require 'hardoncollider'
+ HC = require 'HC'
-- array to hold collision messages
local text = {}