-
Notifications
You must be signed in to change notification settings - Fork 7
Message control codes
Contents
Pauses the text typewriter for number seconds.
[pause,<number>]tby_branch_create([
/* ... */
tby_add_box("Stop![pause,0.5] Wait a second![pause,1] Huh."),
/* ... */
]);Changes the text speed. A higher number corresponds to a higher typewriter speed. The default can be changed in the config.
[speed,<number>]tby_branch_create([
/* ... */
tby_add_box("Let's talk [speed,0.1]slowly[]."),
/* ... */
]);Waits for the user to press the advance key before continuing showing the message.
[wait]tby_branch_create([
/* ... */
tby_add_box("Stop.[wait] Wait a minute."),
/* ... */
]);Resets all effects.
[]tby_branch_create([
/* ... */
tby_add_box("[c_red]I'm red![] I'm default!"),
/* ... */
]);Changes the font used.
[<font_name>][/font] or [/f]tby_branch_create([
/* ... */
tby_add_box("I look [newFont]different somehow...[/f]!"),
/* ... */
]);Changes the text color.
[c_<color>] or [#HEXCODE_IN_RGB][/color] or [/c]tby_branch_create([
/* ... */
tby_add_box("I can't [c_red]believe it[/c]!"),
/* ... */
]);Insert a static sprite using the specified image index.
[<name_of_sprite>,<image_index>]tby_branch_create([
/* ... */
tby_add_box("Cool sprites! [sprMySprite,0]"),
/* ... */
]);Aligns text to the left, right or center.
[fa_left] or [fa_center] or [fa_right]tby_branch_create([
/* ... */
tby_add_box("[fa_right]I'm right!"),
/* ... */
]);- Scale
- Slant
Colors the text in a moving rainbow pattern.
[rainbow][/rainbow]tby_branch_create([
/* ... */
tby_add_box("Everything is [rainbow]awesome[/rainbow]!"),
/* ... */
]);Draws the text in a shaky fashion. Strength can be adjusted on a per-branch level. The default can also be changed in the config.
[shake][/shake]tby_branch_create([
/* ... */
tby_add_box("[shake]I'm scared![/shake]"),
/* ... */
]);Draws the text in a moving wave form. Strength and Frequency can be adjusted on a per-branch level. The default can also be changed in the config.
[wave][/wave]tby_branch_create([
/* ... */
tby_add_box("Why, [wave]hello there[/wave]..."),
/* ... */
]);Twitter: @glitchroy
E-Mail: glitchroy@outlook.com