Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>fade_in()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FADE_IN()

    Have you ever seen a "fade-in"?  Each element on the screen is drawn
    individually, at random, until the entire screen image is filled.
    After seeing this effect in a commercial software package, I just
    had to find a way to pull it off in Clipper.  Well, it took me five
    months to come up with a satisfactory algorithm, and here 'tis.

    To use FADEIN(), you must first save your screen to a disk file
    using SV_FADEIN():

    SV_FADEIN(<screen file>)

    Required Parameter

    <screen file> is the name of the file to save the screen in.

    Unlike my other screen saving routines, SV_FADEIN() will take
    between one and two minutes to complete, so please stay calm.
    But you will only have to do it once, and it will be worth the wait!

    When you want to restore the screen with the fade-in effect,
    call FADEIN():

    FADEIN(<screen file>)

    Required Parameter

    <screen file> is the name of the file containing the saved screen.

    Sample Usage

    IF FILE('title.scr')    && or whatever you named your screen file
       FadeIn('title.scr')
    ELSE
       *** draw title screen via conventional (boring) means
       @ xx, xx SAY this
       @ xx, xx SAY that
       etc
    ENDIF

See Also: FADEOUT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson