-
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!!!
-
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
-
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.
-
Ashington? Where is that? There is an Ashington near Yeovil in Somerset, I don't suppose it's that one?
-
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
-
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 :)