Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog
Main Page About Help FAQ Special pages Log in

Shiva Scenes: Unload the Render Engine

From ShiVa Wiki

Contents

Benefit from having Scenes

User Question

How big is, in a terms of application performance, the benefit of making different scenes (for levels etc) - compared with having for example, all levels in the same scene ?

Official Answer

A scene and its dependent resources are only loaded when using the function "application.setCurrentUserScene".

Dividing a game into scenes will help to minimize the memory footprint of your game, and will also make some differences performance wise.

Even if the engine will only do heavy calculations for visible/active objects, there will be some little overhead identifying them each frame.

Link

read more on the official ShiVa Forum


Retrieved from "http://www.stonetrip.com/developer/wiki/index.php?title=Shiva_Scenes:_Unload_the_Render_Engine"

This page has been accessed 2,151 times. This page was last modified on 25 January 2011, at 19:42.