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/issuesSimilar to distances repositories
Here you may see distances alternatives and analogs
material-design-icons aseprite AncientBeast postcss-sprites MBTileParser pokesprite DeadSimple-Pixel-Perfect-Camera unflattener video-thumbnail-generator sprites sprite-wxapp postcss-easysprites react-sprite-animator phaser-tilemap-plus GlueIT entypo citro2d ol-games unity-psd-ugui sdl2-sprite react-spritesheet video-thumbnail-sprite unity-surfaceshader-flipbook multiple-page-vue-webpack-example postcss-lazysprite free-tex-packer vm vic flag-sprites sprite-gen