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.<p>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.
Pikuma is definitely one of the best resources available on the subject: <a href="https://pikuma.com/courses/cpp-2d-game-engine-development" rel="nofollow">https://pikuma.com/courses/cpp-2d-game-engine-development</a><p>He explains every mathematical concept in an easy to follow format and the course is broad and accessible.<p>I highly recommend.
Consider checking out Cherno on YouTube. He's got video series on c++, building his game engine and then developing games for it. I don't think you'll find a ton of other courses because it makes little sense for people to build something from scratch or from a small library when they can use Unity, Godot and Unreal. Hence the market isn't there to build courses. There's another Twitch streamer that's really well-known but his name escapes me now. The issue there is that he's been developing his engine for several years so there's just way too many videos.
I've seen courses on Udemy on making games with SDL and C++, but I don't know if they're any good. Also Javidx9 covers some stuff like that on Youtube. There seem to be a few tutorials on Youtube if you search but again, no idea how good they are.<p>Most of the time what you'll probably end up doing, rather than following a course, is just searching for whatever specific problem you have, and you'll probably find articles on it. I found these on collision detection:<p><a href="https://www.toptal.com/game/video-game-physics-part-i-an-introduction-to-rigid-body-dynamics" rel="nofollow">https://www.toptal.com/game/video-game-physics-part-i-an-int...</a><p><a href="https://gamefromscratch.com/gamedev-math-recipes-collision-detection-using-an-axis-aligned-bounding-box/" rel="nofollow">https://gamefromscratch.com/gamedev-math-recipes-collision-d...</a><p><a href="https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection" rel="nofollow">https://developer.mozilla.org/en-US/docs/Games/Techniques/2D...</a><p>[0]<a href="https://www.youtube.com/@javidx9">https://www.youtube.com/@javidx9</a>
For SDL, the gold standard is Lazyfoo<p><a href="https://lazyfoo.net/tutorials/SDL/index.php" rel="nofollow">https://lazyfoo.net/tutorials/SDL/index.php</a>
Pikuma is the GOAT on this subject, his cpp 2d game engine course is exactly what you want where he is using many of the "new" features of cpp17 to get stuff to work such as heavy use of templates and smart pointers. I took the course as a way of learning a thing or two about game engines as practice and some c++ (or rust-- as its called sometimes :P).
When I was in middle school around 15 year ago, I relied heavily on Lode's Computer Graphics Tutorial<p>> <a href="https://lodev.org/cgtutor/" rel="nofollow">https://lodev.org/cgtutor/</a><p>I'm surprised the site is still up! There are probably more up to date resources available now though
see one lone coder…
- <a href="https://github.com/OneLoneCoder">https://github.com/OneLoneCoder</a>
- <a href="https://m.youtube.com/channel/UC-yuWVUplUJZvieEligKBkA">https://m.youtube.com/channel/UC-yuWVUplUJZvieEligKBkA</a>