Skip to content

Releases: JujuAdams/Scribble

9.3.4

05 Nov 09:57
Compare
Choose a tag to compare

When updating your GameMaker version to 2024.1100 and later, please ensure "Automatically remove unused assets when compiling" is unticked. You can find this checkbox in Game Options / Main Options / General. If this box is ticked then you will likely encounter "Font not recognised" errors and missing in-line sprites.

  • Adds automatic checking for situations where GM2024.11 asset stripping behaviour may cause fonts to be unrecognised
  • Adds automatic checking for a few other situations where Scribble cannot be supported (mostly old versions of GameMaker)

9.3.3

20 Oct 14:39
Compare
Choose a tag to compare
  • Fixes crash in region_detect() and region_set_active()
  • Fixes scribble_refresh_everything() not refreshing long-term cached text elements
  • Fixes tags not generating unique data arrays

9.3.2

18 Oct 18:12
Compare
Choose a tag to compare
  • Adds better error checking for preprocessor functions
  • Also fixes horrible performance when using anonymous functions with the .preprocessor() method
  • Fixes .refresh() and scribble_refresh_everything() not updating bounding boxes
  • Fixes incorrect member variable names returned by .region_get_bboxes()

9.3.1

11 Sep 13:52
Compare
Choose a tag to compare
  • Fixes Scribble functions sometimes unexpectedly crashing when called on boot

9.3.0

27 Aug 11:15
Compare
Choose a tag to compare
  • Adds .region_clear() as a convenience function
  • Adds .region_get_bboxes(). This returns the internal data structure used to track regions
  • Adds .get_delay_paused() to typists
  • Fixes inter-word spacing when using fa_justify with a manual linebreak or manual pagebreak

9.2.0

13 Aug 10:37
Compare
Choose a tag to compare
  • Adds .sdf_outline() as an alias for .sdf_border(). "Border" was always the wrong term to use, oops! .sdf_border() will be removed in v10 but for now .sdf_border() will still work the same as before
  • Adds scribble_font_bake_outline_and_shadow() which uses a new multichannel storage system to split outlines and shadows from the "core" glyph shape. This allows for separate colouring of glyphs, outlines, and shadows
  • Adds .outline() and .shadow() as text element methods to control the colour of outlines and shadows created with scribble_font_bake_outline_and_shadow(). These are mutually exclusive with .sdf_outline() and .sdf_shadow().
  • The old outline/shadow baking functions (scribble_font_bake_outline_4dir() etc.) will still work as before but have been deprecated and will be removed in v10. You should transition your code to use the new function
  • Adds scribble_whitelist_sound() and SCRIBBLE_USE_SOUND_WHITELIST. This works the same as the sprite whitelist
  • Fixes a couple minor bugs
  • Added a new "constant macros" script that contains public constants, see __scribble_constants

9.1.0

23 Jul 11:55
Compare
Choose a tag to compare
  • Released using 2024.6 though Scribble should work with most recent versions of GameMaker (provided they support SDFs and asset_get_ids())
  • Increased maximum length of sprites to 127 but reduced maximum image speed to 2.0
  • Adds font alignment offset feature (scribble_font_set_halign_offset() and scribble_font_set_valign_offset())
  • Adds scribble_anim_disabled() and getter
  • Adds .set_sound_tag_gain() method to typists
  • Adds [offset] and [offsetPop] as formatting commands. Offsets can stack and are particularly useful to nudge sprites into position
  • Adds scribble_whitelist_sprite(). Please set SCRIBBLE_USE_SOUND_WHITELIST to true to use this feature
  • Adds .preprocessor() method to text elements and also adds scribble_default_preprocessor_set() (and getter) global use. Preprocessor values are cached so be careful if you use them to insert variables that might dynamically change during the lifetime of some text
  • Fixes typist .skip() not skipping in the middle of a delay
  • Fixes forwards compatibility vis à vis asset scanning (thank you @biyectivo)
  • Fixes glyph centres being calculated incorrectly in the shader
  • Fixes space widths being calculated incorrectly after being manipulated
  • Fixes SDF shadow smearing when using a large shadow offset
  • Fixes text element bounding boxes when scaling (thank you @sohomsahaun)
  • Fixes kerning being applied to the wrong glyph in a pair (oops!)
  • Adds SCRIBBLE_USE_ASCENDER_OFFSET, which is set to true by default. This fixes many vertical offset bugs compared to GameMaker's native text rendering
  • Fixes .align() not regenerating the bounding box
  • Improves .align() default behaviour (thank you @AtlaStar)

8.8.3

23 Jul 10:55
d88e44b
Compare
Choose a tag to compare
  • Fixes sprite positioning when using font alignment offsets

8.8.2

27 Jun 09:57
d88e44b
Compare
Choose a tag to compare
  • Fixes .align() incorrectly handling undefined values (thanks @AtlaStar)
  • Fixes BGR order being reversed for vertex colours on Switch, PS4, and PS5

8.8.1

16 Jun 20:59
Compare
Choose a tag to compare
  • Fixes scribble_font_set_valign_offset() not affecting y position
  • Fixes pin/justify horizontal alignment causing a crash