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
Click For Summary
SUMMARY

The discussion centers on the best courses for learning 2D game development using C++. Participants express a preference for libraries such as SFML, SDL, and Raylib, while also considering Unity as a viable alternative due to its extensive resources and support for multiple platforms. The consensus leans towards Unity and C# for beginners, as it allows for quicker results in game development compared to learning C++. Recommendations include focusing on game development concepts like collision detection rather than specific libraries.

PREREQUISITES
  • Basic understanding of Object-Oriented Programming (OOP)
  • Familiarity with C++ programming language
  • Knowledge of game development concepts such as collision detection
  • Awareness of game development libraries like SFML, SDL, and Raylib
NEXT STEPS
  • Explore Unity game engine tutorials available on the official Unity website
  • Learn C# programming language to facilitate Unity development
  • Research collision detection techniques in game development
  • Investigate additional resources for SFML and SDL for 2D game projects
USEFUL FOR

Beginner game developers, C++ programmers transitioning to game development, and anyone interested in learning Unity for 2D game creation.

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.
 
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   Reactions: 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:
  • Like
Likes   Reactions: pbuk
  • #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   Reactions: Wrichik Basu

Similar threads

  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 133 ·
5
Replies
133
Views
11K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
4
Views
2K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 9 ·
Replies
9
Views
12K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K