Jump to content

  • Log In with Google      Sign In   
  • Create Account


how to program a game of 2D pong


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Outlaw1198   Members   -  Reputation: 103

Like
0Likes
Like

Posted 28 July 2012 - 10:27 AM

hi guys i was wondering how i would get started on programing a simple 2d game of pong or something like that and what software would i need i have a basic idea of c++ which should be enough for this project.

any help will be appriciated.

Edited by Outlaw1198, 28 July 2012 - 01:34 PM.


Sponsor:

#2 Servant of the Lord   Crossbones+   -  Reputation: 18492

Like
1Likes
Like

Posted 28 July 2012 - 02:24 PM

If you are using C++, you need some kind of graphics API to do actual drawing. SFML is a good choice for that.
Here is a tutorial on making "Connect Four" in SFML: Part 1, Part 2, Part 3, Part 4.
Here's another creating Pong in SFML.

I just found those on Google, so I don't know how good they are.
It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal

[Fly with me on Twitter] [Google+] [My broken website]

[Need web hosting? I personally like A Small Orange]


#3 Outlaw1198   Members   -  Reputation: 103

Like
0Likes
Like

Posted 28 July 2012 - 02:42 PM

If you are using C++, you need some kind of graphics API to do actual drawing. SFML is a good choice for that.
Here is a tutorial on making "Connect Four" in SFML: Part 1, Part 2, Part 3, Part 4.
Here's another creating Pong in SFML.

I just found those on Google, so I don't know how good they are.


ok thanks i will check them out




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS