• Advertisement
Sign in to follow this  

How can I make a 2d pong game. SFML

This topic is 1668 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys, I am ultimately trying to make a 3d game in OpenGL, but I feel as if i need to practice and get skills. Sorry if posting in wrong section, I'm new.

Share this post


Link to post
Share on other sites
Advertisement

Serapth just posted this earlier and it is a great tutorial series on how to do it in C++ and SFML: Here

 

SFML has pretty good bindings for OpenGL so you can kind of work your way towards that (since you mentioned you wanted to work with OpenGL is 3d).

Share this post


Link to post
Share on other sites

Serapth just posted this earlier and it is a great tutorial series on how to do it in C++ and SFML: Here

 

SFML has pretty good bindings for OpenGL so you can kind of work your way towards that (since you mentioned you wanted to work with OpenGL is 3d).

When I first started making Pong, I looked at this and then started building my own. Overall, it was more rewardig because I wasn't just Copying and Pasting Serapths code. I was actually learning how to use the library. That and I believe his code is really over-engineered for Pong.

 

Cheers :)!

Share this post


Link to post
Share on other sites

 

Serapth just posted this earlier and it is a great tutorial series on how to do it in C++ and SFML: Here

 

SFML has pretty good bindings for OpenGL so you can kind of work your way towards that (since you mentioned you wanted to work with OpenGL is 3d).

When I first started making Pong, I looked at this and then started building my own. Overall, it was more rewardig because I wasn't just Copying and Pasting Serapths code. I was actually learning how to use the library. That and I believe his code is really over-engineered for Pong.

 

Cheers smile.png!

 

 

I just wanted to wanted to comment on this quickly:

 

First of all, it's absolutely a good idea to try to figure things out for yourself and then seek help if you have trouble -- it can sometimes be a more rewarding experience, and you'll often learn more along the way than you may have just copying along with a tutorial.

 

Serapth's tutorial is absolutely over-engineered for Pong, but that's kind of the point: it's not really a tutorial about making a Pong, it's a tutorial about C++ and OOP that happens to use the creation of Pong to illustrate those topics.  Even if you create your own Pong game independently, there's very likely some value in following through Serapth's tutorial as well. smile.png

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement