Simulate chess only could move from high to low
- light green is higher then deep green, chess only could move from high to low.
- moveable area is shown with red dots, click one of them to move to the target tile
- click the text below to change the mode from "Move" to "Edit"
- in "Edit" mode, player could click any tile to change the frame index, i.e. change the "height" of tile.
The moveable logic is in event 8, to compare the frame index of previous tile ( Expression:PreTileUID ) and current tile ( Expression:TileUID ) for each moving.
Since the cost of each tile is not a fixed value, remember set property "Cache cost" to "No".