r/Unity2D • • 1d ago

Feedback needed Making tetris on unity

On theory, if i am able to distribute folders/parent objects to release the child objects, i can just create the tiles randomly choose one and drop each of them to the field. And then i can discard the parent object to make the tile structure just simple blocks that dont check on collision to every other block except the ones in its own folder and otherwise wait for any input in a second before leaving them and passing to the next one. I would also turn every tile 90 degrees on command and check if all digits in a row are filled before deleting that row and putting the next one in its place. But instead of doing it right after the check it would detect all the filled rows and erase them at the same time because thats what tetris does.

0 Upvotes

5 comments sorted by

2

u/midge 1d ago

I don’t  really follow the approach you’re describing. But if you think it will work, try it out. I made my own version of Tetris years back and it was not bad at all. Good luck with your Tetris!

1

u/KereMental 1d ago

Thanks!

1

u/MistakeForsaken6653 1d ago

Not sure what I just read but good luck on making your tetris game.

0

u/KereMental 1d ago

Im not making it its hypotetical

1

u/Ruadhan2300 1d ago

Last time I made a project along these lines I built it data-first and managed it with a state-machine.

Frankly managing the objects in folders sounds like an unnecessary headache, but if it links to how you're writing the code, then do what works.