Tetris – Hello world.
Developing a tetris game is considered by most in the game development world a great “Hello world” game. They say it has a great combination of everything, so you touch on most things required to do 2D games.
So with this in mind, I thought my first game should be a Tetris clone. So I have started on it, and haven’t really gotten very far with it to be honest but that is because I am only working on it when it is quiet at work. So far I have completed the following:
- Designed the grid, and developed logic to move pieces around the grid.
- added in logic to auto drop the shape if no key is pressed by the player.
- Applied a background.
- Developed logic to direct a small one piece block around the grid to validate game logic such as grid bounds, collision, grid cell state.
The next thing I want to do is work on logic for the individual shapes, and get them moving around the grid and once that is done, I will be working on pivoting the shapes.
From there it is a small matter of adding some scoring to it, next piece info block, and a menu structure. Ideally not a lot of work left but knowing me it could take forever.
Here are two screen shots of what I have so far:
Will keep posting updates as I go along.
No Responses to “Tetris – Hello world.”
RSS feed for comments on this post. TrackBack URL
Leave a Response
You must be logged in to post a comment.
