02-26-2021, 08:41 AM
Hi,
You can add a background or foreground image to the game board by adding the following line to the game's metadata:
(board Background image:"disc.svg" fillColour:(colour 223 178 110) edgeColour:(colour 223 178 110) scale:0.035)
substituting the image, scale and colours to be something that you like.
I recommend taking a look at Len Doat to get an idea of how to add this in.
You can also reference an external .svg file, by placing it in the same location as the Ludii .jar file.
Cheers,
Matthew
You can add a background or foreground image to the game board by adding the following line to the game's metadata:
(board Background image:"disc.svg" fillColour:(colour 223 178 110) edgeColour:(colour 223 178 110) scale:0.035)
substituting the image, scale and colours to be something that you like.
I recommend taking a look at Len Doat to get an idea of how to add this in.
You can also reference an external .svg file, by placing it in the same location as the Ludii .jar file.
Cheers,
Matthew