diff options
Diffstat (limited to 'virus1.lua')
| -rw-r--r-- | virus1.lua | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -268,24 +268,6 @@ function drawVirusFight1() end drawBullets() end -function drawBubble(x,y,w,h,m) - love.graphics.setColor(255,255,255) - love.graphics.rectangle("fill", x+20, y, w-40, h) - love.graphics.rectangle("fill", x, y+20, w, h-40) - love.graphics.draw(v1.corner, x, y, 0, 2) - love.graphics.draw(v1.corner, x+w, y, 0, -2, 2) - love.graphics.draw(v1.corner, x+w, y+h, 0, -2, -2) - love.graphics.draw(v1.cornerSpike, x, y+h-20, 0, 2) - love.graphics.setColor(0,0,0) - love.graphics.setLineWidth(1.5) - love.graphics.line(x+20, y+1, x+w-20, y+1) - love.graphics.line(x+30, y+h-1, x+w-20, y+h-1) - love.graphics.line(x+1, y+20, x+1, y+h-20) - love.graphics.line(x+w-1, y+20, x+w-1, y+h-20) - love.graphics.setFont(pixeloperator) - love.graphics.printf(m,x+15,y+15,w-30) - love.graphics.setFont(pressstart) -end function addBullet(x,y,a,s,t) if t == "av" then table.insert(av.bullets, 1, {x=x,y=y,a=a,s=s,spx=0,spy=0,rm=false}) |
