Sunday, October 9, 2011

Tetris clone in Unity

I have been working with Unity lately and decided to use it for a a 3D version of my simple-tetris-clone.
Unity great strengths are the easiness to go from concept to implementation and its support for deployment in multiple platforms. It's not that easy, I can tell, after finishing a project with iOS and Android support but once you get it right, it works.

You can play it online if you have the Unity plugin installed.

The source is in my repository.

Right now this port is missing the HUD (and for a demo this size stock Unity GUI support would be somehow OK) but I better don't bother because the GUI system is one of the Unity weakest points and it really sucks big time. Due to performance issues is plainly unusable for mobile devices and it's pretty archaic and limited for everything else. You'll need to buy expensive third party plugins or use (and probably modify) the nice and free UIToolkit for sane and usable interfaces in your games, but even then you still will miss support for advanced containers and scrolling. Sight. The good news is that Unity 3.5 will have a brand new GUI system. I really really hope they fix it for then.
So please forgive my laziness but my fingers chucked and rebelled against me when I was trying to type OnGUI(), and using old fashioned GUIText is not my thing :D

Forgetting the GUI, Unity is an awesome and very fun engine to play with, and it's FREE.
Programming in C# with Visual Studio C# is also a pleasure.

Have fun.


  1. buena esau! maestro!!!

  2. hey, you might find this very interesting, made in 2.5 days.

  3. This comment has been removed by a blog administrator.

  4. Hi, looks super cool but probably as it's old your repository links don't work. Could you update with the latest? I'm learning unity and would love to see this.

  5. google for blocks on github, blame DMCA

  6. code no longer available. could someone upload it again and send me the link please. thank you

  7. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from TypeScript Training in Chennai . or learn thru Javascript Online Training from India. Nowadays JavaScript has tons of job opportunities on various vertical industry. ES6 Training in Chennai