♟️ Create an Online Chess Game - Regular Moves! - 4/5 [Unity tutorial 2021][C#]

We finally go about restricting the movement of our pieces to their respective piece’s allowed move. To do so, we begin the video by highlighting tiles which we’re allowed to go to. We then start programming all individual moves in their respective child class. The Pawn has the forward move, and the starter double jump move and also the kill move (diagonal). The rook can slide in any of the following direction, up, down, left, right. The knight has the L shape moves, 8 of them. Bishop slides in diagonals. Queen combines both the Rook’s and the Bishop’s moves and finally the king go anywhere he’d like, but only one square away from his current position. Link to the Chess Assets, by my friend Z3nder (affiliate) : - - - - - 0:00 Preview 0:40 Highlight tiles 14:05 Pawn Movement 23:01 Rook Movement 29:37 Knight Movement 34:23 Bishop Movement 38:30 Queen Movement 39:4
Back to Top