jtmm/up-editor/tiles.lua

24 lines
911 B
Lua
Raw Permalink Normal View History

2020-03-19 17:37:52 +01:00
local img_path = "img/"
tiles = {
2020-05-13 13:07:01 +02:00
love.graphics.newImage(img_path.."solid_0.png"),
love.graphics.newImage(img_path.."solid_1.png"),
2020-03-19 17:37:52 +01:00
love.graphics.newImage(img_path.."red_dot.png"),
love.graphics.newImage(img_path.."blue_dot.png"),
love.graphics.newImage(img_path.."spike.png"),
2020-05-17 14:27:46 +02:00
love.graphics.newImage(img_path.."elevator.png"),
2020-03-19 17:37:52 +01:00
love.graphics.newImage(img_path.."water.png"),
love.graphics.newImage(img_path.."bouncer.png"),
2020-05-19 14:09:19 +02:00
love.graphics.newImage(img_path.."ice.png"),
2020-05-13 13:07:01 +02:00
love.graphics.newImage(img_path.."semi_solid.png"),
2020-05-14 17:23:09 +02:00
love.graphics.newImage(img_path.."teleporter_0.png"),
love.graphics.newImage(img_path.."teleporter_1.png"),
2020-05-17 13:43:11 +02:00
love.graphics.newImage(img_path.."dust.png"),
2020-03-19 17:37:52 +01:00
love.graphics.newImage(img_path.."spawn.png"),
love.graphics.newImage(img_path.."exit.png"),
}
2020-05-19 14:09:19 +02:00
tiles_char = { '0', '1', 'r', 'b', 'v', '^', 'w', '*', '~', '/', 't', 'T', 'd',
'S', 'E' }
2020-03-19 17:37:52 +01:00
selected_tile = 1