-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CharFXTransform missing "character" property for RichTextEffects in v4 #73985
Comments
It looks like it changed to |
You're right, thanks. I'll close this issue |
It's changed to Check |
The new Matrix bbcode doesn't fully work for me. The scramble happens but the end result text is different than original. Possibly a bug:
Shouldn't this "do nothing"? I get scrambled text here due to different characters being returned. Tried a number of fonts... I'll look into this more and maybe submit a different issue |
This should not work, |
Wouldn't that mean that |
If I change the last in matrix to |
This is a mistake, I think code supposed to use time and character range to generate matrix effect, ignoring original glyph index.
In general, it's not possible to get it in character. Glyph index is content dependent and not always corresponds to the exact character. |
Seems like there should be a edit: I'm guessing that isn't possible (I don't quite get why), but if it isn't, then the fix to matrix bbcode would be |
Godot version
4.0.rc5
System information
Ubuntu 20.04 LTS (not relevant)
Issue description
In 4.0 class CharFXTransform:
https://docs.godotengine.org/en/latest/classes/class_charfxtransform.html
We're missing the property "character" that was in v3:
https://docs.godotengine.org/en/stable/classes/class_charfxtransform.html#class-charfxtransform-property-character
Text effects such as Matrix will not work without this data...
https://docs.godotengine.org/en/stable/tutorials/ui/bbcode_in_richtextlabel.html#custom-bbcode-tags-and-text-effects
Or is there is another way to access it? If so it doesn't seem to be documented.
Steps to reproduce
Not applicable
Minimal reproduction project
Documentation is sufficient
The text was updated successfully, but these errors were encountered: