2020-03-19 17:37:52 +01:00
|
|
|
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"),
|
|
|
|
}
|
2020-03-20 10:43:49 +01:00
|
|
|
tiles_char = { '0', 'r', 'b', 'v', '^', 'w', '*', 'S', 'E'}
|
2020-03-19 17:37:52 +01:00
|
|
|
|
|
|
|
selected_tile = 1
|