Releases: JujuAdams/Scribble
Releases · JujuAdams/Scribble
9.3.5
8.8.4
9.3.4
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
9.3.2
- Adds better error checking for preprocessor functions
- Also fixes horrible performance when using anonymous functions with the
.preprocessor()
method - Fixes
.refresh()
andscribble_refresh_everything()
not updating bounding boxes - Fixes incorrect member variable names returned by
.region_get_bboxes()
9.3.1
9.3.0
- 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
- 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 withscribble_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()
andSCRIBBLE_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
- 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()
andscribble_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 setSCRIBBLE_USE_SOUND_WHITELIST
totrue
to use this feature - Adds
.preprocessor()
method to text elements and also addsscribble_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 totrue
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)