This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for Tetris

Return to Tetris

A new version of this scenario was uploaded on Tue Dec 21 16:13:44 UTC 2010
A new version of this scenario was uploaded on Thu Dec 23 03:53:18 UTC 2010 now the movement using the Greenfoot.getKey() method. Improved a little bit!
A new version of this scenario was uploaded on Thu Dec 23 03:54:22 UTC 2010
A new version of this scenario was uploaded on Thu Dec 23 04:47:46 UTC 2010 Its a game now! added scoreBoard, speed increasement, and score system.
A new version of this scenario was uploaded on Thu Dec 23 07:25:03 UTC 2010 Added sound and music (created by me :D)
qnanqingqnanqing

2010/12/23

it seems the MidiPlayer playMidiFile() doesnt work on applet
qnanqingqnanqing

2010/12/23

java.security.AccessControlException: access denied (java.io.FilePermission sounds\tem.mid read) how to handle this exception?
A new version of this scenario was uploaded on Thu Dec 23 09:36:32 UTC 2010 music file location edited
A new version of this scenario was uploaded on Thu Dec 23 11:42:15 UTC 2010 now the music plays!
A new version of this scenario was uploaded on Thu Dec 23 12:54:13 UTC 2010 The music file is now static, so it will stop when the game is reseting.
DonaldDuckDonaldDuck

2010/12/23

I'm not sure if your aware, but Greenfoot 2.0 has a built in Midi Sequence Handler (Or whatever it's called) Just say - GreenfootSound music = new GreenfootSound("tem.mid"); if(!music.isPlaying()) music.play();
Builderboy2005Builderboy2005

2010/12/24

Its working for me now tho :D
qnanqingqnanqing

2010/12/27

Ah! im not aware! the greenfoot package had one more class!
A new version of this scenario was uploaded on Mon Dec 27 05:40:38 UTC 2010 Now im using the GreenfootSound class! For the Background Music. But im still using the MidiPlayer class for the sound efects.
qnanqingqnanqing

2010/12/27

Updated! ah and if you download this game, you can upload your score! check here for the score: http://games.1free.ws/scripts/tetrisscore.php
DonaldDuckDonaldDuck

2010/12/28

Nicely done =)
A new version of this scenario was uploaded on 2019-03-27 04:21:20 UTC Update to Greenfoot 3
A new version of this scenario was uploaded on 2019-03-27 04:30:24 UTC Not using swing anymore.