Pixel Vision 8 CalculateDistance() Lua Tutorial
A fast way to calculate the distance between two points.
Usage
CalculateDistance ( x0, y0, x1, y1 )
Arguments
NameValueDescription
x0intThe first point’s x position.
y0intThe first point’s y position.
x1intThe second point’s x position.
y1...
pixelvision8.hashnode.dev3 min read