Can I use C++ to extend engine and right my own code?

Hello! Im a C++ programmer. Can i write modules to use them in Defold and call it from Lua scripts?
For example - I have my C++ logic engine and want’s to use it in the Defold project. Can i do it? can’t find any info on site

No, I’m afraid you can’t. The only way you can currently interact with and extend the engine is through Lua scripting.

Are there any plans to make this possible? My games tend to have some computationally intensive logic, and without being able to write those parts in C or C++ I’m worried about performance.

1 Like

We are working on an extension system that will make this possible. I saw a demo of the system in action the other day and it’s gonna be pretty cool! I can’t give you a release date, but it is actively worked on.

6 Likes