Show HN: A friend and I spent 6 years making a simulation game, finally released
1157 pointsMore than 6 years ago, me and my friend from university were playing around with an idea of making a game we always wanted to play. We worked on it on weekends but the progress was quite slow, especially due to so many dead ends and wasted effort.
Eventually however, we solidified our direction and decided to take the risk to resign from our well paid SWE jobs and work on it full time. It took more than a year but yesterday we have finally released it on Steam: https://store.steampowered.com/app/1594320/Captain_of_Indust...
I am still not sure if this was a good decision financially, but unlike in a corporate environment, I am so much happier working on a product that I can put my love into and see people enjoy it, see my direct impact, and be able to make big decisions (although this also adds a lot of stress).
I also quite enjoy the added SWE challenges. I had to write so many complex algorithms (path-finding, logistics, serialization, ...) and optimize things down to bits (shaders, compression of in-memory data, ...) that were rarely required by my corp job.
Anyhow, this is getting a little long, feel free to ask any questions, I will do my best to answer them.
Comments (279) 95 threads
Show all comments
Showing thread 24 of 95
1) Turning vsync "on" doesn't have the intended effect. There's still very visible tearing half way down the screen.
2) Turning vsync on in combination with full-screen mode results in a hideous stuttering when turning the viewport with the mouse. It looks like you got the swap chain sequence.. backwards? As in... swapping the "most recent" frame.. and then an older frame!? Or something like that. It's literally stuttering back-and-forth making my eyes bleed. It is also inconsistent: switching in and out of borderless windowed mode changes the behaviour.
3) The GUI scale setting is weird by default (140%!?), and is ignored for some UI elements. Do you test with 4K monitors?
4) Lots of GUI glitches. E.g.: clicking the tabs in the settings window will make it disappear for a moment and reappear.
5) The game continues to use 100% GPU even when I alt-tab out to the desktop
6) I have a 60 Hz monitor. The game generates more GPU load (75% vs 60%) with vsync enabled than if I use the "limit to 60 fps" mode, which confirms that the vsync setting is doing something very wrong. These two modes should produce identical GPU load.
7) Hovering the cursor over some in-game UI elements causes alternating-frame flicker. E.g. the "Right click & drag to remove existing designations" orange mouse icon thing.
As a former game engine developer, my advice is that with both DirectX and OpenGL there is generally only "one right way" to do certain things such as managing a swap chain. Yet, somehow, game developers manage to get this consistently wrong and never seem to test/fix it.
Test, test, test! Plug in multiple monitors. With different resolutions. Drag your game around between them. Try laptops with hybrid (NVIDIA+Intel) GPUs. Use a HDR monitor. Use one of those laptops with a hybrid card and unplug the power while your game is running. Plug the power back in. Change your desktop resolution while your game is running. Try to get 10-bit working. Try to get the game to look identical even on wide-gamut monitors. Etc...
Iron out these bugs through acid tests. You will never notice real bugs otherwise, because it's too easy to get stuck in some "happy path" rut, such as testing with a single 1080p monitor.
Non-graphics related feedback:
"Unsaved progress will be lost!"
"What year is this!? Am I stuck in 1990 again?"
Otherwise I've noticed annoying flickering of far away molten metal, but that was on a Twitch stream, which might be the cause ?
Just have "exit" also save the game state at the same time.
>Test, test, test! Plug in multiple monitors. With different resolutions. Drag your game around between them. Try laptops with hybrid (NVIDIA+Intel) GPUs. Use a HDR monitor. Use one of those laptops with a hybrid card and unplug the power while your game is running. Plug the power back in. Change your desktop resolution while your game is running. Try to get 10-bit working. Try to get the game to look identical even on wide-gamut monitors. Etc..."
Some good feedback, but remember they're using Unity, so they're not directly controlling anything on a low level.
As for the 2nd part, this is really hard in a small team. For example I'm a solo dev, so I only have access to 2 monitors, 2 graphics cards etc. BUT there are paid for services that provide testing, although that costs money; so when they've made a bit of cash and have a bigger user base then they can probably afford those.