Ludii Forum
Creating piece graphics? - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Suggestions (https://ludii.games/forums/forumdisplay.php?fid=10)
+--- Forum: Ludii Features / Services (https://ludii.games/forums/forumdisplay.php?fid=11)
+--- Thread: Creating piece graphics? (/showthread.php?tid=325)



Creating piece graphics? - dale walton - 12-09-2020

Can we create our own piece graphics?
Are there any rules or limitations on the svg files/structure/allowed commands etc. if we want to do it?

e.g. What sizes are allowed, how are they centered? They all appear to be black on transparent, and it looks like you are not using svg functions to find and fill in the interiors, so there might be rules needed to avoid errors from that process. Is that a back process compiled and stored in the jar, or can they simply be added to the jar and read as svg?

Same question for boards, which look like they can be more elaborate than the pieces.


RE: Creating piece graphics? - MatthewStephenson - 12-09-2020

Hi,

Please see this thread for more details on using external svgs.
https://ludii.games/forums/showthread.php?tid=269

Cheers,
Matthew