Zindex

author:
Matteo Fumagalli
description:
zindex support
lastupdate:
2015-10-15
compatible:
v1.1
homepage:
https://github.com/kemondori/starling_zindex
download:
https://github.com/kemondori/starling_zindex

Overview

Simple class to help sorting objects by zindex. Useful if you need to integrete some kind of visual editor project in starling.

Usage:

Add object: LayerSorter.add_obj(display_object_container,display_object,zindex); Remove object: LayerSorter.remove_obj(display_object_container,display_object); Remove all from container: LayerSorter.remove_all(display_object_container);

Every child of the container must be added using this class. You can't mix normal AddChild with LayerSorter.add_obj.

Changelog

  • 2015/10/14 11:47: First public version
  extensions/zindex.txt · Last modified: 2015/10/14 13:50 by kemondori
 
Powered by DokuWiki