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

  • Context: C/C++ 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    2d Courses Game
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
9 replies · 4K views
shivajikobardan
Messages
637
Reaction score
54
TL;DR
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.
 
Physics 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.
 
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.
 
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:
Reply
  • Like
Likes   Reactions: pbuk
shivajikobardan said:
But I'd need to learn C# which would take me 2 weeks at least.
That might be a gross underestimate.
 
Reply
  • Like
Likes   Reactions: Wrichik Basu