Game Development Community

Bitmap border does not tile, just stretch

by Guimo · in Torque Game Engine Advanced · 02/19/2008 (8:37 pm) · 1 replies

Hi,
I have been playing with the GUI in TGEA and TGE and found something that I really dont like. In TGEA the GUIBitmapBorderCtrl borders get stretched instead of tiled. This is a big deal for me because my GUI has a periodical indentation which I would like to keep.

For example, say your artists have created windows borders with a pattern like tree leaves or brambles (for examples, see the game GUI in Warcraft3). Then you cut the horizontal and vertical sections of these patterns and create your PNG describing the borders and create your new profile. When you create your new borders run your game your border brambles will looks stretched instead of patterned.

If anybody knows how can I render it tiled please tell me.

Thank you!
Guimo

#1
02/25/2008 (5:51 pm)
I have fixed this adding an additional parameter bWrap to the border, now I have nice patterned borders :)

Luck!
Guimo