Contents

Quickstart

Want to get a map on-screen as soon as possible? Just follow these instructions and you'll be using Dusk in no time.

Get the Code

Download the ZIP archive from GitHub, expand, and copy the engine folder (named "Dusk") into your project's root directory (the one with main.lua in it).

Include the Library

In your scene, add the following line:

local dusk = require("Dusk.Dusk")

Build a Map

Make a Tiled map and export it as JSON, then load it with the following:

local map = dusk.buildMap("path/to/map.json")

Make sure you include your extension, even if it's a Lua map!

Run Your Code

Run it in the Corona Simulator! Presto! A map.

More Stuff