-
-
Notifications
You must be signed in to change notification settings - Fork 873
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
Strange problems when using TextBoxComponent #3156
Comments
Can you please add your code in a code block? |
Sorry, I confirmed that my code is in the code block, but I don't know why the preview turned into normal text. I tried various methods but it didn't work. I uploaded the file. |
|
Thanks! |
|
I forgot that zoom also affects font components. I subconsciously thought that it would only affect spheres, pictures, etc. |
What happened?
I encountered a strange problem when using the TextBoxComponent component. My game class inherits from Forge2DGame. When debugging the TextBoxComponent, I found that the font was very blurry and there was also a problem with the font size. Later I found that after changing to inherit FlameGame, it became normal.
The above code runs normally, but when I change FlameGame to Forge2DGame, something goes wrong when I rerun it.
What do you expect?
Inheriting FlameGame and Forge2DGame can show the same effect
How can we reproduce this?
No response
What steps should take to fix this?
No response
Do have an example of where the bug occurs?
No response
Relevant log output
No response
Execute in a terminal and put output into the code block below
Output of: flutter doctor -v
Affected platforms
Android
Other information
No response
Are you interested in working on a PR for this?
The text was updated successfully, but these errors were encountered: