A level editor for my unnamed-platformer project. https://gitea.planet-casio.com/KikooDX/unnamed-platformer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
up-editor/tiles.lua

15 lines
506 B

local img_path = "img/"
tiles = {
love.graphics.newImage(img_path.."ground.png"),
love.graphics.newImage(img_path.."spike.png"),
love.graphics.newImage(img_path.."elevator1.png"),
love.graphics.newImage(img_path.."glue.png"),
love.graphics.newImage(img_path.."ice.png"),
love.graphics.newImage(img_path.."secret.png"),
love.graphics.newImage(img_path.."coin.png"),
love.graphics.newImage(img_path.."jitem.png"),
}
tiles_char = { '0', 'v', '^', '#', '~', 's', 'c', 'j' }
selected_tile = 1