View Single Post
Old 10-20-2002, 06:20 AM   #9
Cormanth
A Shissar Defiler
 
Cormanth's Avatar
 
Join Date: Aug 2002
Server: Zebuxoruk
Posts: 172
Interface Author - Click to view interfaces
Default

Quote:
You mentioned the order is important, is this true with pieces?

how do i know what order the pieces are being drawn?
Is it the order they apear as defined by the order of the <pieces>


Yes, the order inwhich you place the <Piece>'s in the <Screen> section determines the order inwhich items are drawn on the screen... usually.

The first piece is drawn first (on the bottom) and everything else follows, stacking ontop of each other. There are some exceptions to this rule in the case of hard coding. For instance, the Spell gems in your spellbook are always drawn ontop of everything else, regardless of what order you place things in.

Quote:
Ok so if i add the animation under the screen element, does that mean it's not a <pieces> thingy any more? I insert it after the first <screen> part? and make the style of the screen transparent.


Everything drawn on the screen is a screen 'piece'. Even if you make a <StaticAnimation>, you still need to tell the window to place it on the screen, by using a <Piece> element.


-Cormanth
Cormanth is offline   Reply With Quote