aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop.lua b/desktop.lua
index 5b6aece..aa8023a 100644
--- a/desktop.lua
+++ b/desktop.lua
@@ -135,15 +135,15 @@ function drawTentacles()
end
if v1.t.t[i].si == 0 then
if v1.t.t[i].t == 1 then
- love.graphics.draw(v1.tent1,v1.t.t[i].x+v1.t.x,v1.t.t[i].y,math.rad(-90+v1.t.t[i].r),v1.t.t[i].s*sys.sh,v1.t.t[i].sy*sys.sw+v1.t.t[i].syc,16)
+ love.graphics.draw(v1.tent1,v1.t.t[i].x+v1.t.x+v1.shakex,v1.t.t[i].y+v1.shakey,math.rad(-90+v1.t.t[i].r),v1.t.t[i].s*sys.sh,v1.t.t[i].sy*sys.sw+v1.t.t[i].syc,16)
elseif v1.t.t[i].t == 2 then
- love.graphics.draw(v1.tent2,v1.t.t[i].x+v1.t.x,v1.t.t[i].y,math.rad(-90+v1.t.t[i].r),v1.t.t[i].s*sys.sh,v1.t.t[i].sy*sys.sw+v1.t.t[i].syc,16)
+ love.graphics.draw(v1.tent2,v1.t.t[i].x+v1.t.x+v1.shakex,v1.t.t[i].y+v1.shakey,math.rad(-90+v1.t.t[i].r),v1.t.t[i].s*sys.sh,v1.t.t[i].sy*sys.sw+v1.t.t[i].syc,16)
end
elseif v1.t.t[i].si == 1 then
if v1.t.t[i].t == 1 then
- love.graphics.draw(v1.tent1,(-v1.t.t[i].x)+(sys.w-v1.t.x),v1.t.t[i].y,math.rad(90+v1.t.t[i].r),v1.t.t[i].s*sys.sh,v1.t.t[i].sy*sys.sw+v1.t.t[i].syc,16)
+ love.graphics.draw(v1.tent1,(-v1.t.t[i].x)+(sys.w-v1.t.x)+v1.shakex,v1.t.t[i].y+v1.shakey,math.rad(90+v1.t.t[i].r),v1.t.t[i].s*sys.sh,v1.t.t[i].sy*sys.sw+v1.t.t[i].syc,16)
elseif v1.t.t[i].t == 2 then
- love.graphics.draw(v1.tent2,(-v1.t.t[i].x)+(sys.w-v1.t.x),v1.t.t[i].y,math.rad(90+v1.t.t[i].r),v1.t.t[i].s*sys.sh,v1.t.t[i].sy*sys.sw+v1.t.t[i].syc,16)
+ love.graphics.draw(v1.tent2,(-v1.t.t[i].x)+(sys.w-v1.t.x)+v1.shakex,v1.t.t[i].y+v1.shakey,math.rad(90+v1.t.t[i].r),v1.t.t[i].s*sys.sh,v1.t.t[i].sy*sys.sw+v1.t.t[i].syc,16)
end
end
if v1.t.t[i].d == false and v1.c.chat.msgs <= 40 then