screen GameLoading { widget Label LoadingText { mins 10, 460 size 120, 32 text "#Loading" textAlignment "right" textVerticalAlignment "top" style "BannerText02" } widget GameDrawCallback LoadingAnimDraw { EventToFireOnDraw "LoadingAnimDraw" mins 70, 500 } animation In { init screen color=(255,255,255,0) at 0 ms consoleCommand "event UIStartLoadingEffect" at 0 ms colorScreen from (255,255,255,0) to (255,255,255,255) over 300ms speed=Cosine } animation Out { init screen color=(255,255,255,255) at 0 ms consoleCommand "event UIStopLoadingEffect" at 0 ms colorScreen from (255,255,255,255) to (255,255,255,0) over 300ms speed=Cosine } }
edwardfranio