A E I O U
Scribble now supports voice snippets!
scribble_autotype_set_sound()
allows you to define an array of vocal sounds to play as a text element is revealed using the autotype effect. So long as text is being revealed, a sound is picked at random from the array and played. If the text is paused for any reason, sound playback stops and will start again as text is revealed. Sounds will be played such that they don't overlap, but the third argument for scribble_autotype_set_sound()
is an overlap time, in milliseconds. This can be adjusted to get your vocal samples to sound a little more natural.
The behaviour of scribble_get_bbox()
has changed - it now returns the strict axis-aligned bounding box for the text element. scribble_get_quad()
has been added and functions like the old scribble_get_bbox()
.
Additionally, some bugs have been fixed: Font resetting now works as intended, error messages have been made clearer, and smoothness is no longer out of step with the value returned by scribble_autotype_get()
.
How do I import Scribble into my game?
GameMaker Studio 2.2.3 allows you to import assets (including scripts and shaders) directly into your project via the "Local Package" system. From the resources below, download the .yymp file. In the GameMaker IDE, load up your project and click on "Tools" on the main window toolbar. Select "Import Local Package" from the drop-down menu then import all scripts and shaders from the Scribble package. Now you're all set up to use Scribble!