FAQ
1) How to have the selected piece tile being highlighted together with legal moves.
Answer :
Under TilesEffectManager.cs, in the LightUpTile(int, ChessSquare[])
function, add two of the suggested lines of code
And also do the same in the LightUpNonCurrentTurnTile(int, ChessSquare[])
function
Additionally, for multitouch(Two Player) scene to work the same, under MultiControlTilesEffectManager.cs, in the LightUpTile(int, ChessSquare[])
function
Subsequently, in LightUpNonCurrentTurnTile(int, ChessSquare[])
function
2) Highlight associated tiles while king being checked on moves.
Answers :
Under ChessBaseGUI.cs, in OnControllerActionEnded()
function, add below lines
For tiles being highlighted while AI is checking king, under ChessGameAIGUI.cs, in ThreadedSearch(object)
function, add few lines
In order to change what tile color to display on checking king, find the IndicateCheckingKingSquares()
function under ChessGameBaseGUI.cs, change the Color.black or Color.red to any preference.
The ChessEventManager.InvokeIndicateCheckingKingEvent() is equivalent to clicking Check King button.
Last updated