blob: e35fa612f1d81312899f1dcb0cfdc145794381de (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
-- Spritesheet for character portraits
local nauts = require "nautslist"
local w, h = 980, 27
local icons = {}
local i = 0
for _,naut in pairs(nauts) do
icons[naut] = love.graphics.newQuad(i*28, 0, 28, 27, w, h)
i = i + 1
end
return icons
|