# LuaPill

LuaPill (short for "Practical Isometric Layering Library for Lua") is an engine for generating isometric maps for Löve2D and Lua.

    function love.load()
       map = require "luapill"
       local config = {
          tilewidth = 128,
          tileheight = 64,
          folder = "images"
       }
       map:setup(config)
    end

    function love.update(dt)
    end

    function love.draw()
       map:draw()
    end

    config = {
          tilewidth = number, -- required
          tilewidth = number, -- required
          folder = "path", -- required
          sortFolder = boolean, -- optional, default false
          defaultTile = number, -- optional, default 1
          tileIndex = number -- optional, default 1
       }

Grab it and give it a spin on [1]. There is even a full working demo there.

Enjoy!

Category:

- Libraries