08-17-2023, 07:38 AM
This is a new game I am working on based on Mike Zapawa's Game Gygoreg.
My game involves move rotation: each move must be in the same general direction as the last.
I have implemented this by rotating all the pieces, though simply keeping track to the last move direction with a table of directions could also be a valid approach.
The result seems to work fine for the Square/Diagonal grid, but the allowed movements on the hex grid are wrong - Forward does not always correspond to the piece rotation direction.
Rotation seems to be so highly automated that there are few controls for doing anything new/different with it. - Perhaps I am missing something obvious.
My game involves move rotation: each move must be in the same general direction as the last.
I have implemented this by rotating all the pieces, though simply keeping track to the last move direction with a table of directions could also be a valid approach.
The result seems to work fine for the Square/Diagonal grid, but the allowed movements on the hex grid are wrong - Forward does not always correspond to the piece rotation direction.
Rotation seems to be so highly automated that there are few controls for doing anything new/different with it. - Perhaps I am missing something obvious.