Quick question about skinning.
Posted: Mon May 13, 2013 06:16
Hi.
I've started doing my own Falagard skin to use in my game. At the moment it's just a clone of TaharezLook which I will do a draw-over of this week. Except I have upped the texture to 1024*1024 so I can do some high res detailing (Also made the image a PNG so that it displays in the unified editor).
I've quadrupled all of the positions and dimensions of the pieces in the ImageSet to match to new larger texture.
After doing this I ran the TextDemo.layout within the editor, and noticed that I needed to apply offsets to WindowLeftEdge and WindowRightEdge within the ImageSet editor. (+16 and -16 lined up perfectly).
This worked great within the editor, but was not reflected when I ran the layout in my game (all data correctly copied across to my game folder).
So my question is this:
Is there a way to make the CEGUI-lib in my game apply the offsets found in the ImageSet file (in the same way that the editor picks up the offset values and uses them), or will I have to poke around in the LookNFeel file to achieve the same results?
I've started doing my own Falagard skin to use in my game. At the moment it's just a clone of TaharezLook which I will do a draw-over of this week. Except I have upped the texture to 1024*1024 so I can do some high res detailing (Also made the image a PNG so that it displays in the unified editor).
I've quadrupled all of the positions and dimensions of the pieces in the ImageSet to match to new larger texture.
After doing this I ran the TextDemo.layout within the editor, and noticed that I needed to apply offsets to WindowLeftEdge and WindowRightEdge within the ImageSet editor. (+16 and -16 lined up perfectly).
This worked great within the editor, but was not reflected when I ran the layout in my game (all data correctly copied across to my game folder).
So my question is this:
Is there a way to make the CEGUI-lib in my game apply the offsets found in the ImageSet file (in the same way that the editor picks up the offset values and uses them), or will I have to poke around in the LookNFeel file to achieve the same results?