diff options
| author | 1029chris <1029chris@gmail.com> | 2016-10-16 04:47:17 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-10-16 04:47:17 -0700 |
| commit | 38775e9090dacbd5a663b7eb900778d0e4852046 (patch) | |
| tree | 11667f5d9f6b2449ad00896f46add3d933d442c8 /panel.lua | |
| parent | 41c81f2cff92d33808ab43d2ec6aab6e1703b89c (diff) | |
Added many attacks for Virus 2
started virus 2 fight
its playable now
its also 5 am
Diffstat (limited to 'panel.lua')
| -rw-r--r-- | panel.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -85,6 +85,16 @@ function drawStart() love.graphics.print("TIMER: " .. v1.fightMinute .. ":" .. math.floor(-(v1.fightTimer-60)), sys.w/2+130, panel.s.y+6) end end + if v2.c.chat.msgs >= 24 and v2.start == true then + drawDownBox(sys.w/2+166-250, panel.s.y, 101*2, panel.s.height,2) + love.graphics.setColor(100,0,0) + love.graphics.rectangle("fill",sys.w/2+166+1-250, panel.s.y+1, 200, panel.s.height-2) + love.graphics.setColor(455-v2.c.health*4.55,v2.c.health*2.55,20) + love.graphics.rectangle("fill",sys.w/2+166+1-250, panel.s.y+1, v2.c.health*2, panel.s.height-2) + love.graphics.setColor(colors.font.dark) + love.graphics.print("VIRUS HEALTH: " .. v2.c.health, sys.w/2-250, panel.s.y+6) + love.graphics.print("MONEY: $" .. math.floor(v2.c.money), sys.w/2+130, panel.s.y+6) + end end function drawNoti() notify.x = sys.w-258 |
