Skip to content

9.2.0

Compare
Choose a tag to compare
@JujuAdams JujuAdams released this 13 Aug 10:37
· 37 commits to master since this release
  • 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