From 0f3687480cd228265353c6ccde3fecbaaa6b9f09 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Sun, 21 Aug 2016 18:10:49 -0700 Subject: Virus 2 has more hands, the hands have a fade transition --- assets.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'assets.lua') 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 = {} -- cgit