diff options
| author | 1029chris <1029chris@gmail.com> | 2016-06-25 14:52:00 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-06-25 14:52:00 -0700 |
| commit | 13de07d1a55433db2346428dced9c8932c89a3d4 (patch) | |
| tree | 779bbe0a5396627ffdc641520cbf0a7f91f02f55 /desktop.lua | |
| parent | 28f51100a9ccf6af33e9df632782ef34a77d0f34 (diff) | |
Tentacles shake with the virus
Diffstat (limited to 'desktop.lua')
| -rw-r--r-- | desktop.lua | 8 |
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 |
