03-01-2021, 04:56 PM
(This post was last modified: 03-01-2021, 05:04 PM by MatthewStephenson.)
Hi,
Your example metadata code is correct, but there is a bug in the current version of ludii where the wrong image is shown if you include the ".svg" in the image name.
From the next release your example metadata will work correctly, but for now you can use image:"01" instead.
You also need to make sure that the 01.svg file is in the same place as the Ludii .jar
I've attached a .lud file, where I have set your picture as a foreground image for Tic-Tac-Toe. Hopefully this will give you a better idea of how it can be used
Cheers,
Matthew
Your example metadata code is correct, but there is a bug in the current version of ludii where the wrong image is shown if you include the ".svg" in the image name.
From the next release your example metadata will work correctly, but for now you can use image:"01" instead.
You also need to make sure that the 01.svg file is in the same place as the Ludii .jar
I've attached a .lud file, where I have set your picture as a foreground image for Tic-Tac-Toe. Hopefully this will give you a better idea of how it can be used
Cheers,
Matthew