Splash Screen with masked image

BlitzMax Forums/BlitzMax Beginners Area/Splash Screen with masked image

Sloan(Posted 2015) [#1]
I can't remember where this topic came up, but it got me thinking about tutorials etc. and I whipped this up.

It shows you how to make a splash screen that shows a highlight running across a piece of text. It uses a mask image so as not to 'bleed' the highlight outside the text.

The PDF is here if anyone is interested.

Resources for the project can be downloaded here.


xlsior(Posted 2015) [#2]
Nice.

for a variation on this effect, you can have an outlined font -- then draw the outlined font, reflection bar, and a non-outlined version on top of that, so the effect only moved across the edges of the text as a highlight.


Kryzon(Posted 2015) [#3]
Interesting effect. I would change the blending from ALPHABLEND to LIGHTBLEND (which is the "add" mode), perhaps it'll look more realistic.


Sloan(Posted 2015) [#4]
I didn't notice much difference using LIGHTBLEND. but here's the change anyway:

SetBlend ALPHABLEND Or LIGHTBLEND
DrawImage highlight, hx, hy
SetBlend ALPHABLEND

The line is a bit thicker when just LIGHTBLEND is used, but I think that's because it loses the alpha. I could make the highlight graphic a little more transparent which might help too.
SetBlend LIGHTBLEND
DrawImage highlight, hx, hy
SetBlend ALPHABLEND



Xerra(Posted 2015) [#5]
Thanks for this. I'll have a tinker later as I've been thinking ideas on how to make splash screens more interesting.