pygame is
Simple DirectMedia Layer is
Site Swing

Trix - 0.0.2beta

killdream (killdream)



This is a simple tetris game for 1 player only. The rules of the game are very simple: Pieces will be thrown from the top of the board. During the time the piece is falling you can move, rotate or make them fall faster. Once a piece hits something solid it's stop and other piece will be thrown. If there's some horizontal line full this is removed from the board and the pieces above it are pulled down. The objective of the game it's win more points as possible until the pieces hits the limit area, that it's the first line of the board (marked in red).

You'll win points when you place pieces on the board. The less time you think before place the piece, the more points you win. When you break lines you'll win extra points. These extra points are multiplied by the number of lines you break at the same time. Breaking lines sequently it's called "combo" and let you win more extra points.


» Menu controls:
ARROWS: move the cursor in the menu and change option values.
RETURN: select the actual item in the menu.
ESCAPE: Quit/Return to previous screen.

» Game controls:
Note that this controls can be changed in the options menu.
LEFT: move the piece to left.
RIGHT: move the piece to right.
ROTATE: rotate the piece to right.
DOWN: make the piece fall faster.
CTRL + LEFT: rotate the piece to left.
CTRL + RIGHT: rotate the piece to right.
ESCAPE: Quit/Pause the game.


» Graphics in true color with alpha channel
» Background music (with random background music for levels)
» Graphic effects with particles and surfarray
» Sound test
» High scores
» Combo system
» You can add your own music to use in levels, just put it in "bgm" folder


Home Page:


click to view original size


Trix - 0.0.2beta - Sep 7, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

September 30, 2008 6:04am - publeo - nickname: (publeo) - 5/5
wow great game, very nice coding, with lot's of comments!
September 10, 2008 6:14pm - Anonymous - nickname: (pywiz32)
blender-python converter
if you put a movie back there that would be AWESOME!!!!!!!!!!!!!!!!!1
September 9, 2008 8:17am - killdream - nickname: (killdream)
The background is pre-rendered in Blender with post-art in Photoshop. The other graphics were made with Macromedia Fireworks.

I Think smoothscale is a new function in 1.8 releases.
September 9, 2008 6:30am - Luca Fabbri - nickname: (keul)
May be you've wrong version of pygame.
September 9, 2008 6:24am - Riovandaino - nickname: (riovandaino)
dario@ubuntu:~/Scrivania/Trix_v002$ python
Traceback (most recent call last):
File "", line 2347, in <module>
if __name__ == '__main__': main()
File "", line 2290, in main
icon = pygame.transform.smoothscale(SCREEN_ICON, (32,32))
AttributeError: 'module' object has no attribute 'smoothscale'
September 8, 2008 8:29am - Dylan J. Raub - nickname: (dylanjraub)
Just looking at the image, I'm very impressed! Is the background a video?
If it's actualy rendered, then does it use pyOpenGl?
September 7, 2008 7:51pm - Anonymous - nickname: (pywiz32) - 4/5
Not bad. Graphics are impressive. a few suggestions: the wait for a window to show up is sort of long, if you speed that up that would be great. Other than that, awesome game.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Nov 17, 2015

Nov 12, 2015

Nov 11, 2015

Nov 8, 2015

Oct 16, 2015

Oct 9, 2015

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)