(6.0.0) scribble_state_shader_set - JujuAdams/ScribbleOldDocs GitHub Wiki
scribble_state_shader_set(...)
Returns: N/A (0
)
Argument | Name | Purpose |
---|---|---|
[0] | waveSize |
Maximum pixel offset of the [wave] effect |
[1] | waveFrequency |
Frequency of the [wave] effect. Larger values will create more horizontally frequent "humps" in the text |
[2] | waveSpeed |
Speed of the [wave] effect. |
[3] | shakeSize |
Maximum pixel offset of the [shake] effect |
[4] | shakeSpeed |
Speed of the [shake] effect. Larger numbers cause text to shake faster |
[5] | rainbowWeight |
Blend weight of the [rainbow] effect. A value of 0 will not apply the effect, a value of 1 will blend with 100% weighting |
[6] | rainbowSpeed |
Cycling speed of the [rainbow] effect. Increase to make colour scrolling faster |
[7] | wobbleAngle |
Maximum angular offset of the [wobble] effect |
[8] | wobbleFrequency |
Speed of the [wobble] effect. Larger numbers cause text to oscillate faster |
[9] | pulseScale |
Maximum scale of the [pulse] effect |
[10] | pulseSpeed |
Speed of the [pulse] effect. Larger values will cause text to shrink and grow faster |
Find out more about what animation effects are available on the Text Formatting article.
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()
.