(5.5.0) scribble_draw_set_fade - JujuAdams/ScribbleOldDocs GitHub Wiki
This function has been deprecated. Please avoid using this function.
scribble_draw_set_fade(fadeIn, position, method, smoothness)
Returns: N/A (0
)
@param fadeIn Whether to fade in or out (boolean).
@param position The position of the fade effect. See below for more details.
@param method The fade method to use. See below for more details.
@param smoothness The smoothness of the fade effect. A value of "0" disables smooth fading.
This script sets Scribble's draw state. All text drawn with scribble_draw()
will use these settings until they're overwritten, either by calling this script again or by calling scribble_draw_reset()
or scribble_draw_set_state()
.
Sets Scribble's fade in/out state. This is a manual alternative to using the "autotype" feature. Using this script will not trigger autotype events.
scribble_draw_set_fade()
supports two fade effects:
SCRIBBLE_TYPEWRITER_PER_CHARACTER
: Fade each character individually.position
is measured in "number of drawn characters"SCRIBBLE_TYPEWRITER_PER_LINE
: Fade each line of text as a group.position
is measured in "number of lines of text"