Fade In
Blitz3D Forums/Blitz3D Beginners Area/Fade In
| ||
Hey, i was just wondering how you could make a nice fade in and out effect for something like logo's before the game starts. |
| ||
oh yeah, I have some sound that goes with and I want it to fade in with the logo. |
| ||
3d or 2d? 3d: create a sprite that fills the camera (go here: http://blitzbasic.com/codearcs/codearcs.php?code=456 colour it black and fade its alpha. 2d: bit harder. You'll need this: http://blitzbasic.com/codearcs/codearcs.php?code=659 or this: http://blitzbasic.com/codearcs/codearcs.php?code=658. In fact, the graphics code arc is full of stuff you could use. if you're successul, post em here so we can see. |
| ||
yeah it's 3D. |
| ||
and internal error popped up when i tried going to the 3D link, so.... yeah...... |
| ||
If you are using fullscreen 3D, the SetGamma is very handy: http://www.blitzbasic.co.nz/b3ddocs/command.php?name=SetGamma&ref=2d_cat |
| ||
dude, remove the ")," from the link. |
| ||
you can use the gamma for 2d as well i believe? |
| ||
you can use the gamma for 2d as well i believe? I think so... but note that it has to be used with fullscreen mode, windowed won't work. |