-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenA-TextRendering and layout for charactersRendering and layout for charactersC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
Description
What problem does this solve or what need does it fill?
Text layouts are generated with the y-axis increasing downwards, but with bevy_sprite the y-axis increases upwards.
In bevy_sprite_render extract_text2d_sprite negates the y-coordinate for each glyph and text decoration individually. The system could be simplified by transforming the coordinate space instead.
What solution would you like?
Transform the coordinate space instead of negating the individual y values.
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenA-TextRendering and layout for charactersRendering and layout for charactersC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!