You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, hope you're doing well! The current tutorials only points to creating a new Defold project with ts-defold. I already have an ongoing project that I would like to use typescript, how can I do that? Just create a project in the existing folder?
Thanks
The text was updated successfully, but these errors were encountered:
I haven't gone through enhancing a project with ts-defold myself, maybe someone from the community or over on the official discord has a line on this?
Most of the setup of ts-defold follows that your typescript src sits at the same level as the root of the defold project, as when this was all originally setup defold didn't have a way to exclude folders from the game package and I didn't want to bring in the typescript src and config files. The quickstart illustrates the traditional setup.
In theory, you should be able to mix and match typescript and original lua src files without issue, so long as the paths are unique, but I have not tested this personally.
I would duplicate your project, create a basic template project for ts-defold, then attempt to merge the two together replacing the template app directory with your own defold project. YMMV.
Hello, hope you're doing well! The current tutorials only points to creating a new Defold project with ts-defold. I already have an ongoing project that I would like to use typescript, how can I do that? Just create a project in the existing folder?
Thanks
The text was updated successfully, but these errors were encountered: