r/gamedev • • 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.

4 Upvotes

29 comments sorted by

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

1

u/CConnelly_Scholar 3d ago

I am familiar with godot for 2d projects. I suppose that makes sense, my understanding was that older engines had a specific kind of physics scaffolding that may help me to emulate a certain feel, whereas Godot is a bit more... off rails I guess? But I do already know the script so that would help a ton.

5

u/itspronounced-gif 3d ago

They also have a specific kind of programming involved, so new engine means you get to use new frameworks that can still be compatible. There’s no build target in Godot for “retro computer” but there are plenty of ways to get the same feel. If you need to comply with the old hardware you’re likely able to find more info in niche developer subs

0

u/CConnelly_Scholar 3d ago

Nah not going that hardcore with the old hardware stuff. I just the physics to feel 90s-00s. Ofc some of that will just be communicable through textures/models.

2

u/AdarTan 2d ago

Unless you're using a pre-made template, the character movement code (which is the "physics" of these old games) is fully up to you to implement in a modern engine.

And recreating the "feel" of an old game in a new engine is much easier than learning to use one of the old engines.

1

u/CorvaNocta 3d ago

Godot has been massively updated in the years. Its significantly better for both 3D and physics. I would bighly recommend giving it a look.

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/CConnelly_Scholar 3d ago

Well that’s perfect then and answers every burning question, thanks. Yeah godot has the advantage that I know the language and precisely how to do the rng at least, even if everything else is new stuff to pick up. Making my own hack inspired by quake movement sounds perfect and on brand for what I wanna make, awesome that’s so accessible. 

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.

1

u/CConnelly_Scholar 3d ago

Cool, thanks!

1

u/Yodzilla 3d ago

Holy shit someone is still maintaining Torque?? I was pissed when they scrapped and restarted Torque2D and never looked at it again.

1

u/3Duder 3d ago

I only ever bring it up as an oddity from days past. I'm an artist so I have no concept of what makes a good engine. I spent half my career working in Gamebryo.

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/CConnelly_Scholar 3d ago

Yeah what I'm getting from this thread is I should just continue with Godot, which I am already familiar with the 2d side of.

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?

1

u/CConnelly_Scholar 3d ago edited 3d ago

Tweakable. The base physics should always start off the same, but a main premise of the game is that speedrun style exploits and jank are intentionally built in as the magic system. The seed gen control is a seperate arm of that where I want to be able to expose the full matrix of possible random numbers to the players. I've messed with godot before and one advantage is I at least know exactly how I'd do that part.

Edit: oh Func Godot is definitely in the right genre

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/obetu5432 Hobbyist 2d ago

Build engine has a non-commercial license...

and for the Quakes, you have to release the source code of your game (it's 1 click away if you use Godot anyway, but still)...

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

1

u/CConnelly_Scholar 3d ago

Oh well this looks dope. At a glance, this looks like maybe it has all the tools I was looking for haha.

May well pick your brain in the coming months. The basic idea I have is a super niche passion project/proof of concept kinda love letter to old games where the in-universe magic system is exploits and jank, and the "good ending" is modding the game however you want lol. Was going to be a relatively short "open small world" game following a series of npc events the player can interact with on a timer.

1

u/DefinitelyNotEmu 3d ago

I'd love to help 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.