gameboy9 / randoTracker

Generic tracking software for randomizers
GNU General Public License v3.0
4 stars 3 forks source link

position players names/final times/icons area by mirroring #20

Open jsnkuhn opened 6 years ago

jsnkuhn commented 6 years ago

Wondering whether we can make an option for mirror positioning players names/final times/icons area.

You would for a 2 player layout, position player 1 with pixels and then for player two's positions you could just say have a keyword in place of the pixel values like mirror-X or mirror-horizontal.

For a 4 player layout you could position player 1 then mirror horizontal to 2, then mirror players 1 and 2 vertically for players 3 and 4.

we might also need the ability to tweak these positions with an offset once mirrored. I'm thinking right now of the z2r layout that is mirrored but not across the entire 1280x720. Like x-pos="mirror-horizontal,60". This would mirror and them off-set 60px from the edge of the layout?

jsnkuhn commented 6 years ago

maybe mirror-x, mirror-y, and mirror-xy then everything could be based off of just one positioned element