r/explainlikeimfive • • May 21 '19

Technology ELI5: Why do some video game and computer program graphical options have to be "applied" manually while others change the instant you change the setting?

9.0k Upvotes

355 comments sorted by

View all comments

Show parent comment

-2

u/aberroco May 21 '19

Well, that's mostly depends on senior programmer's coding skill, because it's possible to keep everything consistent, it's just not an easy task considering all requirements for optimizations, and ease of use, and readability, and maintenance. But, well, good coders are good coders.

28

u/nagromo May 21 '19

And just being a "good coder" isn't enough. Every coder on the team needs to be on the same page about how consistency is being maintained and what invariants are being held, and (this one is probably the most challenging) you need to have a management team that's willing to give you the time to do things right and refactor as needed.

Too often, management prioritizes hitting deadlines over having time to fix all the little bugs and do things right, especially in game development.

4

u/Saremis May 21 '19

This absolutely, most of the time the top challenging part of the projects is that you don't have a management team that gives you the time to do refactorings and keep the code in the proper state. For them there's only two states: working and not working and if it works in 1 week why they should give you 2 months? Coders life.

-1

u/aberroco May 21 '19

Well, yes, of course team has it's role too, but in gamedev, it's mostly up to seniors how they'll make it and how they'll manage their team on what and how they should do. That includes engine's subsystems like resource manager.

3

u/nagromo May 21 '19

Have you ever been on a big software project? Management sets the schedule, and business realities mean the engineers rarely get as much time as they'd like to make everything perfect.

2

u/aberroco May 21 '19

Depending on what you'd call big project, but maybe yes. And ideally management should listen to engineers and ask them on estimates, and engineers should give realistic estimates, deciding what company needs and what they can. How it will be in reality, yet again, depends on senior's skill, but also on management's adequacy.

18

u/b1ackcat May 21 '19

Not really. Part of being a good developer means knowing when you just need to call it on something, and in modern games there are just too many variables in motion to be able to absolutely ensure consistency 100% of the time.

Part of why you would reach that point of just saying "if this happens we just have to reload" isn't just technical, either. Sure, maybe you come up with some perfectly resilient system that can almost guarantee 100% consistency in a seamless manner. But how long is it going to take to make? Like you said, it takes a lot of skill and time to build out something like that, especially while keeping in mind all the other things they're responsible for that you mentioned (readability, maintainability, speed, etc). Even if one could devise such a system, it would take a lot of time and effort to build and test. That's time that could've been spent adding an awesome new feature, a new boss mechanic, more polish to any number of things, etc. and there's no point in shipping a game with the "amazing" ability to reload all settings without a restart if the game is otherwise boring or shitty.

1

u/aberroco May 21 '19

You're right, but nonetheless, that doesn't make such task almost impossible. It's not impossible at all, it's basically just business - does it worth to do it now and spend money and time or not (considering time, team's skill, senior's skill, requirement to hire more people or hire specialists in this particular task and so on).

Besides, some skillfull teams are in this business for years and, well, if you can make such system, even if it takes 2 years it'll still would worth it, because you can usually use it in other games too.

3

u/Notorious4CHAN May 21 '19

Besides, some skillfull teams are in this business for years and, well, if you can make such system, even if it takes 2 years it'll still would worth it, because you can usually use it in other games too.

I haven't developed in the gaming market, but in all my business development experience says reusability is a huge myth at anything but the lowest layers. And the more I've seen people try to create reusable code, the greater monstrosities I've seen constructed from it -- frequently stemming from the assumption it will be used where it should be and not, as is nearly always the case, anywhere it can be.

Just a little side-rant.

0

u/aberroco May 21 '19

Well, in gaming reusability is essential. We have monsters like Unity3D and Unreal, which is at least half of game engine, and we have many teams with their own engines which are used in most of their games. I.e. game engine mostly is that "lowest layers", and specific game rulesets and behaviours are just scripts on top of that. Bethesda's Creation engine was released in 2011 and based on yet older engine, traces of which are seen up to this day. 4A Games uses 4A engine released 9 years ago and it's partially based on S.T.A.L.K.E.R's X-Ray engine. Paradox uses it's own engine since 2007. Crytek's CryEngine is 17 years old. And so on and so forth.

And yes, most of graphic settings are engine specific.

1

u/Yeetinabeet May 21 '19

If a team is spending 2 years on a non-game system it better result in a huge innovation and a multi million dollar franchise i.e Assassins creed. It's juat not worth it otherwise.

0

u/[deleted] May 21 '19

[deleted] — view deleted comment

1

u/Yeetinabeet Jun 17 '19

Sorry about the late reply. The parkour system for AC was years in development and was pretty inovative for its time. It also resulted in a pretty unique franchise that theyve been able to recycle into 7+ games or however many they're at now.

8

u/lorarc May 21 '19

It's not about coding skill. The application/game has to be able to start with any setting so restarting after changes are made is a free action. Spending time on making the changes live is something that costs time and money and doesn't necessarily carry much value because it's not like the user is going to do it very often. So some changes are easy enough not to require a restart, some are hard but are handled by a library or an engine where it's worth it to implement it because it's used by multiple pieces of software but usually something that is free is good enough.

2

u/PopperChopper May 21 '19

I was agreeing until the last part too. You can be sure through testing and checking your work.