jtmm/up-editor/tiles.lua
2020-05-13 14:10:50 +02:00

19 lines
685 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.."elevator1.png"),
love.graphics.newImage(img_path.."water.png"),
love.graphics.newImage(img_path.."bouncer.png"),
love.graphics.newImage(img_path.."semi_solid.png"),
love.graphics.newImage(img_path.."spawn.png"),
love.graphics.newImage(img_path.."exit.png"),
}
tiles_char = { '0', '1', 'r', 'b', 'v', '^', 'w', '*', '/', 'S', 'E' }
selected_tile = 1