aboutsummaryrefslogtreecommitdiff
path: root/var.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-04-30 21:50:07 -0700
committer1029chris <1029chris@gmail.com>2016-04-30 21:50:07 -0700
commit9cbb6fa487c4e87085c1e32269ce671e99760b44 (patch)
treef7056cc4e2abe913f26d82a6c09d81a7876de611 /var.lua
parent0b95f7b3e6531d599d705fb8692d86fc0abb45d6 (diff)
Added more to the fight
ship explodes at 20 health fight stops at 0 health other fixes refresh rate adjustments
Diffstat (limited to 'var.lua')
-rw-r--r--var.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/var.lua b/var.lua
index 5ae3c1c..262b3f7 100644
--- a/var.lua
+++ b/var.lua
@@ -36,6 +36,7 @@ function loadIcon(id, x, y)
end
function loadVar()
sys = {}
+ sys.s = 0
sys.width = love.graphics.getWidth()
sys.height = love.graphics.getHeight()
sys.mouse = {}
@@ -146,6 +147,9 @@ function loadVar()
v1.spm = 1
v1.abis = 1
v1.left = false
+ v1.shake = 0
+ v1.shakex = 0
+ v1.shakey = 0
expl.deb[1].x = 0
expl.deb[1].y = 0
expl.deb[1].ym = 5