Eluna-TS is a system that uses TypeScriptToLua to compile Lua files compatible with the Eluna Engine
This project is composed by:
- ✔️ A pre-configured workspace compatible with VSCode to compile your sources
- ✔️ The
deps/eluna-ts-definitions
which adds Eluna definition files to Typescript allowing proper type-checking and intellisense feature - ✔️ The
deps/eluna-ts-lib
which must be included in your project to add needed methods and make it work on Eluna. It also adds some useful reusable Typescript classes and functions.
DISCLAIMER
Last Eluna commit compatibility check
If you don't have docker or you already have Nodejs install, you can just follow this guide to setup your environment by using Nodejs directly.
- Install nodejs 16+
NOTE: You can run the bash install-node.sh
command to do it with an automatic script (it works on almost every OS with bash)
- Run
npm install
to install the required node dependencies
- Run
docker-compose up --build eluna-ts-dev
Work in progress...