This plugin provides orthogonal or isometric. or staggered physical layout for rex_board plugin.
Categories > Board > rex_board_squaretxIntroductionLinksDependenceUsageConnect to boardLayoutPosition of each cellDirectionsDirection codeTransfer 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.
The layout type is set at Orientation in properties table, or sets by Action:Set orientation, or Action:Set orientation 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.
Property Directions is used to define the directions of neighbors. It will affect the result which related on the information of neighbors, like move-able area and moving path searching in rex_slg_movement plugin, wander result in rex_grid_move behavior.
Sets to 4 directions would define the neighbors only at
Set to 8 directions would define the neighbors at
This property could be changed by Action:Set directions at run-time.
These expressions are the code of directions.
Expression:DIRRIGHT : 0Expression:DIRDOWN : 1Expression:DIRLEFT : 2Expression:DIRUP : 3Expression:DIRRIGHTDOWN : 4Expression:DIRLEFTDOWN : 5Expression:DIRLEFTUP : 6Expression:DIRRIGHTUP : 7These 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 ).