Skip to content
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

Can rects be serialized on 1 line? #770

Open
Shadowblitz16 opened this issue Mar 22, 2020 · 0 comments
Open

Can rects be serialized on 1 line? #770

Shadowblitz16 opened this issue Mar 22, 2020 · 0 comments
Labels
Core Area: Duality runtime or launcher Discussion Nothing to be done until decided otherwise

Comments

@Shadowblitz16
Copy link

Summary

I was wondering if rectangles can be serialized to 4 float boxes on 1 line instead of 2 float boxes on 2 lines.

Analysis

I think this would benefit readability quite a bit making things like the pixmap atlas's much easier to edit.

pros
-more compact vertically
-easier to read

cons

  • less compact horizontally

  • Mockup screenshots and sketches (if applicable)
    basically instead of having it serialized as..
    rect label
    [0][0]
    [0][0]

it would be
rect label
[0][0][0][0]

@Barsonax Barsonax added Discussion Nothing to be done until decided otherwise Core Area: Duality runtime or launcher labels Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Area: Duality runtime or launcher Discussion Nothing to be done until decided otherwise
Development

No branches or pull requests

2 participants