5 ms·
Best courses to learn 2d game development in 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.
- shivajikobardan 4y agogames like tictactoe,arkanaoid etc retro classic games that noobs make. i'm noob at coding
- frou_dh 4y agoLook up courses from Gustavo Pezzi (Pikuma) and Chris DeLeon. Some of them are available on Udemy.
- suddenclarity 4y agoConsider 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.
- lionkor 4y agoYoure probably talking about Handmade Network, Handmade Hero, and whatever the name of the guy is. https://handmade.network/projects https://handmade.network/projects
- suddenclarity 4y agoThank you, that's the one. Casey Muratori.
- deleted 4y ago[deleted]
- krapp 4y agoI'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. 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: https://www.toptal.com/game/video-game-physics-part-i-an-introduction-to-rigid-body-dynamics https://www.toptal.com/game/video-game-physics-part-i-an-int... https://gamefromscratch.com/gamedev-math-recipes-collision-detection-using-an-axis-aligned-bounding-box/ https://gamefromscratch.com/gamedev-math-recipes-collision-d... https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection https://developer.mozilla.org/en-US/docs/Games/Techniques/2D... [0]https://www.youtube.com/@javidx9 https://www.youtube.com/@javidx9
- vitoralmeidasil 4y agoPikuma is definitely one of the best resources available on the subject: https://pikuma.com/courses/cpp-2d-game-engine-development https://pikuma.com/courses/cpp-2d-game-engine-development He explains every mathematical concept in an easy to follow format and the course is broad and accessible. I highly recommend.
- atan2 4y agoI agree!! i always have so much fun with gustavo's lectures. 100% recommended. and they have a Youtube channel now.
- bsdooby 4y agosee one lone coder… - https://github.com/OneLoneCoder https://github.com/OneLoneCoder - https://m.youtube.com/channel/UC-yuWVUplUJZvieEligKBkA https://m.youtube.com/channel/UC-yuWVUplUJZvieEligKBkA
- pylua 4y agoI love his series. I find him and his videos to be very approachable and enjoyable. I also appreciate his approach towards not over engineering things.
- extasia 4y agoRaylib is fun and pretty easy to learn. I made pong in like 30m barely knowing any C!
- markus_zhang 4y agoDefinitely Cherno. He not only talked about C++ but also about engine programming. Javidx9 is also good.
- terrycody 4y agoGodot is your choice, I recommend you check this game engine, there are a lot of tutorials on Youtube.
- linkdd 4y ago"I want to learn C++" -- "Try Godot"
- strawberry343 4y agoGodot is amazing, though it only supports C++ through GDNative bindings. It only has first-class support for GDScript and C#.
- arcastroe 4y agoWhen I was in middle school around 15 year ago, I relied heavily on Lode's Computer Graphics Tutorial > https://lodev.org/cgtutor/ https://lodev.org/cgtutor/ I'm surprised the site is still up! There are probably more up to date resources available now though
- Raminj95 4y agoPikuma 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).
- strawberry343 4y ago[dead]
- owenpalmer 4y agoRaylib is fantastic.
- shortrounddev 4y agoFor SDL, the gold standard is Lazyfoo https://lazyfoo.net/tutorials/SDL/index.php https://lazyfoo.net/tutorials/SDL/index.php
- markus_zhang 4y agoLazyfoo is good for learning SDL1/2 but I feel that it's a bit difficult to structure one's code once the games become non trivial. I tried twice to write a 2-d rpg, an Ultima spinoff but stopped in the middle because I feel the project is out of my control and the code structure is messy already. There are just so many things in even a basic rpg (NPC, stored, path finding, dialogs, input, etc) that I feel overwhelmed. And A lot of code gets wasted.
- shortrounddev 4y agoI agree and that's why I'm working on an SDL tutorial with modern SDL features centered around how a game might actually be structured. Unfortunately, though, the only real way to learn to write a game properly is to write a dozen games improperly