Ludii Forum
Unable to scale tiles - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Grammar Problems (https://ludii.games/forums/forumdisplay.php?fid=24)
+--- Thread: Unable to scale tiles (/showthread.php?tid=211)



Unable to scale tiles - Michael - 10-16-2020

Tiles can be colored using (piece Colour) or (player Colour), but not scaled using (piece Scale). This does not seem right. Also, I am unable to set a strokeColour for tiles. Is this a bug?


RE: Unable to scale tiles - MatthewStephenson - 10-19-2020

Hi Michael,

Tiles are always sized to fit the cells of the board (i.e. the size of any tile piece will always be the same as the cell its placed on).
Therefore, scaling a tile has no effect on its size.

For the strokeColour, yes this is not currently implemented for tiles, however we will add this in the next release.
Thanks for pointing this out.

Cheers,
Matthew


RE: Unable to scale tiles - Michael - 03-23-2021

(10-19-2020, 07:48 AM)MatthewStephenson Wrote: For the strokeColour, yes this is not currently implemented for tiles, however we will add this in the next release.
Did you? I couldn't get it to work last I tried.


RE: Unable to scale tiles - MatthewStephenson - 03-23-2021

Hi,

Yes this is now in Ludii.
For example you can add "(piece Colour strokeColour:(colour Green))" to Andantino to give all the pieces a green outline.

Cheers,
Matthew


RE: Unable to scale tiles - Michael - 03-23-2021

Ah, good to know! Thanks :) I must have made a mistake, then.