Code
There are currently several ways to write custom code:
C++
Extending the engine with C++ is the most versatile and efficient. With C++ you have full access to the entire engine, giving you all the power you need. Any serious project will have to use C++ code for some parts. For things like game logic you can start with script code instead, and migrate critical parts to C++ on demand. Extending the renderer and access to third party integrations is mostly only possible from C++ code. Using the C++ Project Generation feature, it is very quick and easy to set up a custom C++ plugin.
C++ obviously has the downsides of longer compilation times, and live updating code is not possible. There is a way for game plugins to be modifiable while the editor runs, and the editor can fully shut down and reload its engine process, which does enable a form of live reloading of C++ code.
AngelScript
AngelScript is the current scripting path for gameplay code. The AngelScript plugin provides runtime scripting support, editor integration, script assets, and access to reflected engine types. It is a good fit for gameplay logic that benefits from faster iteration than C++ while still staying close to the engine's C++ concepts.
Use AngelScript when you want to write gameplay behavior, connect scene objects, react to events, or iterate on logic without rebuilding a C++ plugin for every small change. Use C++ for engine-level systems, performance-critical code, custom components that need full engine access, renderer extensions, and third-party integrations.
Legacy TypeScript
TypeScript support is legacy documentation for older projects. New gameplay scripting tutorials should use AngelScript instead.
Older projects that still use TypeScript can refer to the existing TypeScript pages while they migrate or maintain legacy content.
Visual Scripting
Visual script code is the most limited both in functionality and tooling. It can be used for simple if-then scripts, but most new gameplay code should use C++ or AngelScript.
In this section


