feature/task-tweens #30

Merged
PeaAshMeter merged 9 commits from feature/task-tweens into main 2026-02-12 00:07:35 +03:00
Showing only changes of commit 08cfcca756 - Show all commits

View File

@ -1,4 +1,3 @@
local utils = require "lib.utils.utils"
local task = require "lib.utils.task" local task = require "lib.utils.task"
--- Отвечает за перемещение по тайлам --- Отвечает за перемещение по тайлам
@ -55,7 +54,7 @@ function behavior:runTo(target)
end end
end end
) )
local distance = target:subtract(positioned.position):length() local distance = target:subtract(positioned.position):length()
local duration = distance * 500 -- 500ms per unit local duration = distance * 500 -- 500ms per unit