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

Discussion Overview

The discussion revolves around recommendations for courses or resources to learn 2D game development using C++. Participants express interest in practicing object-oriented programming (OOP) and seek guidance on game development concepts such as collision detection, while also considering alternative game engines like Unity and Unreal Engine.

Discussion Character

  • Exploratory
  • Debate/contested
  • Technical explanation

Main Points Raised

  • One participant seeks courses specifically for C++ game development using libraries like SFML, SDL, Allegro, and raylib, emphasizing a desire to learn OOP concepts through simple games.
  • Some participants suggest exploring Unity as an alternative, noting its support for multiple platforms and the availability of numerous tutorials, although this would require learning C#.
  • Another participant mentions a book related to console game development, but others question its relevance to 2D game development, suggesting it focuses more on text games.
  • A participant shares their experience of quickly getting started with Unity and C#, contrasting it with their past experience in C++.
  • There is a suggestion that learning C# might take less time than initially estimated, with a participant encouraging the idea of not reinventing the wheel in game development.

Areas of Agreement / Disagreement

Participants express differing opinions on the best approach to learning 2D game development, with some advocating for C++ and others recommending Unity and C#. The discussion remains unresolved regarding the best resources or paths to take.

Contextual Notes

Some participants highlight the limitations of certain resources, such as the book mentioned, which may not align with the interest in graphical game development. There is also uncertainty about the time required to learn C# effectively.

Who May Find This Useful

Individuals interested in learning 2D game development, particularly those exploring programming languages like C++ and C#, as well as those considering different game engines.

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
5K
  • · 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