A dev environment for Defold that transpiles TypeScript into lua using TypeScriptToLua.
npm run resolve
npm run dev
to transpile on saveNote that you will need to have Node.js installed.
npm run dev
to start a watcher that compiles and emits lua and script when you savenpm run build
to just compile your ts, sans watchernpx degit ts-defold/tsd-template my-game
# or
git clone https://github.com/ts-defold/tsd-template.git my-game
cd my-game
npm install
npm run build # Transpile the TypeScript files to lua
# or
npm run dev # Watch for changes and regenerate files on save
code .
app/game.project
in DefoldTypeScript :heart: Defold