|
-
Dec 8th, 2000, 04:20 PM
#1
Thread Starter
Addicted Member
Ok I've just recently written a ping-pong game after seeing some other people’s efforts at Planet Source Code and thought I'll have a go.
The game works fine? I mean it runs, the ball bounces around the play area, deflects from the pads when they are moved in the way, points add up when either the left or right wall is hit. The game also has other fancy features and gives the user option to change names and wall and pad colour etc.
What I want to know is when is the ball supposed to speed up, If any off you have played the original version on those old consoles please explain to me how the ball is to behave when striking a wall or a players pad.
THANKS IN ADVANCE!!!
-
Dec 8th, 2000, 04:29 PM
#2
Addicted Member
Well, I don't know about the speed but did you make the ball bounce at different angles depending on where you hit it on the paddle? Like, a really steep angle if you hit it on the corner and then a really broad one if it's from the center. I never played any old versions of pong but it would probably be more challenging if it goes at different angles
To understand recursion, one must first understand the concept of recursion.
-
Dec 8th, 2000, 06:57 PM
#3
New Member
Pong
I can remember playing Pong as a child in The White Elephant Pub , Ashington , England my Great Grandmother had sunday lunch there you see and sometimes my brother and I would attend and I do not recall the ball speeding up during the game it was basically a test of skill between two players. The ball did as I remeber bounce at different angles according to how it was struck by the paddle.
-------------
F*R*A*G*O*F*F
-------------
-
Dec 9th, 2000, 12:29 AM
#4
Frenzied Member
Ashington? Where is that? There is an Ashington near Yeovil in Somerset, I don't suppose it's that one?
Harry.
"From one thing, know ten thousand things."
-
Dec 9th, 2000, 09:29 PM
#5
Lively Member
Pong
As I reacall, the ball would change angle depending on two factors: Where it strikes the player's paddle, and how the player's paddle is moving. For example, if the ball is moving like so, and hit's the player's paddle if it's not moving...
Code:
| .
| .
|.
| .
| .
| .
But, if it hits the edge...
.
.
.
| .
|.
| .
| .
| .
|
Likewise, if the paddle is moving upwards when the ball hits it...
.
.
| .
| .
|.
|.
| .
| .
Pardon my pathetic art skills. I think you get the idea.
~Zero the Inestimable
-
Dec 14th, 2000, 01:50 PM
#6
Lively Member
Hahaha, sorry, this has no relevance to anything whatsoever, but i just have to comment on DarkMoose's info thinger... laughing my @$$ off after that one
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|