Thereis a dialogue box that enables players to edit each level's background by specifying a bitmap file or a solid colour. It is not known if non-tiled custom bitmaps work (the previous bitmap is not cleared until the application is restarted), or if it is just obstructed by the game at the centre of the screen. It is otherwise fully functional. There is no browse option, so the full path and filename must be typed manually (or pasted). Solid colours for each level are fixed and cannot be changed. This can be accessed from a menu item or accelerator with an id of 131. Changes are saved to tetris.ini.
I have seen many attempts to write games with MATLAB: Tetris, Sudoko, Minesweeper, and so on. However, the graphics and interface of these programs look more like MATLAB demos rather than serious computer games. I can't help but asking myself: Can't MATLAB do better than that?
Then I came across Psychtoolbox, an MATLAB extension designed for visual neuroscientists. I suddenly realized that this toolbox could help me make a game the way I want: You don't need to bring up a MATLAB figure to display the graphics. Instead, a full-screen canvas is prepared for you to paint on. Also, the drawing is much faster with the toolbox since it is entirely base on OpenGL.
I made this game in my spare time. I'm just a neuroscience student who does experiments for 10+ hours everyday, so it took me years to finish the game. It looks good to me, really good. Everytime I played the game, I know my hardwork is not wasted.
How to use:
1. Install Psychtoolbox 3 (see above, remember, Psychtoolbox 2 is no good)
2. Unzip the files to any folder (say \MATRIS), bring up MATLAB and add MATRIS and all its subfolders into the search path list. Then type 'tetrisMain' ro play the game
This game has two launchers: tetrisMain and tetrisMainPsych. They are made for gamers and psychophysicists, respectively. The former runs like a regular game, whereas the latter prompts you to input the subject's name and save the score of the subject into data files. The psychophysicists' edition also display the time elapsed on the screen, and automatically quit the game if a certain amount of time is passed.
3a8082e126