How to Make Video Games 10 : Make Tetris 3

preview_player
Показать описание

We continue making a Tetris clone in this video. Our goal this time is to get those Tetris shapes to stack on each other. A lot more goes into that then we may have thought. I'll be covering Simulating Game boards in Arrays, Printing Arrays, Removing Event Handling from Objects, Instantiating Objects, Debugging, Moving All Shapes in a Scene and a whole lot more.

I continue with my new teaching format in which I make mistakes and then fix them to help you learn.

Thank you to Patreon supporters like the following for helping me make this video

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

By next month expect 150 buggy Tetris clones on the Android App Store.

auraxfire
Автор

Just found your videos from Brackeys I am glad it was a recommended channel.

ezisreel
Автор

Thank you very much Derek! I love every upload. So far I have done Pong and Space Invaders 2 times, to get the most out of this series.
By the way, how do you see your Game series unfolding in the coming months? And how long will it last.
You know that feeling when you are following some series and you are afraid that you will run out of episodes? :D
Looking forward to things to come!

SunnyApples
Автор

Thanks Derek, love your tutorials!!! Always wanted to learn Unity with my C# experience:)

Hunter-fytp
Автор

Hi Derek ! I think the title should follow the previous titles' pattern: How to Make Video Games 10 : Make Tetris 3.so when one searches for it they appear one after the other on the right side of the screen on youtube just like a playlist.

angelinajolie
Автор

How do you just go from the cubes falling faster then before to them working normaly again, i cannot wrap my head around this, also what made them fall so fast..

voltbf
Автор

Hey Derek What application do you use to make the sounds.

rohanfrancis
Автор

Derek making game dev tutorials?
Now we're talking :D

victornaut
Автор

HI Derek :)  I have a one question - Why did you use static class instead of singleton for GameBoard? (its just form making this easier or do you think that storing information inside of static class without instance is good idea?)

RafaSchmidt
Автор

I don't miss any of your tutorials

jerlhn
Автор

You lost me at10:10, I don't understand what UpdateGameBoard() is used for, and it's not working. Shapes dropping down very fast and the matrix on the left is not woking

jidian
Автор

Wow Derek, you make the best tutorials! Could you possibly do an example program that navigates to and through a website, looking for keywords, and clicking buttons within the site? Use whatever language you think would best fit.

SliceofJason
Автор

How do we know. What is the size of our array ?

Автор

Could you explain what a transform is? I understand that each object has a transform component, but how does one refer to it? I'm unfamiliar with C# syntax. if the object is Cube and I want to get its x do I do Cube.Transform.x?

GameSmarttHD
Автор

You should add 'Tetris' to the title so when people search for it, they will find it easier :)

IvanSkodje
Автор

Hi, how did you make it so that the shapes kind of rotate around their middle point. For example my IShape rotates around first cube on the left.

MiikaKontio
Автор

awesome.. waiting for the next part of this tutorial..

roninred
Автор

Why did the GameObjectGroup screwed everything up for me? I mean in the IsInBorder I have different numbers than you, I tried to configure the exact position but it's not making any changes and the shapes keeps spawning onto each others.

ezalor
Автор

it might've been easier to have readjusted each of the individual coordinates to integer values for each cube in the wall objects for the sake of precision and not having to mess around with the arrows--you can avoid creating the game object with that; otherwise, thanks for the video! good stuff

ZhuSM
Автор

i'm getting an error which when running pauses my game to make me aware of it

this is the error
IndexOutOfRangeException: Array index is out of range.
Shape.IsInGrid () (at Assets/Scripts C#/Shape.cs:110)

this is line 110 in the IsInGrid function
if (GameBoard.gameBoard[(int)vect.x, (int)vect.y] != null &&

could i get some help with this?

user.c
welcome to shbcf.ru