This plugin provides hexagonal physical layout for rex_board plugin.
Categories > Board > rex_board_hextxIntroductionLinksDependenceUsageConnect to boardLayoutPosition of each cellDirectionTransfer physical position from logical position
None
Assign this object as the parameter in Action:Setup layout
in rex_board plugin, to configure this board to be an orthogonal or isometric board.
There are 4 kinds of layout mode set by properties Axis
and Indent
,
Or sets by Action:Set layout
, Action:Set layout by number
.
In properties table, (X at (0,0)
, Y at (0,0)
) is the physical position of logical (0,0). Width
and Height
is the size of cell. Or uses Action:Set position offset
, Action:Set cell size
to set these properties.
These expressions are the code of direction.
Left-Right axis
Expression:DIRLRRIGHT
: 0Expression:DIRLRDOWNRIGHT
: 1Expression:DIRLRDOWNLEFT
: 2Expression:DIRLRLEFT
: 3Expression:DIRLRUPLEFT
: 4Expression:DIRLRUPRIGHT
: 5Up-Down axis
Expression:DIRUDDOWNRIGHT
: 0Expression:DIRUDDOWN
: 1Expression:DIRUDDOWNLEFT
: 2Expression:DIRUDUPLEFT
: 3Expression:DIRUDUP
: 4Expression:DIRUDUPRIGHT
: 5These could be used used in Condition:Pick neighbor chess
, or Action:Pick neighbor chess
in rex_board plugin.
Get physical position from logical position by ( Expression:LXY2PX
, Expression:LXY2PY
).