The application then enters the update loop where the application will spend the majority of its lifetime. This allows you to do custom initialization. It loads the main collection and calls init() on all loaded components that have an init() Lua function (script components and GUI components with GUI scripts). The application starts by initializing everything that is needed to run the engine. This document describes how the engine runs an application from start to finish. ![]() However, you might run into edge cases where the exact order Defold carries out its tasks becomes vital. In many cases only a rudimentary understanding of Defold’s inner workings is necessary. ![]() ![]() The engine moves through three stages of execution: initialization, the update loop (where apps and games spend most of their time) and finalization. The lifecycle of a Defold application or game is on the large scale simple.
0 Comments
Leave a Reply. |