rex_board_hexTx
Usage
Assign this object as the parameter in "Action:Setup layout" in rex_board plugin, to configure the board to be a hexagonal board.
Layout
There are 4 kinds of layout mode set by properties "Axis" and "Indent".
There are 4 kinds of layout mode set by properties "Axis" and "Indent".
- Left-Right
- Left-Right + Indent first
- Up-Down
- Up-Down + Indent first
Position of each cell
In properties table, "X at (0,0)", and "Y at (0,0)" is the physical position mapped from logical (0,0). "Width" and "Height" is the size of chess. Or use "Action:Set position offset", "Action:Set cell size" to set these properties.
In properties table, "X at (0,0)", and "Y at (0,0)" is the physical position mapped from logical (0,0). "Width" and "Height" is the size of chess. Or use "Action:Set position offset", "Action:Set cell size" to set these properties.
Direction
These expressions are the code of direction.
For Left-Right axis:
These expressions are the code of direction.
For Left-Right axis:
- Expression:DIRLRRIGHT
- Expression:DIRLRDOWNRIGHT
- Expression:DIRLRDOWNLEFT
- Expression:DIRLRLEFT
- Expression:DIRLRUPLEFT
- Expression:DIRLRUPRIGHT
- Expression:DIRUDDOWNRIGHT
- Expression:DIRUDDOWN
- Expression:DIRUDDOWNLEFT
- Expression:DIRUDUPLEFT
- Expression:DIRUDUP
- Expression:DIRUDUPRIGHT
- "Condition:Pick neighbor chess", or "Action:Pick neighbor chess" in rex_board plugin.
Transfer physical position from logical position
Get physical position from logical position by
Get physical position from logical position by
- Physical X = Expression:LXY2PX
- Physical Y = Expression:LXY2PY