Black strips around old TV
by Bamoo · in Technical Issues · 07/09/2005 (11:59 am) · 7 replies
Hello,
I want to make an effect like black strips (I don't know if it's called like that) around old TV. For an example, take a look on this picture :
http://www.20six.fr/-/pub/lesmediaboliques/canal%20mire.jpg
How can I do that with scripts ?
Thanks :-)
I want to make an effect like black strips (I don't know if it's called like that) around old TV. For an example, take a look on this picture :
http://www.20six.fr/-/pub/lesmediaboliques/canal%20mire.jpg
How can I do that with scripts ?
Thanks :-)
#2
07/09/2005 (4:34 pm)
Ok, but the GuiBitmapCtrl will take all input an mouse events, doesn't it ?
#3
07/09/2005 (4:48 pm)
Edit the playgui. Make the background black (or a bitmap), then place the TSCtrl on it so you see a black border.
#4
07/09/2005 (5:14 pm)
You could make it part of the playgui like labrat said, shouldnt absorb mouse events then since it'd be like any other hud element.
#5
Then when I try to add the GuiBitmapCtrl in the GameTSCtrl, the picture is not on all my screen :
http://winalbest.ifrance.com/image.JPG
Here is my control :
new GuiBitmapCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 2";
visible = "1";
bitmap = "./Image1.png";
wrap = "1";
helpTag = "0";
};
Can you help me ?
Thanks :-)
07/10/2005 (4:11 am)
When I tried to put the GameTSCtrl on the background black (GuiBitmapCtrl with a png), it didn't work (it was as if I didn't do anything).Then when I try to add the GuiBitmapCtrl in the GameTSCtrl, the picture is not on all my screen :
http://winalbest.ifrance.com/image.JPG
Here is my control :
new GuiBitmapCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 2";
visible = "1";
bitmap = "./Image1.png";
wrap = "1";
helpTag = "0";
};
Can you help me ?
Thanks :-)
#6
07/10/2005 (12:03 pm)
Right now its set to always be 640x480 because of the settins for horizsizing and vertsizing. You probably ought to stretch it to fill the screen with the gui editor, then change it to relative sizing for both those.
#7
In this case, my GuiBitmapCtrl receives all events as all controls at the same level ?
07/10/2005 (2:54 pm)
Yes, it works !!! :-)In this case, my GuiBitmapCtrl receives all events as all controls at the same level ?
Associate Matt Mitman