aboutsummaryrefslogtreecommitdiff
path: root/assets.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-08-21 18:10:49 -0700
committer1029chris <1029chris@gmail.com>2016-08-21 18:10:49 -0700
commit0f3687480cd228265353c6ccde3fecbaaa6b9f09 (patch)
treebf2dbbe3cbdba2312f8dac5cbe13dee7044acb55 /assets.lua
parent4f6e2d326e04a18e867f3129ac846502651bd5aa (diff)
Virus 2 has more hands, the hands have a fade transition
Diffstat (limited to 'assets.lua')
-rw-r--r--assets.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/assets.lua b/assets.lua
index c8256b6..199e3e5 100644
--- a/assets.lua
+++ b/assets.lua
@@ -241,8 +241,17 @@ function loadAssets(id)
v2.c.idle.gunidle = love.graphics.newImage("assets/virus2_hands_gunidle.png")
v2.c.idle.fist = love.graphics.newImage("assets/virus2_hands_fist.png")
v2.c.idle.f = 1
+ v2.c.gunfront = love.graphics.newImage("assets/virus2_hands_gunfront.png")
+ v2.c.gunpoint = love.graphics.newImage("assets/virus2_hands_gunpoint.png")
+ v2.c.gunup = love.graphics.newImage("assets/virus2_hands_gunup.png")
v2.c.cockgun = love.audio.newSource("assets/virus2_shotgun_cock.ogg")
v2.c.fire = love.audio.newSource("assets/virus2_shotgun_fire.ogg")
+ v2.c.handsOp = 0
+ v2.c.gunidleOp = 0
+ v2.c.fistOp = 0
+ v2.c.gunfrontOp = 256
+ v2.c.gunpointOp = 0
+ v2.c.gunupOp = 0
v2.c.cockgunplay = false
loadAnimation(v2.c.idle.pic, v2.c.idle.fs, 37, 10, 250, 250)
v2.c.idle.mask = {}