ScriptingΒΆ Contents: Basics Introduction to Lua Scripting Lua Syntax Basics Entity Class Entity Lifecycle Methods Event Handling Importing other scripts Conclusion Lifecycle Methods Overview of Lifecycle Methods Best Practices Properties Defining Properties Supported Property Types Implicit Properties Procedural Content Generation Introduction Code Overview Detailed Code Explanation Key Concepts Handling Events Registering Event Listeners Event Details Controllers Controllers Overview API Methods Handling Controller Input Browser Gamepad API Mapping Variable Sets Creating a variable set Using variables from code Lua for JavaScript Developers Introduction Syntax Differences Loops Conclusion Lua for C# Developers Introduction Syntax Differences Loops Conclusion Debugging API Reference Animator Audio Canvas Console Controllers Composer Data Date Entity Events ImGui Items Loader Math Object Physics Pointer Project Renderer SceneEntry SceneObjects Storage System Variables