C/C++ Best courses to learn 2d game development in C++?

  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    2d Courses Game
AI Thread Summary
The discussion centers on learning game development concepts while practicing object-oriented programming (OOP) in C++. The original poster expresses a desire for resources on libraries like SFML, SDL, and others, but notes a lack of courses compared to more popular engines like Unreal Engine. Recommendations lean towards using the Unity game engine, which supports multiple platforms and utilizes C# or JavaScript for coding. Unity is praised for its accessibility and the abundance of tutorials available online. There is skepticism about the value of a specific book for console game development, with suggestions that it may not align with the poster's interest in 2D graphics. Participants emphasize the importance of not reinventing the wheel in game development and encourage learning C# to take advantage of Unity’s capabilities. Overall, the consensus is that Unity, along with C#, is a more efficient path for game development than sticking solely with C++.
shivajikobardan
Messages
637
Reaction score
54
TL;DR Summary
game dev in c/c++
This is not for professional career or something. This is just to practice OOP as I'm learning C++ atm. I found there are not many course for sfml, sdl, allegro, graphics.h,raylib etc unlike unreal engine. So, if you know something which has a good tutorial, please recommend.
In OOP way. I want to make games like tic tac toe etc. Well, I could make them in console as well.

I want a course that teaches game development concepts like collision detection etc. I don't need to be taught library as it's easy to learn small libraries.
 
Technology news on Phys.org
jedishrfu said:
Why not investigate Unity game engine? It supports many many platforms and coding is done in either javascript or c#.

https://en.wikipedia.org/wiki/Unity_(game_engine)

there are many tutorials on the site and on YouTube and elsewhere if you search for them.

https://unity.com/learn
I think unity or unreal is the way to go. But I'd need to learn C# which would take me 2 weeks at least.
 
shivajikobardan said:
Do you guys recommend me buy this book?
No.
 
Last edited by a moderator:
Unless you're dead set on learning c++, I'd go with Unity and c#. I dabbled in c++ twenty years ago, but other than that have little programming experience, and within the first week of learning Unity and c#, I got stuff going I thought would take months to learn.

I learned blender along with it and I didn't realize all this stuff had become as accessible as it had. With large language models becoming more advanced, I can only assume it'll get more and more accessible.
 
shivajikobardan said:
Do you guys recommend me buy this book? For making console games?

pbuk said:
No.
A possible reason for pbuk's terse comment is that your thread title indicates that you're interested in 2D game development. The book in the link you provided seems to be mostly about text games, with no graphics.
 
Mark44 said:
terse comment
Code:
bool recommendation;
 
  • Haha
  • Like
Likes pbuk and Mark44
shivajikobardan said:
I think unity or unreal is the way to go. But I'd need to learn C# which would take me 2 weeks at least.
Then learn it. In game development, reinventing the wheel is something that you don't want to do.

If you have a solid base in programming logic, you shouldn't be facing a tough time in grasping the basics of any high-level language. And I have already given you a long list of programs via PM; you can use those to fortify your understanding. And then just learn on the way.
 
Last edited:
  • #10
shivajikobardan said:
But I'd need to learn C# which would take me 2 weeks at least.
That might be a gross underestimate.
 
  • Like
Likes Wrichik Basu
Back
Top