I'd like a two new visual effects, invokable via COB: GRADUAL_FADE and PARTIAL_FADE
Invoking this command(syntax: SET GRADUAL_FADE (Piece , Time); ) would cause the Piece to be redrawn with a different alpha value (like a hidden unit) until it reached the value of Time, then it would disappear.
PARTIAL_FADE (syntax: SET PARTIAL_FADE (Piece, Time); ) would allow us to set an alpha value on a given Piece.
With two very similar pieces of code, hooking into the alpha system already in place (although it's borked for S3O, as I need to report, again), we could have:
1. Motion-blurs.
2. Windows.
3. Objects that fade out upon Death()
4. Better-looking blended animations that use hide / show techniques.
I think it'd be very cool, and solve a bunch of problems at once- no new rendering code needed, other than applying the current alpha code per Piece (which it almost certainly does anyhow), and it'd allow for a lot of things that aren't currently possible.
GRADUAL_FADE, PARTIAL_FADE
Moderator: Moderators
Re: GRADUAL_FADE, PARTIAL_FADE
Even with flozi's patch?Argh wrote:(although it's borked for S3O, as I need to report, again)
