[screen_fade]

Discussion of all aspects of the game engine, including development of new and existing features.

Moderator: Forum Moderators

Post Reply
User avatar
Helmet
Posts: 641
Joined: December 19th, 2006, 5:28 pm
Location: Florida, USA

[screen_fade]

Post by Helmet »

I really like [screen_fade]. I'm glad it was added to WML.

I was a little surprised that color= does not work, though. Instead, a person must use red=, green=, blue=.

red=, green=, blue= were once used with print, but were replaced with color=.
On the Wiki, about PRINT:
color: (default 0,0,0) three comma-separated values giving the red, green and blue values (0-255).
red, green, blue: deprecated, use color=0,0,0 instead.
Maybe, to be consistent, color= could be added as an option for [screen_fade]?

Anyhow, thanks for adding [screen_fade]. :)
Author of:
DIY Campaign, Confederacy of Swamp Creatures: Big Battle 1, Confederacy of Swamp Creatures: Big Battle 2, Frogfolk Delivery Service, The Pool of Ek.
User avatar
Helmet
Posts: 641
Joined: December 19th, 2006, 5:28 pm
Location: Florida, USA

Re: [screen_fade]

Post by Helmet »

I just realized this works:

Code: Select all

        [screen_fade]
            red,green,blue=28,26,26 #          <<--- this
            #  red=28
            #  green=26
            #  blue=26
            alpha=255
            duration=500
        [/screen_fade]
I like packing similar information onto the same line. :)
Author of:
DIY Campaign, Confederacy of Swamp Creatures: Big Battle 1, Confederacy of Swamp Creatures: Big Battle 2, Frogfolk Delivery Service, The Pool of Ek.
Post Reply