Plugin : Square Tx
Author:Rex.Rainbow
- Transfer logic position to physical position with orthogonal or isometric layout
Download
Properties
Orientation
- Map orientation.
- Options : ["Orthogonal","Isometric","Staggered"]
X at (0,0)
- Physical X co-ordinate at logic (0,0).
Y at (0,0)
- Physical Y co-ordinate at logic (0,0).
Width
Height
Directions
- Directions of neighbots.
- Options : ["4 directions","8 directions"]
Actions
Directions
Action:Set directions
- Set directions.
- Directions ( Combo ) : Directions of neighbots
- Options : ["4 directions","8 directions"]
Offset
Action:Set position offset
- Set Physical position offset (position of logic (0,0)).
- X ( number ) : Physical X co-ordinate at logic (0,0).
- Y ( number ) : Physical Y co-ordinate at logic (0,0).
Orientation
Action:Set orientation
- Set orientation.
- Orientation ( Combo ) : orientation of map
- Options : ["Orthogonal","Isometric","Staggered"]
Action:Set orientation by number
- Set orientation.
- Isometric ( number ) : 1=Isometric, 0=Orthogonal
Size
Action:Set cell size
- Set cell size.
- Width ( number ) : Cell width in pixels.
- Height ( number ) : Cell height in pixels.
Expressions
Cell
Expression:Width
- Get cell width in pixels.
Expression:Height
- Get cell height in pixels.
Direction code
Expression:DIRRIGHT
Expression:DIRDOWN
Expression:DIRLEFT
Expression:DIRUP
Expression:DIRRIGHTDOWN
- Direction code of right-down.
Expression:DIRLEFTDOWN
- Direction code of left-down.
Expression:DIRLEFTUP
- Direction code of left-up.
Expression:DIRRIGHTUP
- Direction code of right-up.
Logic
Expression:PXY2LX
- Get logic X by physical X,Y co-ordinate.
- X ( number ) : The physical X.
- Y ( number ) : The physical Y.
Expression:PXY2LY
- Get logic Y by physical X,Y co-ordinate.
- X ( number ) : The physical X.
- Y ( number ) : The physical Y.
Offset
Expression:POX
- Get physical X co-ordinate at logic (0,0).
Expression:POY
- Get physical Y co-ordinate at logic (0,0).
Physical
Expression:LXY2PX
- Get physical X co-ordinate by logic X,Y index. Return (-1) if this position does not exist.
- X ( number ) : The logic X.
- Y ( number ) : The logic Y.
Expression:LXY2PY
- Get physical Y co-ordinate by logic X,Y index. Return (-1) if this position does not exist.
- X ( number ) : The logic X.
- Y ( number ) : The logic Y.