From 1f2a41a60224229ba19b301b4c88694638992450 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 12 Jul 2016 05:34:28 +0200 Subject: Portraits --- assets/portraits.png | Bin 32486 -> 43567 bytes portraits.lua | 19 ++++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/assets/portraits.png b/assets/portraits.png index 7fcc9cf..72099bc 100644 Binary files a/assets/portraits.png and b/assets/portraits.png differ diff --git a/portraits.lua b/portraits.lua index 7c22eb2..e6afd34 100644 --- a/portraits.lua +++ b/portraits.lua @@ -1,5 +1,5 @@ -- Spritesheet for character portraits --- Original size: 331x199 (say what?) +-- Original size: 331x265 (say what?) -- Single size: 32x32 1px border merged between local w, h = 331, 220 return { @@ -119,6 +119,23 @@ return { normal = love.graphics.newQuad(265,133,32,32,w,h), active = love.graphics.newQuad(265,166,32,32,w,h) }, + -- 4. ROW + gorilla = { + normal = love.graphics.newQuad( 1,199,32,32,w,h), + active = love.graphics.newQuad( 1,232,32,32,w,h) + }, + nemo = { + normal = love.graphics.newQuad( 34,199,32,32,w,h), + active = love.graphics.newQuad( 34,232,32,32,w,h) + }, + rock = { + normal = love.graphics.newQuad( 67,199,32,32,w,h), + active = love.graphics.newQuad( 67,232,32,32,w,h) + }, + boss = { + normal = love.graphics.newQuad(100,199,32,32,w,h), + active = love.graphics.newQuad(100,232,32,32,w,h) + }, -- ARROWS arrow_left = love.graphics.newQuad(298,1,4,6,w,h), arrow_right = love.graphics.newQuad(303,1,4,6,w,h) -- cgit v1.1