Tetris
Author |
Message |
Junkhead
|
Posted: Thu Jul 05, 2007 8:52 pm Post subject: Tetris |
|
|
Hey everyone, I know I haven't posted in a while or anything, but I figured I'd upload my latest creation on here.
Behold, yet another version of tetris.
Except, I've put a lot of time into this, so I want it to be more than "yet another version of tetris".
Everything is nicely detailed, thanks to my graphic artist, and the controls are pretty intuitive.
Controls:
Left/right arrow: move block
Up arrow: rotate block
Down arrow: speed block up
Space bar: drop block in place
Escape: Pause game
Features:
-Fullscreen toggle
-A nice main menu (source for it is included, along with the header file if you want to use it in your own game)
-"Ghost block" functionality
-Cross platform availablility
-Pretty graphics
-Ability to select your starting level
-Preference saving
-A file that stores the blocks, that you can edit to create new blocks. (File format is documented in source code).
Requirements:
-A monitor capable of displaying an 800x600 screen
-An operating system that supports SDL (most do, don't worry)
-At least 10mb of ram
-Unsure about processor requirements, but the game has a timer built into it so the blocks drop at the same pace, regardless of processor frequency.
This is fully open source, licenced under GPL, the source is included in the archive below under the folder ./source
Well, have fun guys!
Description: |
|
Download |
Filename: |
Tetris_dist_win32.zip |
Filesize: |
1.54 MB |
Downloaded: |
1378 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Junkhead
|
Posted: Thu Jul 12, 2007 9:58 pm Post subject: Re: Tetris |
|
|
Holy crap, 70 views and still no comments eh? Ah well, didn't think it'd be too popular.
|
|
|
|
|
|
neufelni
|
Posted: Thu Jul 12, 2007 10:25 pm Post subject: RE:Tetris |
|
|
Really good job, but I think something like this would be much easier using Python and Pygame rather than C. Great game though.
|
|
|
|
|
|
Junkhead
|
Posted: Thu Jul 12, 2007 10:31 pm Post subject: Re: Tetris |
|
|
Totally agree with you man, it's just that the purpose of this for me was to learn more about C lol
|
|
|
|
|
|
Junkhead
|
Posted: Sun Jul 15, 2007 6:51 pm Post subject: Re: Tetris |
|
|
Alright folks, new version!
This one comes with OpenGL support (run GLTetris2.exe to get it)
Be sure to read the readme.txt file in the archive for details about it, since it's kinda experimental.
Fullscreen mode is now on by default.
Description: |
|
Download |
Filename: |
Tetris_dist_win32_v2.zip |
Filesize: |
1.69 MB |
Downloaded: |
715 Time(s) |
|
|
|
|
|
|
Junkhead
|
Posted: Sun Jul 22, 2007 5:11 pm Post subject: Re: Tetris |
|
|
Another new version, though I need this to be ported to Windows (my Win32 dev machine is out of commission at the moment).
Anyone who does this, your help is greatly appreciated.
This new version makes use of my new SGL library, which makes it easy to port SDL programs to OpenGL.
Included in this file are the sources, the game binary, and the SGL library (as a .deb for the Ubuntu/Debian users and the actual .so file).
To play, run gltetris2.sh.
Download: http://rapidshare.com/files/44443837/dist.zip.html
(Note: Linux x86 version)
EDIT: Alright, I borrowed my friend's computer for a while, long enough to compile a Windows version.
Download: http://rapidshare.com/files/44451515/Tetris_dist_win32_v3.zip.html
EDIT 2: Uploads on CompSci are broken, so I have to use external sources. Unfortunately, rapidshare isn't so great.
|
|
|
|
|
|
Junkhead
|
Posted: Sun Jul 22, 2007 11:20 pm Post subject: Re: Tetris |
|
|
Geez, tough crowd
|
|
|
|
|
|
rdrake
|
Posted: Sun Jul 22, 2007 11:33 pm Post subject: RE:Tetris |
|
|
Looks very good. Not sure I like the outline on the bottom of where the piece would go, though. I kept looking at that instead of the piece itself.
I believe Dan fixed uploads once again.
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Junkhead
|
Posted: Sun Jul 22, 2007 11:37 pm Post subject: Re: Tetris |
|
|
Thanks for the feedback, I probably should have had some kinda settings file to store that kinda stuff in lol
So uploads are working again? I'll try uploading the two packages:
Seems it worked.
EDIT: If you guys wouldn't mind, could you post feedback here about how the OpenGL version is working on your computers? It's worked great on the three I've tested, but any feedback is welcome. I'll be using the info to revise and improve my SGL library, which will be released to the public when it's done. Thanks.
Description: |
|
Download |
Filename: |
Tetris_dist_win32_v3.zip |
Filesize: |
1.61 MB |
Downloaded: |
651 Time(s) |
Description: |
Linux x86 binary, SGL included |
|
Download |
Filename: |
dist.zip |
Filesize: |
2.48 MB |
Downloaded: |
361 Time(s) |
|
|
|
|
|
|
javaster
|
Posted: Sun Dec 16, 2007 7:29 pm Post subject: RE:Tetris |
|
|
Nice. How long did it take to write the program?
|
|
|
|
|
|
Junkhead
|
Posted: Thu Jan 03, 2008 5:52 pm Post subject: Re: Tetris |
|
|
Oh, it took me roughly a month, I was learning C as I was writing it. Also, I had to wait for my artist to make the graphics before release and all.
By the way, here's version 4. Should be final.
Changelog:
-No more repeated keypresses, this annoyed quite a few people.
-Code has been cleaned up a bit.
-I've included my old (not fully functional) netcode, which isn't compiled in. It causes random errors. A full rewrite is probably in order. It's also decentralized.
Edit: Just wondering guys, for my linux releases of whatever program, what format would you guys like the installer file to be in? DEB? RPM? Autopackage?
Description: |
|
Download |
Filename: |
GLTetris2-win32-v4.zip |
Filesize: |
1.44 MB |
Downloaded: |
708 Time(s) |
|
|
|
|
|
|
Joel92
|
Posted: Thu Jan 29, 2009 2:04 pm Post subject: Re: Tetris |
|
|
Very cool! Keep up the good work!
|
|
|
|
|
|
Homer_simpson
|
Posted: Thu Jan 29, 2009 9:03 pm Post subject: Re: Tetris |
|
|
best version of non commercial tetris i've every seen
|
|
|
|
|
|
|
|