r/gamedev • u/CConnelly_Scholar • 3d ago
Question Open Source Retro 3d Engine?
Heya, I'm looking for an engine to design a small retro-flavored game that I intend to sell. Something open source or with a friendly licensing agreement would be ideal.
I want something with a look and feel kind of like Source or Quake engine for this project (and maybe Quake or one of its descendants would be ideal). I also want to be able to customize under the hood stuff (particularly random seed generation, a lot of arbitrary modifications of physics settings, etc...). I would also like to be able to create a single rather large map to house most of the game content.
Anyone have any experience making game in these kinds of engines have suggestions or tips?
Edit: Feel free to keep the suggestions coming, just wanna say I'm already really happy and thankful for all the helpful answers I've got already in just 15 minutes. You guys are awesome.
13
u/sebovzeoueb @sebovzeoueb 3d ago
You can achieve that with most of the major engines. You should look at Godot for something open source
5
u/GustavoTheFish 3d ago
If you want the Quake feel but the freedom to sell and mess with everything, I'd look hard at Godot plus TrenchBroom. TrenchBroom is a proper Quake style brush editor, and the func_godot plugin pulls .map files straight into Godot. You get the chunky brush geometry workflow that makes those games look the way they do, an MIT licensed engine you can sell on without thinking about it, and full control over physics and RNG because it's your own code.
If you go with an actual Quake descendant like ioquake3 or one of the source ports, two things to know up front. They're GPL, so you can sell the game, but you have to release the source for the engine and your code changes. Your maps, models and sounds can stay yours. And BSP engines hate one giant map. Vis compile times blow up, you hit engine limits, and the whole visibility system assumes corridors and rooms. If your big map is mostly interiors connected by doors, fine. If it's wide open terrain, you're fighting the tech the whole way.
Source is out for something you want to sell unless you've got a deal with Valve, so I wouldn't even start there.
On the movement side, the Quake player movement code is short and readable, and a lot of people have ported it to Godot and Unity, so you can grab that as a starting point and tweak friction, accel and air control to your taste.
2
u/3Duder 3d ago
Godot can definitely do this. Torque 3D is also open source and was the Tribes game engine, I don't know anyone that uses it but it would be an interesting thing to see if you could pull it off.
4
u/blaaguuu 3d ago
You could look into GZDoom, if you want to really embrace the old-school flavor, but with a good amount of modern development features available... It's not something I've dug into, so I don't really know the intricate details, but my understanding is it's basically a modernization of the old Doom engine - you can look at the game Selaco for an example of what it's capable of at the high end, with a lot of effort - so it should be good for anything in the broad range between Doom to Selaco.
1
u/Hobbes______ 3d ago
Are you experienced with any engine already? If so... Just use that and focus a tiny bit of energy into learning a style instead of a lot of energy into a new engine
1
u/soveringaming 3d ago
godot for sure, and if you want the quake feel look at func godot, it lets you build maps in trenchbroom. does the physics need to be deterministic from a seed or just tweakable?
2
u/Yodzilla 3d ago
I mean the Quake 1, 2, and 3 engines are all open source as is the Build engine. There’s nothing stopping you from using those directly.
1
u/coporate 3d ago
I always recommend stride because I think it deserves more support.
https://www.stride3d.net
1
u/Guinea_Pig_Games 3d ago
Godot can do this easily
1
u/dota2nub 2d ago
Roll your own
1
u/Due-Arachnid-309 11h ago edited 11h ago
Quake engine is freely and openly available now, as are many derivative forks... So... yes.
0
u/DefinitelyNotEmu 3d ago edited 3d ago
Hi you are welcome to examine, take apart, use etc my engine Fio:
https://github.com/ViciousSquid/Fio
It has an MIT license and is inspired by Quake and Source, particularly the entity I/O system from Source. It has an OpenGL3.3 Forward renderer that gives the look you may want.
Fully dynamic lighting, procedural generation and open-world streaming are supported.
The Canary branch also has a (work-in-progress) PBR Forward+ renderer
Message me if you have any questions x
0
u/Crimson-Bay 2d ago edited 2d ago
I think Godot in Compatibility mode using func_godot with Trenchbroom, baked lighting, and VAT animation would be the best choice. I use this setup myself, and it even runs on a 3630QM's integrated graphics.
The only tricky part is automatically going up and down stairs—there's no out-of-the-box solution for this. However, I've found open-source repos that handle it using 5 test_body_motion checks in a function for stepping up and 3 for stepping down, and I think there's even a plugin for it now. Godot doesn't handle simple raycasts well enough on its own. Use Jolt physics.