08-16-2020, 09:34 AM
Hi,
The "forward:" parameter for the leap move is used to constraint the leap move to move the piece in the forward direction according to the facing direction of the piece (or the player in that case).
But yes we are agree with you for the rotations, so we added a parameter to the leap move in order to not use the rotation for the walk. For example in a square board to leap to the sides at a distance of two that description will do that
of course, for you, that will work only when we will publish the next release.
Consequently for now you can get the same result with a hop move like that:
Regards,
Eric Piette
The "forward:" parameter for the leap move is used to constraint the leap move to move the piece in the forward direction according to the facing direction of the piece (or the player in that case).
But yes we are agree with you for the rotations, so we added a parameter to the leap move in order to not use the rotation for the walk. For example in a square board to leap to the sides at a distance of two that description will do that
Code:
(piece "Pawn" Each
(move
Leap { { L F F } { R F F } }
rotations:false
(to if:(is Empty (to))))
)
of course, for you, that will work only when we will publish the next release.
Consequently for now you can get the same result with a hop move like that:
Code:
(piece "Pawn" Each
(move
Hop
(directions {Rightward Leftward} )
(between if:true)
(to if:(is Empty (to)))
)
)
Regards,
Eric Piette