draw_move_node_shadow = function() 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', 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)) -- 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