Sets whether sprites at the same depth should be sorted by creation order.
property SortSpritesByCreationOrder: Boolean;
If two sprites occupy the same depth, then the order they are drawn is undefined unless this property is set to Ttue, in which case sprites at the same depth will be drawn in the order they were created. For maximum performance it is recommended that every sprite has its own depth value with this property set to False. If the order they are drawn is not important, for example physics sprites that won't normally overlap, then you can use sprites at the same depth without setting this property to True.
Copyright (c) 2012. All rights reserved.
|