up-editor/tiles.lua

16 lines
506 B
Lua

local img_path = "img/"
tiles = {
love.graphics.newImage(img_path.."ground.png"),
love.graphics.newImage(img_path.."spike.png"),
love.graphics.newImage(img_path.."elevator1.png"),
love.graphics.newImage(img_path.."glue.png"),
love.graphics.newImage(img_path.."ice.png"),
love.graphics.newImage(img_path.."secret.png"),
love.graphics.newImage(img_path.."coin.png"),
love.graphics.newImage(img_path.."jitem.png"),
}
tiles_char = { '0', 'v', '^', '#', '~', 's', 'c', 'j' }
selected_tile = 1