Notice: Edge File Format Changing
Posted 20 January 2010 - 06:30 PM
1) instead of the frame elements being in broken pieces, the format is going to be in a 3x3 grid so that the frame can be a single connected frame
2) With the current frame edge system, you can see break points and color shift points and other 'glitches' anywhere frame edging is used (i.e. the popup boxes, dropdown menus, text input for a number of frames like guild, auction house, ect), this new format will fix that
Edge files are files like common\frameedge1.png
This is something I had planned on changing before we got into addons, but now it's needed even more for the new chat UI to look better.
Posted 22 January 2010 - 10:36 AM
The old style format was a single file, with 8 32x32 squares linked one after the other, like this:
The new style format is also a single file, but with 9 32x32 squares arranged in 3 rows of 3, and taking the same shape as a frame, like this:
Note that the middle square is not currently used.
In addition to this format working better with our engine in that the bottom and top lines do not need to be roated 90 degrees and thus introducing a greater chance for artifacts, it should allow software like photoshop to more easily add special effects to the edge, since the image is much cloer to an actual edge image.
Finally, you will also notice that the edges in the new format are closer alligned to the centers of the 32x32 blocks... this allows the game engine to automatically adjust for the edge placement, so the edge can be closer to the requested size of the frame, which also limits the need to use inset adjustments to get the background to match up... as an example, for all of the current game UI, other than one special case location, I was able to simply remove all the background inset locations (allow them to default to 0, 0, 0, 0) and still have the background match with the edge
of course, this means the scripts all have to be adjusted slightly to remove the old adjustments, so with this next patch, you may see some elements in the UI adjusted slightly in their position, but overall, going forward, I think switching to this new alignment, and new format will work out much better both for us, and the modding community.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users