Lurker News
I've seen some interests in (simulation) video games here on HN so I thought I'd share a short version of our story.

More 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

Earlier comments
zeristor1 reply#
Thanks for making me find out more and turning this up:

The promotional video of Crane, lifting Crane, lifting Crane:
https://youtu.be/gYpMz63WAjM

aidenn01 reply#
I always assumed that picture was photoshopped...

Continue this thread — 1 reply

iliketrains#
Haha, not really. But there is mod support, so technically yes!
Meowringer1 reply#
Great job and everything to get so far!

I like that you actually mine the stuff in the style of mines you use and the stuff is getting removed visually.
What i find disappointing is the trucks/vehicles not needing any streets. I'm not sure if it would make the game more interesting or not though but that i have to build a bridge over a pipe for the trucks but the trucks just drive through each other... not liking it :D

iliketrains1 reply#
Thank you!

Trucks not needing roads was actually our "feature". You just build things and logistics network will figure things out. This goes hand-in-hand with the free-form mining (also our big feature), since that would be impossible to do with roads.
However, we do hear many people wanting roads, especially later on, it is on our list of potential additions.
Vehicles having no collisions is a technical limitation. Path-finding on dynamic terrain on a large grid, with constraints on vehicle size (small trucks fit under some buildings, large excavators wont) is just too hard to solve with vehicle avoidance. Even with local avoidance vehicles would get stuck too much. One-way roads are probably the answer. Maybe some best-effort local avoidance could be done to minimize it.
PS: I have rewritten the path-finding code 3 times. It's quite complex...

BlueTemplar#
One-way roads bring closer... something that you like !
birracerveza#
This is very good! It's Factorio, but even better because... it has trucks!! :D My son loves trucks so it's fun to see the little trucks going around and doing stuff.

Good game, although a bit pricey.

pooloo1 reply#
Just noting that I have interest in multiplayer support similar to Factorio or Satisfactory where players work towards a common goal, and also have purchased with that not being a feature per the road map. These types of games make for good time passers while conversating with distant friends.
iliketrains3 replies#
Multiplayer is a big topic and it is obviously on our minds. The big questions is what type of multiplayer would be the best for this kind of game?

Would it be coop where each player would start on their corner of the map? Or would it be shared factory? Of maybe each player with its own island + trading?
Also, it is technically very challenging, since the entire simulation must be perfectly deterministic. We actually have most of the things deterministic, maybe like 95%, fixing the last 5% is a lot of work.

paraph1n#
Leave it up to the player. If they want to build a shared factory, so be it. If they want to build on separate corners of the map, that's cool too.

Just place the players in the same game world.
With regards to trickiness of determinism and what not, just make it so there's an authoritative server running the simulation, and the other players/clients just get their source of truth from the server.
The server could be an actual dedicated server program that has no frontend, or it could be one of the clients in the game.

culopatin#
I always wanted to try a game where you join an economy and your supply impacts the demand of others and changes the price, etc.

When playing Minecraft as a kid I always envisioned getting specialized in finding certain minerals or making certain items and selling them but I guess it was too early in the game and that wasn’t an option. There might be a mod now that allows for thag

ialexpw#
Own island + trading would be great. You could end up having an island that "specialises" on a certain comodity and trading with other players.

Load more comments