Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 924 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 924 Bytes

love-development-kit

The Swiss Army knife for creating and distributing LOVE2D games.

Getting Started

Create a new LOVE2D project;

ldk init [project-name]

To bundle:

# The resulting bundle will be located in the build directory.
ldk bundle

To bundle, then run (useful for development);

ldk dev

Using luarocks in you're game? LDK supports it! Just edit you're ldk.project.json and add these fields;

Note: C Modules will not work with LOVE2D. Make sure your modules are pure lua!

// LDK WILL REJECT COMMENTS!! MAKE SURE TO REMOVE THEM!
{
    "luaversion": "[MAJOR.MINOR]", // example: 5.1
    "luarocks": true
}

Now just require from the lib directory!

local rock = require("lib.rock")

Planned Features

  • build subcommand to fuse games for Windows and Linux.
  • configuration of zip layout
  • hotreload
  • standard library (camera, actor, vector, etc)