Skip to content

Commit

Permalink
Updated the Lua Module section
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochili committed Jan 21, 2024
1 parent a58c573 commit ceace23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ These actions are separated because of the editor scripts limitation, upvote for

#### Lua Module

There is also the `trenchfold/cli.lua` module to run the import script outside the editor. Just pass it two arguments - `relative/map_folder` and `map_name`. It will do everything, including preparing folders. For example, you can add the launch task to VSCode to run it.
There is also the `trenchfold/cli.lua` module to run the import script outside the editor. Just pass it two arguments - `relative/map_folder` and `map_name`. It will do everything, including preparing folders in one pass.

For example, there is [`.vscode/launch.json`](.vscode/launch.json) to run `trenchfold/cli.lua` with the `level` map in VS Code. You can try to run it by installing [Defold Kit](https://marketplace.visualstudio.com/items?itemName=astronachos.defold) or just [local-lua-debugger](https://marketplace.visualstudio.com/items?itemName=tomblind.local-lua-debugger-vscode).

## Textures

Expand Down

0 comments on commit ceace23

Please sign in to comment.