Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Simple Paddle - a simpleton's attempt at Pong!  (Read 2510 times)

0 Members and 1 Guest are viewing this topic.

grumpaladin

  • Newbie
  • *
  • Posts: 7
    • View Profile
Simple Paddle - a simpleton's attempt at Pong!
« on: November 16, 2016, 09:23:40 pm »
I wanted to start learning how to use SFML so I figured I might as well start small-ish. I made Simple Paddle! A Pong clone that deliberately doesn't use the word Pong.


The source code is available on Github!

It's nothing terribly special but it's mine and I wanted to share it with someone. Right now my main concern is that the way I handled collisions are pretty lazy because if the ball hits the very top/bottom of the paddle at the right angle it's possible for it to get stuck and wobble about. It's a fairly rare case in the times I've played. I also might end up programming an AI for it but I haven't really decided.

If you'd like to leave any feedback, I'd welcome it!

Thanks for stopping by.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Simple Paddle - a simpleton's attempt at Pong!
« Reply #1 on: November 17, 2016, 08:05:49 am »
Cool! :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Bonediggerninja

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Simple Paddle - a simpleton's attempt at Pong!
« Reply #2 on: December 07, 2016, 07:35:21 am »
I'd Love an Ai for this :D :D