Screen Fader GUI Control for TGEA 1.7.x
by Mquaker · 10/22/2008 (9:21 am) · 0 comments
Download Code File
This is a 'Martin Schultz''s Screen Fader GUI Control Port to TGEA 1.7.x.
1) guiscreenfaderctrl.cpp & guiscreenfaderctrl.h add to your project.
2) recompile your project.
This is GuiScreenFaderCtrl's Example Script Code.
and this is fade in/out function.
There are support function to set the fade time value or setting the alpha value manually.
Thanks Martin :)
This is a 'Martin Schultz''s Screen Fader GUI Control Port to TGEA 1.7.x.
1) guiscreenfaderctrl.cpp & guiscreenfaderctrl.h add to your project.
2) recompile your project.
This is GuiScreenFaderCtrl's Example Script Code.
new GuiScreenFaderCtrl(GameScreenfader) {
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
fadeTime = "700";
alpha = "255";
color = "0 0 0 0";
};and this is fade in/out function.
GameScreenfader.fadein(); // begin fadein GameScreenfader.fadeout(); // begin fadeout
There are support function to set the fade time value or setting the alpha value manually.
Thanks Martin :)
About the author
visit : http://www.quakedev.net
