Lighters pause in midpoints

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
HedgeHog builder
Posts: 15
Joined: Sat Aug 19, 2017 9:13 am

Re: Lighters pause in midpoints

Post by HedgeHog builder » Tue Oct 24, 2017 2:29 am

Will this work?

distances = {}

for key,value in ipairs(beacons) do
for i,unit in ipairs(spawned units)
local distance = math.sqrt((unit.x-k.x)^2 + (unit.y-k.y)^2

Then pick the last one?

Post Reply

Who is online

Users browsing this forum: No registered users and 51 guests