News for hackers. Stuff that matters.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by db48x on Friday October 30, 2020 @05:37AM (#24940577)
"less flawless than intended" is a good way to think about it. Factorio is a good game, but what makes it great is just how flawless it is. You can grow your factory for hundreds of hours before you run into any performance limitations, and it will never ever crash or glitch or desync. They've spent years making it as flawless as possible.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by aequitas on Friday October 30, 2020 @05:55AM (#24940684)
I think this is party true due to how well their test setup is. Being able to automated regression test every feature of the game[0]. Having a comprehensive test suite also helps you as a developer to dive into the code and refactor away with confidence that you don't break functionality. Thus allowing for more aggressive and efficient refactoring and experimentation. At the end, it's not the code that is your application, its the features. Code can flow into many different ways from these features.

[0] https://www.youtube.com/watch?v=ivLFP2eApto

Re:Menu simulation, Spidertron, Ghost building, Confirm button by Cthulhu_ on Friday October 30, 2020 @06:00AM (#24940710)
That's really impressive. I'm not into the game industry at all but I get the impression that automated testing isn't so much of a thing with a lot of games, and they depend on manual testing a lot, either with armies of game testers or a community (for early access games), especially for games with a lot of randomness and "emergent" behaviour.

But for an indie game like Factorio with so much development, features, interactions, etc it's almost mandatory.

I'm sure most games have a big automated testing suite though, there's too much in there nowadays to warrant manual testing.

Re:Menu simulation, Spidertron, Ghost building, Confirm button by tpxl on Friday October 30, 2020 @07:23AM (#24941113)
Given how weak some AAA titles are regarding bugs (Bethesda, Horizon Zero Dawn) I highly doubt there is _any_ automatic testing being done in most AAA games, let alone indies.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by aequitas on Friday October 30, 2020 @08:14AM (#24941393)
Guerrilla games actually does some extensive testing on their game[0]. Like AI bots playing the game continuously to uncover bugs. But they are a Sony first party game studio which means they have a lot of experience to gain regarding the PC platform which is more diverse than a console and requires an even more extensive testing setups.

Also, a lot of these kind of games are also highly driven by art style. Which is really hard to capture in automated test suites. Add to that the complexity of a 3D world and all its interactions and associated math.

[0] https://www.youtube.com/watch?v=2VDlX3Dqm0w

Re:Menu simulation, Spidertron, Ghost building, Confirm button by tpxl on Friday October 30, 2020 @06:03PM (#24947309)
They released a game for 50€ that regularly crashes. That is not something a good studio does. Sure, they don't have experience with the PC, but that doesn't excuse the buggy release, and I'll dare call their testing for PC garbage if it let those kinds of bugs through.

>Also, a lot of these kind of games are also highly driven by art style. Which is really hard to capture in automated test suites. Add to that the complexity of a 3D world and all its interactions and associated math.

To be honest I wouldn't know where to start testing the art stuff, but the crashes should be doable automatically relatively easily.

Re:Menu simulation, Spidertron, Ghost building, Confirm button by dkersten on Friday October 30, 2020 @09:14AM (#24941863)
For Horizon Zero Dawn, are you talking about the PC version? Because I didn't encounter any glaring or obvious (certainly nothing game breaking) bugs when I played the PS4 version. I don't actually remember encountering any, but I'm sure there were some minor ones that I forgot about. I certainly wouldn't give the PS4 version as an example of how weak AAA titles are regarding bugs.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by tpxl on Friday October 30, 2020 @05:58PM (#24947273)
Yes, I meant the PC version. I don't have experience with the PS one.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by Jap2-0 on Friday October 30, 2020 @07:08PM (#24947711)
A newer video of the tests (2019 vs 2014), in parallel: https://www.youtube.com/watch?v=LXnyTZBmfXM
Re:Menu simulation, Spidertron, Ghost building, Confirm button by db48x on Friday October 30, 2020 @08:16AM (#24941422)
Absolutely. There's no way anybody could hand-test all of Factorio. Certainly you could play it and find bugs, but to deliberately test every single feature on any kind of regular schedule would be incredibly tedious and error prone.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by moritonal on Friday October 30, 2020 @06:09AM (#24940750)
An insane bit is that it's a custom game-engine, written in C++, and yet it runs on Mac, Windows and Linux. That better cross-compatibility than most Unity games written in C#!
Re:Menu simulation, Spidertron, Ghost building, Confirm button by pta2002 on Friday October 30, 2020 @06:15AM (#24940783)
I thought it used Alegro? Did they change that?
Re:Menu simulation, Spidertron, Ghost building, Confirm button by jayjader on Friday October 30, 2020 @06:49AM (#24940956)
They used Alegro until a couple years ago, when they did a complete graphical rework of their interfaces & at the same time wrote their own GUI code to replace what Alegro was being used for.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by Acur on Friday October 30, 2020 @06:26AM (#24940840)
They replaced it with a custom renderer: https://www.factorio.com/blog/post/fff-230
Re:Menu simulation, Spidertron, Ghost building, Confirm button by rochak on Friday October 30, 2020 @05:43AM (#24940614)
I would say that this game is a Software Engineering marvel.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by anoncake on Friday October 30, 2020 @07:23AM (#24941114)
I hope they make the source code public one day.
Re:Menu simulation, Spidertron, Ghost building, Confirm button by royletron on Friday October 30, 2020 @05:43AM (#24940611)
Hear hear! Factorio is exceptional - if it was more accessible it would be held up as the greatest game ever. But then, if it was more accessible, it wouldn't be the greatest game ever... scream!