Chess Game in Unity Tutorial! Part 1: Architecture and Board Generation

preview_player
Показать описание
Because chess popularity is on the rise lately, let's try to make our own chess game using Unity. In this video, which is the first part of a series, we will learn how to design a good game architecture using layers of abstraction and how to generate pieces on a board based on previously created data. Let's begin!

------Project on Github------

------UML Diagram-------

------Assets------

Low Poly Chess Pack:

Wooden Floor Materials:

Table with chairs x3 Free:
Рекомендации по теме
Комментарии
Автор

Holy Banana, I learned so much from this video, thank you for showing us your workflow and describing everything so clear. Your code architecture is an eyeopener and took me to another level...

bigbanana
Автор

you are a literal life saver thank you so much for this.

JuJuzNation
Автор

Thank you! You're a great help. Great to brush up one some OOP (because I forgot most of it), I don't see a lot of that in YouTube tutorials.

PixelmancerGames
Автор

bro you are very nice we want more and helping

mashoodurrehman
Автор

I have a question: Did you design and write the diagram first and then build this strait from there, or did you kind of do both as you went? It seems it would be difficult to create this diagram from scratch with all the fields and methods, but I'm also sort of new to the Unity APIs.

jefeheentun
Автор

bro you need to chill out with the speeding up. if you want people to learn, go a little slower. I know you want to fit this into 20 min but you don't have to.

themantismain
Автор

please make any video about setting up an enviroment

mashoodurrehman
Автор

where I left off today: 13:40 (This is my own note to remember)

notjustateen
Автор

Im still having problems with line 31 at 18:59, Anyone know the solution?

mrbooscloos
Автор

Hey! Great tutorial! When I get to the part at 18:30 where I am supposed to assign the script to their respective pieces, I get the error: "Can't add script behaviour IObjectTweener. The script class can't be abstract!"
Just wondering if you had any insight into that!

Thank you so much!

WhiteBeansYT
Автор

I had a grid designed, but I scrapped it to follow this tutorial without having to adapt my whole script. Basically I just had a 2D array for the board and a series of if statements on board generation that checked where a piece was using the mod operator, so if it was at x mod 7 == 0 and y mod 7 == 0 we can assume it was a rook, etc etc. It's a little less flexible, but at least you don't have to go through a 32 item scriptable object and assign each spot individually lol

haachamachama
Автор

IDK If you can help me, i did everything you taught, but when trying to execute the pieces dont show up. Only the scenario and this error log: Object reference not set to an instance of an object

davisena
Автор

can you share the class diagram again its says the invitation is no longer valid

AhmedJalal-kg
Автор

Please make Multiplayer/onljne version tutorial ^^

reivsla
Автор

im stuck at environment setup, transform dont match, cant setup the board contents

sssssssh
Автор

This is a great video, but i stuck at even at placing table and chairs properly :)

XraZerTR
Автор

pleas how can i increas numper of boxes to make them not in 8x8 in 14x14???pleas answer

mohamedsamy
Автор

can I ask how you would add the scriptable object in unity 2022.3.8

adityakoul
Автор

Can i export this game as android game ?

simulateworld
Автор

Ive followed everything (i went second by second) and at the end the pieces arent generated. Any ideas?

stevenpoulin
welcome to shbcf.ru