Skip to content

The Swiss Army knife for creating and distributing LOVE2D games.

License

Notifications You must be signed in to change notification settings

RentlessGarage/love-development-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)