Skip to content

Pause For Thought

Compare
Choose a tag to compare
@JujuAdams JujuAdams released this 05 May 12:08
· 1730 commits to master since this release

Scribble now natively supports in-line [pause] and [delay] commands!

  1. Adds the native command tag [pause]. This will pause the autotyper indefinitely at the tag's position in the string. Call scribble_autotype_is_paused() to return the paused state, call scribble_autotype_set_paused() to set the paused state. Setting the paused state to false will allow the autotyper to continue showing text.

  2. 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 to SCRIBBLE_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:

  1. #39 - See above!
  2. #48 - __SCRIBBLE.CHARACTERS now includes spaces
  3. #53 - Removed SCRIBBLE_Z
  4. #54 - Added SCRIBBLE_BBOX.W and SCRIBBLE_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
  5. #55 - Setting SCRIBBLE_CREATE_GLYPH_LTRB_ARRAY to true 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
  6. #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!