summaryrefslogtreecommitdiffhomepage
path: root/portraits.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-05-21 01:21:42 +0200
committerAki <nthirtyone@gmail.com>2016-05-21 01:21:42 +0200
commita828872e5160bbc657c106b4b349c14b671498ba (patch)
tree923fa51d637901f8ae3d735c3c1a8742873493a7 /portraits.lua
parent01eb227519733ce149035955b1f2ede80102496a (diff)
downloadroflnauts-a828872e5160bbc657c106b4b349c14b671498ba.zip
roflnauts-a828872e5160bbc657c106b4b349c14b671498ba.tar.gz
roflnauts-a828872e5160bbc657c106b4b349c14b671498ba.tar.bz2
First move into portraits and HUD
Diffstat (limited to 'portraits.lua')
-rw-r--r--portraits.lua42
1 files changed, 42 insertions, 0 deletions
diff --git a/portraits.lua b/portraits.lua
new file mode 100644
index 0000000..80ffe8a
--- /dev/null
+++ b/portraits.lua
@@ -0,0 +1,42 @@
+-- Spritesheet for character portraits
+-- Original size: 331x199 (say what?)
+-- Single size: 32x32 1px border merged between
+local w, h = 331, 199
+return {
+ empty = {
+ normal = love.graphics.newQuad(298,133,32,32,w,h),
+ active = love.graphics.newQuad(298,166,32,32,w,h)
+ },
+ frog = {
+ normal = love.graphics.newQuad( 1, 1,32,32,w,h),
+ active = love.graphics.newQuad( 1, 34,32,32,w,h)
+ },
+ lonestar = {
+ normal = love.graphics.newQuad( 34, 1,32,32,w,h),
+ active = love.graphics.newQuad( 34, 34,32,32,w,h)
+ },
+ leon = {
+ normal = love.graphics.newQuad( 67, 1,32,32,w,h),
+ active = love.graphics.newQuad( 67, 34,32,32,w,h)
+ },
+ coco = {
+ normal = love.graphics.newQuad( 1, 67,32,32,w,h),
+ active = love.graphics.newQuad( 1,100,32,32,w,h)
+ },
+ derpl = {
+ normal = love.graphics.newQuad(100, 67,32,32,w,h),
+ active = love.graphics.newQuad(100,100,32,32,w,h)
+ },
+ voltar = {
+ normal = love.graphics.newQuad(265, 1,32,32,w,h),
+ active = love.graphics.newQuad(265, 34,32,32,w,h)
+ },
+ yuri = {
+ normal = love.graphics.newQuad( 67, 67,32,32,w,h),
+ active = love.graphics.newQuad( 67,100,32,32,w,h)
+ },
+ clunk = {
+ normal = love.graphics.newQuad(232, 1,32,32,w,h),
+ active = love.graphics.newQuad(232, 34,32,32,w,h)
+ }
+} \ No newline at end of file