The pong game features automatic pausing and a few options, it is by no means perfect.
To change the various options just open the script in your favorite editor.
To pause, select another window. If you are playing with no window besides the game itself just move the mouse and click on the taskbar really quickly.
I tried to comment upon lots of the script but there are some parts where I was too busy making it work to write a comment.
EDIT: By the way, you don't use the arrow keys to control the paddle. You use the mouse.
EDIT2: The script now no longer says "You won!" when you lose.
EDIT3: Now you can choose to make it pause in between serves. Click to continue. (Also, you can restart your game)
EDIT4: More comments added, and now the ball can start going a random direction (If you want)
EDIT5: The whole script has been commented on now (i know there a few I don't need, but I like to be thurough). The physics have been tweaked a bit also. (If you hit the ball with the middle of your paddle it slows down a little bit)
EDIT6: Now there is an option to show the FPS and an option to make the CPU paddle move a little choppier (to boost fps) I will probably stop developing this game now and move on to something else (Breakout!)
Attached Files
Edited by Xenogis, 04 September 2006 - 01:15 AM.







