Author |
Message |
do_pete
![](http://i38.photobucket.com/albums/e112/do_pete/1943.gif)
|
Posted: Tue Nov 08, 2005 11:44 am Post subject: Bullet Time Pong v.2 |
|
|
here is my second version of bullet time pong. if you want a single player game uncomment the line 301.
Instructions: Player 1 uses 'w' to go up, 's' to go down and 'a' to go into slow motion. Player 2 uses the arrow keys and shift to go into slw motion
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
Bullet Time Pong.zip |
Filesize: |
3.33 KB |
Downloaded: |
433 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
jamonathin
![](http://compsci.ca/v3/uploads/user_avatars/57683465145f851a43dd9a.gif)
|
Posted: Tue Nov 08, 2005 11:46 am Post subject: (No subject) |
|
|
Throw all of your images and code into a zip file, most people aren't going to want to open up the image, save it and repeat.
|
|
|
|
|
![](images/spacer.gif) |
do_pete
![](http://i38.photobucket.com/albums/e112/do_pete/1943.gif)
|
Posted: Tue Nov 08, 2005 12:32 pm Post subject: (No subject) |
|
|
thanx. doing that now...
|
|
|
|
|
![](images/spacer.gif) |
jamonathin
![](http://compsci.ca/v3/uploads/user_avatars/57683465145f851a43dd9a.gif)
|
Posted: Tue Nov 08, 2005 1:09 pm Post subject: (No subject) |
|
|
Interesting way of doing pong, makes it a little less boring.
Problems:
- You can stop the computer player by pressing the appropriate letters on the keyboard.
- You can use the computer's "bullet time"
- The AI isn't really al lthat well done. I mean, there's not much you can do about AI in a simple pong game, but the computer will never miss. You make the paddle equal to the ball position. For instance, i held the computer down with 'w' (which is the first error) then i let go and he teleported to the ball. Randomize it up a little bit with his placement, speed and direction (at least let the user think the computer might mess up)
And lastly, you can easily have the user change whether or not the game is 1 or 2 players in the actual game. Just add some 'if' statements and a boolean variable to tell the program to run/not run the AI and to disable/enable the player 2 controls.
Work on those things. The game's lookin good so far tho.
|
|
|
|
|
![](images/spacer.gif) |
do_pete
![](http://i38.photobucket.com/albums/e112/do_pete/1943.gif)
|
Posted: Tue Nov 08, 2005 1:18 pm Post subject: (No subject) |
|
|
yeah i know. i was a bit lazy when i did the AI
|
|
|
|
|
![](images/spacer.gif) |
Albrecd
|
Posted: Tue Nov 08, 2005 1:32 pm Post subject: lazy |
|
|
Quote: i was a bit lazy when i did the AI
Peter you're always lazy
|
|
|
|
|
![](images/spacer.gif) |
do_pete
![](http://i38.photobucket.com/albums/e112/do_pete/1943.gif)
|
Posted: Tue Nov 08, 2005 1:36 pm Post subject: (No subject) |
|
|
Wow, how long did it take you to figure that one out
|
|
|
|
|
![](images/spacer.gif) |
Albrecd
|
Posted: Tue Nov 08, 2005 3:03 pm Post subject: (No subject) |
|
|
And not only that... HE KNOWS HOW TO MAKE SMILIES!!!
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
do_pete
![](http://i38.photobucket.com/albums/e112/do_pete/1943.gif)
|
Posted: Tue Nov 08, 2005 3:04 pm Post subject: (No subject) |
|
|
wow thats a bit off topic...
|
|
|
|
|
![](images/spacer.gif) |
Albrecd
|
Posted: Tue Nov 08, 2005 3:06 pm Post subject: (No subject) |
|
|
You should change the paddles. Use something cooler than lines. But that's just my humble opinion.
|
|
|
|
|
![](images/spacer.gif) |
do_pete
![](http://i38.photobucket.com/albums/e112/do_pete/1943.gif)
|
Posted: Tue Nov 08, 2005 3:07 pm Post subject: (No subject) |
|
|
um... in case you havn't noticed they aren't just lines
|
|
|
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: Tue Nov 08, 2005 4:05 pm Post subject: (No subject) |
|
|
Judging by the rapid succession of the posts, I'm going to assume you were both in a class together at that time. Therefore, there's no need to spam the boards with useless remarks, when you could just talk to each other in real life.
But even if you couldn't chat at that time in real life, the point remains: please don't spam the boards.
|
|
|
|
|
![](images/spacer.gif) |
|