Post by Jordan on Apr 28, 2010 13:12:48 GMT -8
I had a group project in one of my computer science classes which I did all the coding on and would like to show off due to the amount of time it took to do, and that was to make our own version of the classic Centipede arcade game with the Simple Direct Media Library. This is significantly different, but I think it's for the best since it's a lot more fun.
Basically, you're a guy at the bottom of the screen shooting up at a centipede coming down from the top of the screen. You'll notice a lot of mushrooms are all over the screen (except for the first level), and each time the centipede runs into one it will progress down (note that the Centipede goes through mushrooms when it moves up or down, this is so it doesn't get stuck). You can shoot the mushrooms which take four hits to destroy so it will take the centipede longer to come down, which takes three hits to kill per segment. There's also a "boost" object that you can shoot or move over that will make your gun fire more rapidly. There's a few problems with it such as it going back to the first level if you choose a different level on the settings screen and beat it. No big deal, though.
Use WASD to move and spacebar to shoot. You can also change level on the settings screen, and even make your own levels since they are all loaded from text files.
I haven't compiled it for Mac OS (X) so sorry if you are a Mac user. ;[
Centipede
While I'm at it I'll just say I've also made Tetris in the past with SDL which is fun too. Use the arrow keys to rotate/move, space bar to hot drop, and shift to hold the current piece.
Tetris
So let me know what you think.
Basically, you're a guy at the bottom of the screen shooting up at a centipede coming down from the top of the screen. You'll notice a lot of mushrooms are all over the screen (except for the first level), and each time the centipede runs into one it will progress down (note that the Centipede goes through mushrooms when it moves up or down, this is so it doesn't get stuck). You can shoot the mushrooms which take four hits to destroy so it will take the centipede longer to come down, which takes three hits to kill per segment. There's also a "boost" object that you can shoot or move over that will make your gun fire more rapidly. There's a few problems with it such as it going back to the first level if you choose a different level on the settings screen and beat it. No big deal, though.
Use WASD to move and spacebar to shoot. You can also change level on the settings screen, and even make your own levels since they are all loaded from text files.
I haven't compiled it for Mac OS (X) so sorry if you are a Mac user. ;[
Centipede
While I'm at it I'll just say I've also made Tetris in the past with SDL which is fun too. Use the arrow keys to rotate/move, space bar to hot drop, and shift to hold the current piece.
Tetris
So let me know what you think.