Unity Tutorial: Making Chess Part 9

preview_player
Показать описание
In this Unity Series, we will be creating Chess from the ground up. This will be playable on an Android phone once it is complete.

Рекомендации по теме
Комментарии
Автор

Gotta say, a great tutorial series. My only complaints would be how unpolished it felt and how fast you moved, but you'll get better with time. The tutorial was newbie friendly, and explained the code in a way that was easy to understand; so that anyone wishing to build upon the project can.

thenovelicecreamstudios
Автор

Thank you so much for your tutorial! It helped me understand the basics of Unity and more!

FireWolff
Автор

Just want to send a big "Thank you!" your way for creating this series. I'm new to C sharp programming and this series has been extremely helpful for a beginner like me. I wish you well on your journey through life.

captainnova
Автор

This is amazing thank you so much!! Your tutorials and patience are really appreciated!

BounceIO
Автор

Thanks for a very useful and instructive basic tutorial. As a newcomer to game programming, Unity, CSharp, and Visual Studio code this gave me a relatively painless introduction and serves as a good foundation to move on from.

grepthis
Автор

You are the best I made the game in just 3 hours because of you, great teaching skill and best explanation. Thank you a lot.

tanjironezkokamado
Автор

Thank you, this was my first unity tutorial ive followed and my introduction to C#, it was incredibly useful.

honu
Автор

for anyone who is lazy

heres a script for pawn leveling (that could probably be improved) put it at the end of the chess man script
void Update()
{
switch (this.name){
case "black_pawn":
if (yBoard == 0 ){

GameObject cp = controller.GetComponent<Game>().GetPosition(xBoard, yBoard);
cp.name = "black_queen";
= black_queen; player = "black";

}
break;

case "white_pawn" :
if (yBoard == 7 ){
GameObject cp = controller.GetComponent<Game>().GetPosition(xBoard, yBoard);
cp.name = "white_queen";
= white_queen; player = "white";

}
break;
}
}

modrako
Автор

Man, I'm quite a newbie but you are the best at explaining. I love this game and would like to see the series continue.

teratocarcinoma
Автор

How to implement a checking mechanic instead of taking the king to win? help me for this

himanshutripathi
Автор

Amazing skills, just one thing, pls make the habit of creating a game object variable for all references instead of calling GetComponent each time you need it,
Other than that, 10/10 great tutorial!

tmpqtyutmpqty
Автор

At the end of your video you asked what I would like to see. I would love to see a tutorial on a 3D chess game. Doesn't have to have an engine. Just so two people can play that can be easily ported to VR. Just a thought.

josegarrido
Автор

I can not thank you enough for this tutorial. You helped me make my dream game. Thanks so much!!!!

lucasemanuelsilvamelo
Автор

Thank you so much for the tutorial. You are a very good teacher man. Have you reached the multiplayer mode for your chess game?

MadShotTV
Автор

I don't know where I gone wrong, but I cannot eat enemy pieces, I just overlap them. And cant eat King, and thus cannot win. Code seems to be 100% identical, but newer Unity version, and TMP text instead of Legacy Text.... Pls

notsocialleavemealone
Автор

I'm a New learner with code and hoping to get some help with a "has moved" type of function, I am hoping to use it for En passant and castling, I have already learned pawn queen advance and double pawn move but know going foward the next big step is to see if a certain piece has moved or not. Any help? thanks



ps I did double pawn move the quick way using if (yBoard)==6 but after learning how to use "has Moved" function to adapt that.

alexcieslak
Автор

The tutorial is great, now I am following it but there is one problem that there is no Text UI in 2022 unity, so I have to use text TMP, everything worked just fine but its unable to kill the king, the "NullReferenceException: Object reference not set to an instance of an object" error keep appearing, so I can't end the chess match. Can someone help me please? I even tried to copy the code and try to run again but it helped nothing.

HuynhNguyenVan-fjdq
Автор

I've come to severely underestimate how hard it is to actually code chess itself. implementing castling is not even close to easy, istg

All-star_Giga_Gargantuar
Автор

Cool tutorial but in my opinion no check and mate detection = not a fully functional chess game.
Those are the hardest parts by far.

beri
Автор

hi.. i tried to replicate ur project.. bt at final stages, its throwing a null reference exception error.. i did exact what u did.. and i m trying to find a solution since days.. could u help me how to fix this??
pls

iiprjwlii
visit shbcf.ru