Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / My first game: Metris (a tetris clone)
- By lobo_tuerto Date 2009-07-13 05:02 Edited 2009-07-13 21:08
Hi guys, this is my very first game. Since I'm so much in love with Ruby, it was done in that precious language. :)

It's simple, can be improved in many ways.
It's heavily commented (Spanish only though, but if there are people interested in an English version I can do it).
It's parameterized, you can set the height and width of the board, the square size for the blocks, the times for falling pieces, times for repetition (when the user holds down a key).
You can define your own shapes easily, and define a pivot (a point that the shape rotates around), no more you have to explicitly create a shape with all the four rotations in a file.
The shapes may have an arbitrary size.

The game is moreless (very)basic-feature complete. It has a score for the player and it ends (tee-hee).
It was done in about 3 days, 2 days straight, then 1 more day a couple of days later.

If you have questions, ask away! :)

Here are some screenshots that shows how a little toying with the params, can modify the "look" of the board:
Attachment: metris.zip (69k)
- By Maverick Date 2009-07-13 05:58
Sweet, dude. I'll take a challenge and do my best to translate it :)
- By lobo_tuerto Date 2009-07-13 15:19 Edited 2009-07-13 16:05
Thank you, although you don't have to! I would do the translation myself if anyone needs it here.

I did it in Spanish, because I was planning to publish the code to my blog (that happens to be in Spanish):
http://lobotuerto.com/blog/2009/07/13/metris-mi-clon-de-tetris-en-ruby-y-gosu/ :)
- By Maverick Date 2009-07-13 19:24
I'm rusty on my Spanish so I need it anyway. :p
I'm about 30% done with the translation though there a few parts I'm not so sure about. I didn't expect so much code. O.o
t's really good. By far one of the best tetris clones I have seen.
- By lobo_tuerto Date 2009-07-14 15:20
Thank you for the encouraging words. :)

As soon as you are done, send it to me, so I can do a quick check, and help with whatever is missing.
Cheers.
Up Topic Gosu / Gosu Showcase / My first game: Metris (a tetris clone)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill