Game Development Reference
In-Depth Information
Architecture
The architecture of Gideros is similar to other frameworks. The core Gideros engine talks to Lua
code on one side, and in the background it interacts with the device or desktop using OpenGL.
Figure 9-10 shows the architecture of Gideros Studio. There are a couple of utilities that form the
Gideros Studio family; these were discussed at the start of the chapter.
Figure 9-10. The Gideros Studio family architecture
The Lua code that we write is compiled into bytecode and executed.
Unlike Corona SDK, Gideros offers offline compilation, which a lot of developers like. The entire
Gideros engine is available as a library that has to be linked to the final app (similar to the Corona
SDK Enterprise offering). So, the Xcode or Android project has some wrapper code that starts off the
scripts and compiles the Gideros library into the final application binary. Any plug-in is also compiled
as a static library into the application.
The plug-in feature is very handy and powerful; we'll explore it later in this chapter.
 
Search WWH ::




Custom Search