Viewport size and position to be defined through percentages or absolute values #4960
Labels
A-Rendering
Drawing game state to the screen
A-Windowing
Platform-agnostic interface layer to run your app in
C-Feature
A new feature, making something new possible
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
Problem
Using viewports to define split screen or minimaps have some differing requirements, that would sometimes be more easily defined by percentage of the available window or absolute values respectively. Minimaps might have more use of absolute values, and split screen would probably have either 50/50 or something similar in viewport.
Solution
This could be expressed as enums for the viewport size and viewports positions as defined by #4898 and proposed by comment
The text was updated successfully, but these errors were encountered: