jtmm/up-editor/tiles.lua

17 lines
568 B
Lua

local img_path = "img/"
tiles = {
love.graphics.newImage(img_path.."ground.png"),
love.graphics.newImage(img_path.."red_dot.png"),
love.graphics.newImage(img_path.."blue_dot.png"),
love.graphics.newImage(img_path.."spike.png"),
love.graphics.newImage(img_path.."elevator1.png"),
love.graphics.newImage(img_path.."water.png"),
love.graphics.newImage(img_path.."bouncer.png"),
love.graphics.newImage(img_path.."spawn.png"),
love.graphics.newImage(img_path.."exit.png"),
}
tiles_char = { '0', 'r', 'b', 'v', '^', 'w', '*', 'S', 'E'}
selected_tile = 1