GuiWindowCtrl: Tile bitmap array borders?
by Matt Kronyak · in Game Design and Creative Issues · 06/24/2007 (7:16 pm) · 0 replies
Note: I'm using TGEA 1.01 although I suspect this is the same across any Torque product.
I have been working on various gui bitmap arrays to skin the GUI interfaces in my game. I noticed that the borders of GuiWindowCtrl stretch by default as opposed to tile.
When my window is small it looks good:

However once its resized the borders become stretched and distorted:

I was wondering if anyone knows of a way to have the border images tile instead of stretch? If its not possible without modifying the engine that's ok. Its not a major issue but its something I'd like to figure out. I spent the last hour searching through forum posts and TDN but didn't turn up anything.
I know how to create custom GUI profiles in script so I looked through all of the available properties there but wasn't able to uncover anything.
Any ideas?
I have been working on various gui bitmap arrays to skin the GUI interfaces in my game. I noticed that the borders of GuiWindowCtrl stretch by default as opposed to tile.
When my window is small it looks good:

However once its resized the borders become stretched and distorted:

I was wondering if anyone knows of a way to have the border images tile instead of stretch? If its not possible without modifying the engine that's ok. Its not a major issue but its something I'd like to figure out. I spent the last hour searching through forum posts and TDN but didn't turn up anything.
I know how to create custom GUI profiles in script so I looked through all of the available properties there but wasn't able to uncover anything.
Any ideas?