jtmm_massena/up-editor/tiles.lua

24 lines
911 B
Lua
Raw Normal View History

2020-05-18 16:18:30 +02:00
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"),
2020-05-22 13:20:40 +02:00
love.graphics.newImage(img_path.."ice.png"),
2020-05-18 16:18:30 +02:00
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"),
}
2020-05-22 13:20:40 +02:00
tiles_char = { '0', '1', 'r', 'b', 'v', '^', 'w', '*', '~', '/', 't', 'T', 'd',
'S', 'E' }
2020-05-18 16:18:30 +02:00
selected_tile = 1