Ludii Forum
Move Stacks like in game Bashni but without Hop - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Questions (https://ludii.games/forums/forumdisplay.php?fid=13)
+--- Forum: About the Ludii Grammar (https://ludii.games/forums/forumdisplay.php?fid=15)
+--- Thread: Move Stacks like in game Bashni but without Hop (/showthread.php?tid=1002)

Pages: 1 2


RE: Move Stacks like in game Bashni but without Hop - noobby - 08-02-2022

Now that the  stack:true  parameter is fixed in v1.3.5 for the  (move (from) (to) ) ludeme,
I'm still struggling to be able to pick a stack with the mouse and move the whole stack to it's target-site.

In the game Bashni (which has a hop-move) this works fine.

But in the attached example.lud only the top disc is moving, and when it is dropped, suddenly the whole stack is there, too. (so the result is ok.)

How can i create this  Bashni-movement-effect  in the (move (from) (to) ) case ?

Edit: something seems to be missing in the metadata code here, too, I guess.


left   :  Bashni, full stack movement. 
right :  from example.lud


RE: Move Stacks like in game Bashni but without Hop - Eric Piette - 08-22-2022

Hi,

If I understand correctly, this is just when you drag your stack, only the top piece is dragged (even if the move itself is correct, moving the full stack).

If that's correct, that's not from your description, that's probably the GUI which does not have the right information. I will have a look and check with Matthew (in charge of the GUI) to see if we can fix that.

Regards,
Eric


RE: Move Stacks like in game Bashni but without Hop - noobby - 08-22-2022

Yes, thats correct, the dragging is the problem.
The typical user would be confused (and rightly so) when he wants to move the full stack and only the top piece is moving.
He/She will quit the game, because it looks like it doesn't work.

You can just compare the movement (like shown in the pictures) from the example.lud and the stack-movement in game Bashni.

Thank you very much for looking into this.

Regards, Ben


RE: Move Stacks like in game Bashni but without Hop - Eric Piette - 08-22-2022

Hi,

As soon as Matthew will have time to take a look with me, we will know more, and I will let you know.
But for the moment, Matthew is teaching, which makes things a bit slower.

Regards,
Eric


RE: Move Stacks like in game Bashni but without Hop - Eric Piette - 08-23-2022

Hi,

Ok, we found the problem and fixed it.

Regards,
Eric