diff options
author | MilkingChicken <THECHEESEMEISTERS@GMAIL.COM> | 2017-01-22 01:32:44 +1000 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-01-21 16:32:44 +0100 |
commit | 02e9c62463591d48a61cd1ff2fb0c798cd046168 (patch) | |
tree | ade9f1112acf48d0d751b92e4739fe31b75ceebd | |
parent | ae1547a22e7aa08c954133dc7320bc70077d1f9f (diff) | |
download | roflnauts-02e9c62463591d48a61cd1ff2fb0c798cd046168.zip roflnauts-02e9c62463591d48a61cd1ff2fb0c798cd046168.tar.gz roflnauts-02e9c62463591d48a61cd1ff2fb0c798cd046168.tar.bz2 |
Random added to spritesheet. (#26)
* Added `random` to list
* Added `random` to portraits spritesheet
-rw-r--r-- | assets/portraits.png | bin | 24594 -> 23640 bytes | |||
-rw-r--r-- | nautsicons.lua | 4 | ||||
-rw-r--r-- | nautslist.lua | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/assets/portraits.png b/assets/portraits.png Binary files differindex 0664be6..c9bbfed 100644 --- a/assets/portraits.png +++ b/assets/portraits.png 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 |