aboutsummaryrefslogtreecommitdiff
path: root/var.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-10-16 04:47:17 -0700
committer1029chris <1029chris@gmail.com>2016-10-16 04:47:17 -0700
commit38775e9090dacbd5a663b7eb900778d0e4852046 (patch)
tree11667f5d9f6b2449ad00896f46add3d933d442c8 /var.lua
parent41c81f2cff92d33808ab43d2ec6aab6e1703b89c (diff)
Added many attacks for Virus 2
started virus 2 fight its playable now its also 5 am
Diffstat (limited to 'var.lua')
-rw-r--r--var.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/var.lua b/var.lua
index 912402e..c732e09 100644
--- a/var.lua
+++ b/var.lua
@@ -203,6 +203,8 @@ function loadVar()
v2.c.spy = 0
v2.c.sp = 1
v2.c.angle = 0
+ v2.c.health = 100
+ v2.c.money = 0
v2.startTime = 0
v2.start = false
v2.startPopups = 10
@@ -226,6 +228,20 @@ function loadVar()
v2.gun = {}
v2.gun.rt = 0
v2.gun.r = 0
+ v2.fightStart = false
+ v2.bullets = {}
+ v2.sg = {}
+ v2.fightTimer = 0
+ v2.firstAttack = 0
+ v2.spm = 1
+ v2.shake = 0
+ v2.shakex = 0
+ v2.shakey = 0
+ v2.attackTimer = 0
+ v2.currentAttack = "first"
+ v2.attackNextTimer = 0
+ v2.nextAttack = 20
+ v2.popupTimer = 60
expl.deb[1].x = 0
expl.deb[1].y = 0
expl.deb[1].ym = 5