TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

36 pointsby shivajikobardanabout 2 years ago
This is not for professional career or something. This is just to practice OOP as I&#x27;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&#x27;t need to be taught library as it&#x27;s easy to learn small libraries.

13 comments

vitoralmeidasilabout 2 years ago
Pikuma is definitely one of the best resources available on the subject: <a href="https:&#x2F;&#x2F;pikuma.com&#x2F;courses&#x2F;cpp-2d-game-engine-development" rel="nofollow">https:&#x2F;&#x2F;pikuma.com&#x2F;courses&#x2F;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.
评论 #35422341 未加载
suddenclarityabout 2 years ago
Consider checking out Cherno on YouTube. He&#x27;s got video series on c++, building his game engine and then developing games for it. I don&#x27;t think you&#x27;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&#x27;t there to build courses. There&#x27;s another Twitch streamer that&#x27;s really well-known but his name escapes me now. The issue there is that he&#x27;s been developing his engine for several years so there&#x27;s just way too many videos.
评论 #35409182 未加载
评论 #35409601 未加载
krappabout 2 years ago
I&#x27;ve seen courses on Udemy on making games with SDL and C++, but I don&#x27;t know if they&#x27;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&#x27;ll probably end up doing, rather than following a course, is just searching for whatever specific problem you have, and you&#x27;ll probably find articles on it. I found these on collision detection:<p><a href="https:&#x2F;&#x2F;www.toptal.com&#x2F;game&#x2F;video-game-physics-part-i-an-introduction-to-rigid-body-dynamics" rel="nofollow">https:&#x2F;&#x2F;www.toptal.com&#x2F;game&#x2F;video-game-physics-part-i-an-int...</a><p><a href="https:&#x2F;&#x2F;gamefromscratch.com&#x2F;gamedev-math-recipes-collision-detection-using-an-axis-aligned-bounding-box&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gamefromscratch.com&#x2F;gamedev-math-recipes-collision-d...</a><p><a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Games&#x2F;Techniques&#x2F;2D_collision_detection" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Games&#x2F;Techniques&#x2F;2D...</a><p>[0]<a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;@javidx9">https:&#x2F;&#x2F;www.youtube.com&#x2F;@javidx9</a>
terrycodyabout 2 years ago
Godot is your choice, I recommend you check this game engine, there are a lot of tutorials on Youtube.
评论 #35424109 未加载
评论 #35440696 未加载
shortrounddevabout 2 years ago
For SDL, the gold standard is Lazyfoo<p><a href="https:&#x2F;&#x2F;lazyfoo.net&#x2F;tutorials&#x2F;SDL&#x2F;index.php" rel="nofollow">https:&#x2F;&#x2F;lazyfoo.net&#x2F;tutorials&#x2F;SDL&#x2F;index.php</a>
评论 #35441967 未加载
Raminj95about 2 years ago
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 &quot;new&quot; 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).
arcastroeabout 2 years ago
When I was in middle school around 15 year ago, I relied heavily on Lode&#x27;s Computer Graphics Tutorial<p>&gt; <a href="https:&#x2F;&#x2F;lodev.org&#x2F;cgtutor&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lodev.org&#x2F;cgtutor&#x2F;</a><p>I&#x27;m surprised the site is still up! There are probably more up to date resources available now though
bsdoobyabout 2 years ago
see one lone coder… - <a href="https:&#x2F;&#x2F;github.com&#x2F;OneLoneCoder">https:&#x2F;&#x2F;github.com&#x2F;OneLoneCoder</a> - <a href="https:&#x2F;&#x2F;m.youtube.com&#x2F;channel&#x2F;UC-yuWVUplUJZvieEligKBkA">https:&#x2F;&#x2F;m.youtube.com&#x2F;channel&#x2F;UC-yuWVUplUJZvieEligKBkA</a>
评论 #35410019 未加载
extasiaabout 2 years ago
Raylib is fun and pretty easy to learn. I made pong in like 30m barely knowing any C!
markus_zhangabout 2 years ago
Definitely Cherno. He not only talked about C++ but also about engine programming. Javidx9 is also good.
frou_dhabout 2 years ago
Look up courses from Gustavo Pezzi (Pikuma) and Chris DeLeon. Some of them are available on Udemy.
shivajikobardanabout 2 years ago
games like tictactoe,arkanaoid etc retro classic games that noobs make. i&#x27;m noob at coding
owenpalmerabout 2 years ago
Raylib is fantastic.