Releases: rafaskb/typing-label
Releases · rafaskb/typing-label
1.4.0
Additions
- BREAKING CHANGE: Added support for multiple
TypingListeners
in TypingLabel. MethodsgetTypingListener
andgetTypingListeners
were replaced bysetTypingListener
andaddTypingListener
. - Added If Conditionals!
{IF=GENDER;f=She;m=He;t=Them;Unknown}
. See details in the wiki.
Fixes
- Updated Regexodus dependency for GWT. If you use GWT and inherit Regexodus in your project, follow the installation instructions again, as some of them have changed (namely the
inherits
line). - Fixed color tags being applied to the incorrect glyph indices.
- Fixed alpha not being applied to glyphs not affected by color-altering tokens.
1.3.0
- Fixed Windows line breaks (CR/LF) causing effect tokens to skip characters. This was mostly noticeable when loading strings from a text file.
- Added
TokenDelimiter
configuration toTypingConfig
, allowing users to change the token syntax. {CurlyBrackets}, [Brackets], and (Parentheses) are supported. - TypingLabel now depends on libGDX 1.11.0, because of differences in how it handles text internally (which this depends on). If you need compatibility with libGDX 1.9.9 through 1.10.0, you must use version 1.2.0 at the latest.
1.2.0
- API Addition: Added isSkipping method to TypingLabel class.
- Fixed exception being thrown when parsing malformed color values from token arguments.
- Fixed longer texts not being processed correctly after a setText call. Labels will now restart automatically after a setText call and will also skip to the end in case their progression has already ended.
- Fixed issue causing labels not to align properly to the X axis.
- Fixed some issues related to extreme frame rates, both high and low. Now the effects should remain the same independent of the FPS.
- Fixed color tokens not detecting hex codes without a hash character.
- Added new SLIDE effect.
- Added new HANG effect.
v1.1.0
- Added global variables that can be set in TypingConfig.GLOBAL_VARS.
- API Change: Effect::onApply now takes a TypingGlyph instead of Glyph. This might break custom effects.
- Added new RAINBOW effect.
- Added new GRADIENT effect.
- Added new FADE effect.
- Added new BLINK effect.
- Added ENDCOLOR token, an alias of CLEARCOLOR, to be consistent with the rest of the tokens.
v1.0.7
v1.0.6
v1.0.5
- Added new SICK effect.
- Fixed nasty bug causing effects to affect the wrong glyphs after line breaks due to line wraps not being accounted for.
- Added support for custom effect tokens.
- API Addition: Added registerEffect and unregisterEffect methods to TypingConfig.
- Package distribution was changed from Maven Central to Jitpack. Follow the instructions in the README file to get it working.