Page 1 of 1

9Slice GFX

PostPosted: Tue May 21, 2013 5:19 am
by DragonRift
Anyone have a working sample of doing 9Slice:

XXX
XXX
XXX


Locked
Stretch
Tiled

I want to be clear that I do not mean the graphics creation but the control of the Anims to create a 9 Slice based GUI Window

Re: 9Slice GFX

PostPosted: Tue May 21, 2013 11:31 pm
by skydereign
Yes, several people have. Hblade used it for one of his many window creator demos http://game-editor.com/forum/viewtopic.php?f=6&t=7349&.

Re: 9Slice GFX

PostPosted: Wed May 22, 2013 12:18 am
by DragonRift
skydereign wrote:Yes, several people have. Hblade used it for one of his many window creator demos http://game-editor.com/forum/viewtopic.php?f=6&t=7349&.


Thank you, that is what I needed.

Re: 9Slice GFX

PostPosted: Wed May 22, 2013 3:38 am
by Hblade
You may want to modify the code a bit, I had a lot of i variables that were redundant kind of