BFD:BFD[
5.50] → [
5.51:51]
B:BD[
5.250] → [
3.197:364]
if dist(vx(Move.node.x), vy(Move.node.y), vx(Move.oldx), vy(Move.oldy)) > 10 then
-- signal that a move will cause collisions
App.color{r=0.8, g=0.8, b=0.8}
love.graphics.rectangle('fill',
-- show original location of node, to help put it back
love.graphics.rectangle('line', vx(Move.oldx), vy(Move.oldy), scale(Move.node.w), scale(Move.node.h))
end
end
vx(Move.node.pos.x-Move.node.hs.x),
vy(Move.node.pos.y-Move.node.hs.y),
scale(Move.node.hs.x*2),
scale(Move.node.hs.y*2))