Setting Alpha - Fade In
BlitzMax Forums/BlitzMax Beginners Area/Setting Alpha - Fade In
| ||
Hi all, Hopefully a quick question - I want a simple fade in affect, which I can easily do by: If FADE<1 FADE:+0.02 End if SetAlpha FADE But, I also want to fade in some other images at the same time which I ultimately want to only have an alpha of 0.5. How could I fade these images in at the same time as the main screen, but keep their 'resultant' alpha as 0.5? Hope that makes sense! ;) |
| ||
Something likeSetAlpha myImageAlpha * FADE DrawImage myImage, x, y SetAlpha myOtherImageAlpha * FADE ... etc |
| ||
Yeah or get into having types, and each one with it's own Alpha level and draw method. |