Pause For Thought
Scribble now natively supports in-line [pause] and [delay] commands!
-
Adds the native command tag
[pause]
. This will pause the autotyper indefinitely at the tag's position in the string. Callscribble_autotype_is_paused()
to return the paused state, callscribble_autotype_set_paused()
to set the paused state. Setting the paused state tofalse
will allow the autotyper to continue showing text. -
Adds the native command tag
[delay]
. This will pause the autotype for a fixed amount of time at the tag's position in the string. The duration of[delay]
defaults toSCRIBBLE_DEFAULT_DELAY_DURATION
, but by specifying an argument (e.g.[delay,500]
) the length of the duration can be controlled. The delay duration is measured in milliseconds of real time.
Issues resolved:
- #39 - See above!
- #48 -
__SCRIBBLE.CHARACTERS
now includes spaces - #53 - Removed
SCRIBBLE_Z
- #54 - Added
SCRIBBLE_BBOX.W
andSCRIBBLE_BBOX.H
to allow for access to the specific width and height of a text element. In general, the LTRB values should be used instead - #55 - Setting
SCRIBBLE_CREATE_GLYPH_LTRB_ARRAY
totrue
will get Scribble to output an array of glyph metadata. It is recommend that this functionality is avoided as much as possible as it carries a significant performance penalty - #58 -
[wheel]
has been added as an animated text effect to emulate Pet the Pup at the Party, specifically the FIND THAT PUP rainbow text motion
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!