0 Forks
0 Stars
0 Watchers

distances

This Lua module calculates the "infinite distance" between two sprites and detects the collision between them. Integration of the following specific distance cases: Manhattan distance (K distance with k = 1), Euclidean distance (K distance with k = 2), K distance (with k > 2). Integration of scale factors a and b for sprites.

How to download and setup distances

Open terminal and run command
git clone https://github.com/SlothyKernel1314/distances.git
git clone is used to create a copy or clone of distances repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with distances https://github.com/SlothyKernel1314/distances/archive/master.zip

Or simply clone distances with SSH
[email protected]:SlothyKernel1314/distances.git

If you have some problems with distances

You may open issue on distances support forum (system) here: https://github.com/SlothyKernel1314/distances/issues