love-ts

0.2.1 • Public • Published

LOVE TS

A command line tool to manage and release LÖVE 2D TypeScript projects.

This project is a Work In Progress

It is available for download via NPM.

yarn global add love-ts

LÖVE 2D must be available via the command line (love) for love-ts to run correctly.

Commands

love-ts init

Initializes project files within the current directory. Must be run inside an empty directory.

Once complete, use love-ts to run the project.

love-ts

Runs a project.

Errors are traced back to the source original .ts files where the code failed.

love-ts watch

Runs the project updating as changes are made.

love-ts release

Creates a .love file with all the compiled game files.

  • Copies all resources under res/
  • Copies all dependencies listed in package.json under node_modules

Resources

Resource files should be placed into the res/ folder.

  res/
+   image.png
  src/
    main.ts

main.ts

love.graphics.newImage("res/image.png");

Readme

Keywords

none

Package Sidebar

Install

npm i love-ts

Weekly Downloads

1

Version

0.2.1

License

ISC

Unpacked Size

17.8 kB

Total Files

10

Last publish

Collaborators

  • hazzard993