@godot-js/godot-ts
v0.0.4
Published
Tool for using GodotJS with TypeScript
Downloads
19
Readme
GodotTS
Tool for using GodotJS with TypeScript.
Contents
Use
- Download the editor
- Rename the downloaded file to
godot
and add Godot to your path - Open a terminal
- Test if you can use Godot via CLI and run
godot --version
- Run
npx -y @godot-js/godot-ts init
- new project will be crated at your current terminal path - Follow the prompts
API
Help
@godot-js/godot-ts --help
Init
Creates a new GodotJS project with TypeScript support
@godot-js/godot-ts init
Build
Build *.ts
files once and minified
@godot-js/godot-ts build
Watch
Watching for changes in *.ts
files and rebuilding on need
@godot-js/godot-ts watch