Ludii Forum
Piece turning invisible - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Ludii Player Problems (https://ludii.games/forums/forumdisplay.php?fid=6)
+--- Thread: Piece turning invisible (/showthread.php?tid=574)



Piece turning invisible - Michael - 05-26-2021

I'm not sure if this is a graphical problem or a grammar problem, and I don't have it in me to hunt down a minimal lud that replicates it. I have attached a lud and a trial in which a piece disappears as soon as I step onto and empty site. The piece is still there, but it is invisible. I think pieces turn invisible every time they step onto an empty cell.

Any idea what is causing this?


RE: Piece turning invisible - Eric Piette - 05-27-2021

Hi,

Ok, I looked at that and the reason was that the GUI is looking at our empty bitset to print the pieces but unfortunately in the action corresponding to move a stack (which is used for this move here), the bitset was sometimes not updated.

I fixed it, all is ok now. Thanks for reporting that.

Regards,
Eric


RE: Piece turning invisible - Michael - 05-27-2021

Wonderful! Thanks :)