Citrus-Engine icon indicating copy to clipboard operation
Citrus-Engine copied to clipboard

Object Pooling - adding/removing art from display list

Open gsynuh opened this issue 11 years ago • 0 comments

for the moment, objects with visuals are set to visible = false when disposed, but since they are in the display list they are still "processed" in a way - if the art was removed temporarily from its parent when "disposed to the pool" there would be a greater performance improvement than by simply using the visible property.

Additional enhancement possibly related (when it comes to the art classes) : giving the option of removing any/some/static only display objects from the starling display list when out of the viewport/camera

gsynuh avatar Nov 07 '13 13:11 gsynuh