In this series of blog posts and videos we are going to be moving step-by-step, helping you learn to code by creating a free Tetris clone. This will be a working version of the popular game that has been around for generations.
Throughout these videos you will learn to code by designing this game from scratch using Unity as the game engine, and C# as the coding language. In detail, here is what will be covered:
- You will create a Tetris clone that will be playable on the web or on smartphones.
- The game will have controls that are optimized for each platform.
- This will be a beginner – intermediate level. Can follow as a beginner if you are devoted.
This means that while the course will be easier to follow if you are not completely new to programming, it will be designed in a way that will allow you to follow along even if you are brand new. Although in this case, you may not quite understand everything at first. That’s okay! You can always go over the videos more than once and rewatch them again in the future after you gain more experience.
To get started, you will need a few things.
- You will need to download and install Unity (free)
- You will need to get the required game assets
Download Game Assets
I have provided a basic starter pack and an enhanced starter pack. The basic pack contains generic Tetris pieces and a simple grid texture. You can download this for free, below, with no strings attached.
The enhanced starter pack contains everything in the basic pack, plus more 3D looking Tetris icons, plus a full GUI (graphical user interface), on-screen sprites for controls, button sprites, royalty free fonts, plus a few sound effects. I have also included the .psd Photoshop files so you can edit the Tetris sprites yourself. This is also free to download, but to get access to the file you will need to sign-up for my mailing list.
Either way, you can find all the assets you need online on websites like dafont.com, opengameart.org and freesound.org. Or you can design them yourself.