-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
A-AnimationMake things move and change over timeMake things move and change over timeA-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed uponThis work is generally agreed upon
Milestone
Description
Problem
The animated_ui example interpolates the font size of the animated text entity, which rapidly generates gigabytes of font atlase images.
Even with #22646, it's not good practice.
Solution
The animated_ui example should spawn the text with its font size set to the maximum value from the old animation curve. Then scale the text by interpolating the UiTransform::scale field, instead of the font size.
Metadata
Metadata
Assignees
Labels
A-AnimationMake things move and change over timeMake things move and change over timeA-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed uponThis work is generally agreed upon