Good game engines I can write C++ in as a noob?
After learning C++ for a few months, I decided it was time to make a game. However, I can't exactly run ue5 and I don't want to have to go through the pain of doing something like using GDExtension just to write C++. Are there any game engines I can use that are also beginner friendly, or do I just use something like SDL?
About this post
- Posted
- Archived
- Score
- 0 · 42% up
- Kind
- Text
- ID
- 1ql69kh
31 comments
Godot and GDExtensions (their “native” extension system) is a great choice.
If you want to get your hands dirty and do a lot more of the heavy lifting yourself, then SDL3 is a good choice (perhaps together with something like EnTT or flecs, Box2D, EnkiTS or taskflow…)
+1 for this recommendation. You can also use C# in Godot if later you decide to go that route
https://www.raylib.com
Strongly suggest Unreal.
Not sure why anyone would consider anything else really.
Maybe because they read more than just the title of the OP?
Because Unreal is bloatware and I enjoy my things simple and compact?.. There are dozens of esoteric C/C++ game engines of every flavor. But it’s not a noob-friendly path, yes. Raylib is one of more popular ones.
I’ve been intimidated at leading new coding languages before.
Mainly because I learned html, then JavaScript was so different.
But after that I’ve realized they are pretty much all the same with slightly different syntax.
If you’ve bee doing C++ for a few months, I don’t think it will be an issue or feel like you are starting over if you jump into pretty much any other language.
Like I had only previously coded a game in JavaScript, but I recently tried Pico 8 (Lua) and Godot (gd script) and it’s been a surprisingly easy transition.
I would use Raylib before SDL. For simple 2D games Raylib is pretty nice. If you actually want to finish a game though, you should use an engine instead of a framework. It will just take way longer if you use a framework.
My advice would be to simply learn a new language though. What is hard in programming is the concepts. If you actually know C++, you won't have a hard time picking up GDScript or C# and just using them in Godot. Godot is imo the best engine period, for beginners, and skilled indies. It's really not that hard to setup a GDExtension to use C++ with it, but you also don't need to do that. GDScript is a great language for building games in Godot. I've yet to find a tool that allows me to prototype and iterate faster. C# is good too, and is more similar to C++ than GDScript is. But, I'd still pick GDScript over C#.
And I say this as a software engineer who enjoys writing games in C/C++ with Raylib. I like low level programming. But, for gamedev, Godot+GDScript just works so damn well.
If you're starting out and you want to do C++, I highly suggest just grabbing SDL3 and making a game from scratch. Games you're making as a beginner are probably easier to do from scratch (and you will learn more too) than by using an engine.
When you learn a game engine, then learning the syntax of its scripting/programming language is usually the least of your worries.
Unreal is THE C++ engine these days man. if you cant run ue5 you have bigger problems at hand.
Not really. It just means they don't have a modern PC, which is perfectly fine, as most games should not need a modern PC to run. For example, if they are making a 2D platformer, that should be able to run even on very old hardware unless they are doing something unusual.
>I don't want to have to go through the pain of doing something like using GDExtension just to write C++
TBH, I would not suggest that you use C++ for game development as a noob if you aren't willing to take the time to learn how to setup things like this. Maybe just stick to C# for now until you become more experienced with programming.
>or do I just use something like SDL?
It's certainly possible to make a game in SDL, but if you aren't willing to learn how to get GDExtension setup with Godot, you're inevitably going to struggle a lot more to make a game in SDL.
Have a look at OneLoneCoders PixelGameEngine on YouTube. Really good for beginners although the videos are not a structured tutorial but handle different topics independently.
Deleted before we saved it.