Showing posts with label devlog. Show all posts
Showing posts with label devlog. Show all posts

Sunday, 7 February 2016

Tesseract Day 4. It's a Ghost!

I can hardly call this a "Day", since it took me much less than I expected.

I added the ghost piece functionality. As you can see from the screenshot above, now you can see where the piece is going to fall if dropped. One more thing off the Tetris Guideline to do.

It took me less than 20 minutes, including some minor refactoring (starting to put some order in the chaos that is the main loop). Basically I had to add a small loop to compute the vertical position of the ghost piece every time the piece is moved. And now the renderer of the main board also adds the ghost squares every time it has to add a square for the current piece.

I like it.

A presto,

M.

Friday, 5 February 2016

Let's play. Making Tesseract (Days 1-3)

I have a devlog, now I should start writing in it, shouldn't I?

My first project? Tetris.

Why? Because of this post, which I like and find very sensible.

Why start with a game? Because why not? I like the idea and have lurked around game development sites, blogs and tutorials for a looong time.

My main objective here is to complete a project from start to finish. Possibly for the first time in my programming life. I have been using Python for years to test some of my mathematical hypotheses and it is by far the language I know best (I do know a couple of others, though), but I never made a full project, simply because I never had to.

You will find the code of this project on this repository. Feel free to have a look around.

Here are the (admittedly arbitrary) rules I set for myself: