Author Topic: Pong - ClrDraw  (Read 3608 times)

0 Members and 1 Guest are viewing this topic.

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Pong - 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!

« Last Edit: November 19, 2013, 10:54:09 pm by ClrDraw »
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline XiiDraco

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 513
  • Rating: +32/-5
  • Forget the numbers, just call me, Recreation.
    • View Profile
    • Black-Lark Games
Re: Pong - ClrDraw
« Reply #1 on: November 23, 2013, 11:44:56 am »
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)

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Pong - ClrDraw
« Reply #2 on: November 23, 2013, 04:18:40 pm »
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.

Quote
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.
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • That one dude
    • View Profile
Re: Pong - ClrDraw
« Reply #3 on: November 23, 2013, 05:06:50 pm »
Dude the physics behind this game are deceitfully harder to accurate replicate than it seems. Good luck. Xii is barely scratching the surface.
Keep trying.

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Pong - ClrDraw
« Reply #4 on: November 23, 2013, 07:17:47 pm »
I was planning to leave it like this, should I try making it more like real pong?
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline XiiDraco

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 513
  • Rating: +32/-5
  • Forget the numbers, just call me, Recreation.
    • View Profile
    • Black-Lark Games
Re: Pong - ClrDraw
« Reply #5 on: November 23, 2013, 07:44:00 pm »
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.

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Pong - ClrDraw
« Reply #6 on: November 23, 2013, 08:24:20 pm »
Okay, I'll look into it.
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.