u/BleuGamer

1,694 post karma · 6,635 comment karma · joined Oct 2013 · moderator

BleuGamer

Porn. They’re talking about interactive pornography. That’s what in just about any NSFW section lmao.

BleuGamer

A melt is just a grilled cheese with extra ingredients my guy.

BleuGamer

I want to downvote you but honestly sounds like you need a W

BleuGamer
BleuGamer
BleuGamer

!remindme

BleuGamer

!remindme 1 week

BleuGamer
BleuGamer

I haven’t seen it yet. It gets an upvote from me.

BleuGamer

Yes.

Well this subreddit likes complete answers, so I’ll be a little more extensive.

Honestly depending on the scope and scale of the game, this can have wildly different answers. We should also make a distinction between the game engine and the game itself.

Let me elaborate: a game isn’t just one big messy ball of code... well some are... well probably most... the point is they’re broken up in segments. You have the engine which may or may not include rendering (which itself differs and frameworks like dx9 are done for the developer where others like dx12 require the developer to do the rendering pipeline) and then you have the game itself when works off of the engine. I think it’ll be simpler to throw away everything that doesn’t have to do with the game itself and its functionality.

It’s worth noting that the size of the game has a lot less to do with the amount of code and much more to do with the art; Textures, models, volumetric data, mesh data, and the like. The code ties it all in together. It’s hard to directly gauge the lines of code of AAA titles because, well, we don’t have access to the code. Everything is proprietary there so the best we can do to guesstimate is to looks at open source and otherwise public repositories.

Minecraft is probably the most well known example as it’s codebase is easily viewable if you know where to look. Even as it’s written in Java, it comes around 5 million lines of code. This isn’t a new game, per say, but it’s actively maintained and updated and worth noting.

Unreal Tournament 4 is also open source, using the unreal engine 4 as a base. That itself, if last I checked, had around 800k lines of code. This game is in its infancy, still, but is one of the only other live example that can be publicly viewed.

I would say that for any given AAA title, depending on its scale and team size, anywhere between 500k and 5+ million lines of code is a good of guess as any. I wish I could give a more complete answer, and perhaps someone who has experience in the industry might reply with that knowledge.

BleuGamer
BleuGamer