7.1.0
One contribution by Faulty:
- Adds
.get_page_width()
and.get_page_height()
methods
The following issues have been addressed:
#171 - Fix for weird offset issues when certain fonts natural wrap to a new line
#177 - .draw()
, .build()
, and .flush()
now return undefined
. This is a breaking change to prevent misuse of these methods.
#178 - Datestamp no longer says 2020 🙂
#179 - Fixes various MSDF issues based on experience with a commercial project. y-alignment of MSDF fonts has been altered slightly and you may need to reposition text.
#180 - Fonts can now be added on boot rather than requiring the game to enter to first room
Additonally:
- Adds
SCRIBBLE_WARNING_REDEFINITION
macro to turn off exceptions when re-adding an already added font - Fixes crash when getting the bounding box of a null text element
- Adds
scribble_font_scale()
.typewriter_sound_per_char()
will no longer play a sound one extra time when a string finishes being typed out.typewriter_in()
will now respect state set by.typewriter_skip()