View Full Version : Sprites and components
oana77
2 Apr 2012, 3:54 AM
Can a panel be rendered or positioned on a sprite?
Or how can be obtained a panel in which to have components and sprites rendered?
Or how can it be obtained something like in the attached picture?33447
Can a panel be rendered or positioned on a sprite?
Or how can be obtained a panel in which to have components and sprites rendered?
Or how can it be obtained something like in the attached picture?33447
Sprites are always rendered inside draw components, but sprites are not components.
1. Yes, you can render a panel above a sprite (just give it a higher z-index)
2. Panel is a container. Make the draw component a child of the panel.
3. The middle "S" sprite would be inside a draw component which would be a child (along with the top and bottom components) of the enclosing panel.
oana77
2 Apr 2012, 5:38 AM
thank you
oana77
3 Apr 2012, 2:07 AM
can you give me an example of how to put a panel above a sprite by setting the zindex higher ? thanks
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.