blob: 6c09a8fe717b6c54bd1bef3acaa64f56e0cb2f3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
-- Spritesheet for character portraits
local nauts = require "nautslist"
local w, h = 1008, 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
|