This is the code I have so far, but you know, I don't understand how to time it. Run this and press "N" a few times and this is the effect I want it to do except I want it to do it on its own and not have to press it... Can anyone show me an example?
Global azero#=0.1 SetGraphicsDriver GLMax2DDriver() Graphics 800,600,0,60 'the 0 stands for debugging, 60 is the herts(FPS) Repeat Cls SetBlend AlphaBlend SetAlpha(1) ' Background DrawImage g_background,0,0 ' Text SetColor(165,220,225) SetAlpha(azero#) DrawText "Hello World",10,10 If(KeyHit(key_n))Then If(azero# < 1)Then azero# = azero# + 0.1 EndIf EndIf ' Return to no Color SetColor(255,255,255) Flip Until KeyHit(key_escape) End