Install the DMC Corona Library

Copy files to your project

From a github zip or checkout, copy the following items to your project:

  • Put dmc_corona_boot.lua at the root-level of your project.

  • Put dmc_corona.cfg at the root-level of your project.

  • Put the entire dmc_corona folder at the root-level of your project.

    You can change the location if you want, in fact, the library was designed with that in mind. To find out more, see the additional documentation pages below.

Module Access

If using the default location ./dmc_corona, you would import files into your code like so:

local Websockets = require 'dmc_corona.dmc_websockets'
local Objects = require 'dmc_corona.dmc_objects'