jtmm/up-editor/tiles.lua

24 lines
911 B
Lua

local img_path = "img/"
tiles = {
love.graphics.newImage(img_path.."solid_0.png"),
love.graphics.newImage(img_path.."solid_1.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.."elevator.png"),
love.graphics.newImage(img_path.."water.png"),
love.graphics.newImage(img_path.."bouncer.png"),
love.graphics.newImage(img_path.."ice.png"),
love.graphics.newImage(img_path.."semi_solid.png"),
love.graphics.newImage(img_path.."teleporter_0.png"),
love.graphics.newImage(img_path.."teleporter_1.png"),
love.graphics.newImage(img_path.."dust.png"),
love.graphics.newImage(img_path.."spawn.png"),
love.graphics.newImage(img_path.."exit.png"),
}
tiles_char = { '0', '1', 'r', 'b', 'v', '^', 'w', '*', '~', '/', 't', 'T', 'd',
'S', 'E' }
selected_tile = 1