AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.4k stars 289 forks source link

Can rects be serialized on 1 line? #770

Open Shadowblitz16 opened 4 years ago

Shadowblitz16 commented 4 years ago

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

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