I have attached the .zip file with the code, the images, the .dll files and the executable if anyone is interested in giving the game a run-through. To learn how to play, read the readme file. As I said, this is my first game and by no means do I consider myself anything but an amateur. However, feel free to use the code as a learning tool for SDL. If you have any questions about the code for this game I will gladly answer them to my ability.
I learned to use SDL from Lazy Foo's Tutorials. Keep in mind that in order to compile the source code you need to have the SDL libraries set up. There are instructions to do this on Lazy Foo's website. Otherwise, if you extract the files to another folder, you should be able to play by running the PongGame.exe file.
Much thanks to Hyper for all of the help, without which I would probably still be swearing at my computer.
This game will sometimes end randomly on its own after playing for a while... I'm not sure how to fix. If anyone can help with this it would be very very much appreciated. Otherwise, I am content with my first C++ game.
Let me know of any questions. Also, I would very much appreciate any comments/suggestions/etc. about the game. Thanks.
P.S. If you have any trouble opening the .zip attachment and would still like to see the game, I will gladly email it to you. I can also post the code on this forum if anyone would like but it is pretty long...
Number of downloads: 1233
This post has been edited by blackzer0: 21 March 2009 - 01:26 PM