Sign in to follow this  
Outlaw1198

how to program a game of 2D pong

Recommended Posts

Outlaw1198    103
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

Share this post


Link to post
Share on other sites
If you are using C++, you need some kind of graphics API to do actual drawing. [url="http://sfml-dev.org/"]SFML[/url] is a good choice for that.
Here is a tutorial on making "Connect Four" in SFML:[url="http://redkiing.wordpress.com/2009/08/20/your-first-sfml-game-part-i-introduction/"] Part 1[/url], [url="http://redkiing.wordpress.com/2009/08/20/your-first-sfml-game-part-ii-the-board/"]Part 2[/url], [url="http://redkiing.wordpress.com/2009/08/20/your-first-sfml-game-part-iii-the-user-interface/"]Part 3[/url], [url="http://redkiing.wordpress.com/2009/08/20/your-first-sfml-game-part-iii-the-main-loop/"]Part 4[/url].
Here's another creating [url="http://www.gamefromscratch.com/page/Game-From-Scratch-CPP-Edition.aspx"]Pong in SFML[/url].

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

Share this post


Link to post
Share on other sites
Outlaw1198    103
[quote name='Servant of the Lord' timestamp='1343507076' post='4964084']
If you are using C++, you need some kind of graphics API to do actual drawing. [url="http://sfml-dev.org/"]SFML[/url] is a good choice for that.
Here is a tutorial on making "Connect Four" in SFML:[url="http://redkiing.wordpress.com/2009/08/20/your-first-sfml-game-part-i-introduction/"] Part 1[/url], [url="http://redkiing.wordpress.com/2009/08/20/your-first-sfml-game-part-ii-the-board/"]Part 2[/url], [url="http://redkiing.wordpress.com/2009/08/20/your-first-sfml-game-part-iii-the-user-interface/"]Part 3[/url], [url="http://redkiing.wordpress.com/2009/08/20/your-first-sfml-game-part-iii-the-main-loop/"]Part 4[/url].
Here's another creating [url="http://www.gamefromscratch.com/page/Game-From-Scratch-CPP-Edition.aspx"]Pong in SFML[/url].

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

ok thanks i will check them out

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this