From 02e9c62463591d48a61cd1ff2fb0c798cd046168 Mon Sep 17 00:00:00 2001 From: MilkingChicken Date: Sun, 22 Jan 2017 01:32:44 +1000 Subject: Random added to spritesheet. (#26) * Added `random` to list * Added `random` to portraits spritesheet --- assets/portraits.png | Bin 24594 -> 23640 bytes nautsicons.lua | 4 ++-- nautslist.lua | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/portraits.png b/assets/portraits.png index 0664be6..c9bbfed 100644 Binary files a/assets/portraits.png and b/assets/portraits.png differ diff --git a/nautsicons.lua b/nautsicons.lua index e35fa61..6c09a8f 100644 --- a/nautsicons.lua +++ b/nautsicons.lua @@ -1,6 +1,6 @@ -- Spritesheet for character portraits local nauts = require "nautslist" -local w, h = 980, 27 +local w, h = 1008, 27 local icons = {} local i = 0 @@ -8,4 +8,4 @@ for _,naut in pairs(nauts) do icons[naut] = love.graphics.newQuad(i*28, 0, 28, 27, w, h) i = i + 1 end -return icons \ No newline at end of file +return icons diff --git a/nautslist.lua b/nautslist.lua index 6a9a77f..d0c7a61 100644 --- a/nautslist.lua +++ b/nautslist.lua @@ -2,6 +2,7 @@ -- icons list is generated from this file return { "empty", -- empty + "random", --random "froggo", -- froggy "cowboy", -- lonestar "honic", -- leon -- cgit v1.1