fbctf
fbctf copied to clipboard
Implement a modular way to use a different UI or customized them
Currently the gameboard is the map of the world. It would be useful to have a way to use different UIs and to fully customized them, using a themed approach.
Recently I just read ./database/countries.sql
file and
I wonder how you guys could generate "transform" field to be in the middle of the svg path?
I got "d" field like this
M532.98,334.66L532.63,335.93L533.03,337.52L534.19,338.42L534.13,339.39L533.22,339.93L533.05,341.12L531.75,342.88L531.27,342.63L531.22,341.83L529.66,340.6L529.42,338.85L529.66,336.32L530.04,335.16L529.57,334.57L529.38,333.38L530.6,331.51L530.77,332.23L531.53,331.89L532.13,332.91L532.8,333.29z
How could I generate "transform" field like this translate(526.797058,331.708099) scale(.6)
based on "d" field?
Is there any update on this? Can I modify the map to something else?