O'Reilly logo

Developing Mobile Games with Moai SDK by Francisco Tufro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rendering

So, where does the rendering take place then? In Moai SDK, rendering is detached from the update loop. The Render Manager is a singleton that is in charge of rendering. It keeps a table of objects to be rendered, you can modify that table as you want, and it will render all of the objects in it. It is worth mentioning that subtables are also rendered, so you can create a hierarchy of objects to be rendered.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required