Message fade-effect
Blitz3D Forums/Blitz3D Beginners Area/Message fade-effect
| ||
Does anyone know of a way that I can display a message on the screen then have it fade off? Currently I created an image with the message, and then displayed that image on the screen. This is a 3D game, so I can't just blacken it, it needs to become transparent so the background contents can be seen through it. |
| ||
You could use a textured quad and decrease its alpha progressively... Here is an example to position a textured quad with pixel perfect precision (like for an image) : http://www.blitzbasic.com/codearcs/codearcs.php?code=3257 You will have to modify the code for your need, but it will give you an idea of how to do it. |