Omnimaga
Calculator Community => Other Calculators => Topic started by: ClrDraw on November 19, 2013, 10:34:26 pm
-
http://www.omnimaga.org/index.php?action=downloads;sa=view;down=870
Pong, by ClrDraw (November 2013)
This is a simple pong game with three difficulty levels and the option to play single player (see how long you can last) or multiplayer against a friend!
(http://img.ourl.ca//Pong.gif)
-
Hmm cool. I made something exactly like this before, anyway, are the angles of the ball bouncing off of certain objects random, calculated or are they just defined?
Right now it looks like ball will go from moving horizontally (diagonal) and then when the paddle hits it it just goes completely straight vertical again.
If you want the ball's bouncing to be calculated then you can change the velocity of the ball based upon where it hits on the paddle. I believe in the original pong, they had it so the ball would go farther left or right depending on how far it was on the paddle. The wall bouncing looks good though.
Also if you are going to make the ball change on where it hits the paddle, you might want to make it ADD the change to the current velocity or it will just instant change from hard right to hard left. (looks funny that way)
-
It's random: 1, 2, or 3 pixels left or right. It would be nice if I could make it so it didn't go to the middle so often though.
Also if you are going to make the ball change on where it hits the paddle, you might want to make it ADD the change to the current velocity or it will just instant change from hard right to hard left. (looks funny that way)
that's a good idea.
-
Dude the physics behind this game are deceitfully harder to accurate replicate than it seems. Good luck. Xii is barely scratching the surface.
-
I was planning to leave it like this, should I try making it more like real pong?
-
Dude the physics behind this game are deceitfully harder to accurate replicate than it seems. Good luck. Xii is barely scratching the surface.
Yeah, I know XD.
I was planning to leave it like this, should I try making it more like real pong?
Definitely work on the physics and make it like the real pong. That would be really impressive.
-
Okay, I'll look into it.