Categories > Board > rex_board_hextx

Introduction

This plugin provides hexagonal physical layout for rex_board plugin.

Links


Categories > Board > rex_board_hextxIntroductionLinksDependenceUsageConnect to boardLayoutPosition of each cellDirectionTransfer physical position from logical position

Dependence

None

Usage

Connect to board

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.

Layout

There are 4 kinds of layout mode set by properties Axis and Indent,

Or sets by Action:Set layout, Action:Set layout by number.

Position of each cell

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.


Direction

These expressions are the code of direction.

These could be used used in 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 ( Expression:LXY2PX , Expression:LXY2PY ).