r/factorio • u/jasamer • Apr 22 '25
Space Age Factorio is poorly optimised?
Every time I move out to clear some biters, my FPS tanks? There has got to be a better way? /s
I recently posted a spidertron video with normal explosives, but I had to try with atomic bombs. Turns out, if the spiders stay in a group, they can easily outrun the blast. The spiders in the video only have five exoskeletons each. However, the atomic bombs are clearly not worth it due to FPS, high ammo cost & risk of collateral damage.
Peaceful variant of the video: https://www.reddit.com/r/factorio/comments/1k5atf8/watching_a_thunderstorm_roll_in_at_the_beach/
22
u/hurkwurk Apr 22 '25
I will allow you time to delete your post while you google this before you die of shame.
25
u/jasamer Apr 22 '25
I thought that the /s was generally understood and that the clickbait title was at least a little funny… I guess it didn‘t come across well.
25
u/Rouge_means_red Apr 23 '25
This sub is particularly bad at getting jokes. Best to post them to /r/Factoriohno
3
u/jasamer Apr 23 '25
Good idea, I just did.
In hindsight I gotta admit - the joke wasn't very good, as Factorio is actually struggling with performance in this specific scenario, even though it is insanely well optimised in pretty much all "normal" circumstances.
6
u/doc_shades Apr 23 '25
problem is, "/s" means "sarcastic". and saying "i thought this game was supposed to be optimized (sarcastic)" ... might not come across as funny to some people
3
u/jasamer Apr 23 '25 edited Apr 23 '25
I know, I thought people would read the clickbait title, click the video, realise I'm clowning, and have a chuckle when they see the /s.
The /s also isn't very appropriate here, given that in this specific circumstance, Factorio *actually* doesn't seem that well optimised. It can handle millions of entities across the map fine, but 40 nukes or so is really rough.
2
u/elonshadow Apr 23 '25
Eh, The joke is okay. As to why i didn't land, I think it's a combination of things.
For one the factorio crowd is rather high in the neurospicy department, and has a lot of people that commincate quite literally.
For another the title of the post doesn't have a /s of /j you have to actually open the post to see that and if people have decided that you are a troll/idiot based on the title they won't open the post.
And finally text only communication without other non-verbal queues is easy to misinterpet.
Don't fret overly much about it. This is the internet, it runs on outrage more than understanding :/
1
u/Accomplished-Cry-625 Apr 23 '25
I thought that the line feed was generally understood. It makes easier to read texts. Especially if there is a /s at the end of a "thought"
8
3
145
13
u/druidniam 7000h+ Club Apr 22 '25
Artillery: exists
Spidertons: Hold my beer.
6
4
u/0815facts_fun_ Apr 22 '25
one surviver spotted
5
2
1
u/wizard_brandon Apr 24 '25
isnt it still a single core game?
1
u/jasamer Apr 25 '25
No, Factorio uses plenty of threading, for example, belts are processed on multiple threads in parallel.
3
5
u/Metylene2 Apr 23 '25
Factorio is very well optimized. What you experience in this video is the slow-mo to really appreciate the sweet sweet destruction of bitters.
2
1
u/mkh33l Apr 23 '25
Disappointed in the clickbait title.
I was expecting an interesting technical question about the fundamentals of handwritten machine code which is applicable to the game in general and found a short video about something that 3.6% of steam players use.
There's something that can be improved regarding the nukes lag, but the same goes for your title: "Factorio is poorly optimised?"
1
1
u/MarcuV1y5 Apr 23 '25
Never thought I would see "factorio" and "poorly optimized" in the same sentence
1
1
0
u/NixNicks all you ever need Apr 22 '25
I keep getting surprised by members of the human race, but not necessarily positive
111
u/Aeikon Apr 22 '25
Drops 300 nukes
Why can't this game calculate millions of damage numbers instantly?!
32
u/lovecMC Apr 23 '25
The game can. Th real reason is that the nuke explosion uses a lot of invisible hitboxes that slowly move outward.
At least that's what I vaguely remember.
25
u/theMegaTech Apr 23 '25
Every nuke is 2 thousand separate explosions - thousand for the inner layer of 7 tiles and thousand for the rest of the range. So even 10 nukes is already 20 thousands of the explosion entity
3
u/VoidGliders Apr 23 '25
Why'd they do it that way in particular? I get they probably only expect a couple nukes at a time when first creating it, but seems just a weird way to program the explosion
4
u/theMegaTech Apr 23 '25
It looks cool. That's kinda about it. Also you are not exactly able to automate them to make that a constant issue, and some lag when you go absolutely ham is expected, and otherwise you have at most 2 nukes going off at once with how slow the cooldown is. But mainly the rule of cool.
1
3
u/3davideo Doesn't use Flame Turrets Apr 22 '25
Yeah I'd recommend just having *one* of the spidertrons having nukes, and then only in one of their slots. The rest should have the smaller, less-effects-ridden rockets.
1
u/antonov_a-40 Apr 23 '25
This is why I prefer to manually launch nukes. It's really fun, and I also don't have to worry about accidentally wasting any with the auto targeting on the spidertron.
29
u/fatpandana Apr 22 '25
Nukes can create extremely high entity update. This is MODDED SE game, but concept is same. about 200 nukes here. This is highest recorded before game freezing for 4h~. What happens is, my guess, game does collision check on nukes explosion, each nuke has A LOT of explosions that check if an explosion does dmg to something. And then they check against each other and then finally u have nukes overlapping.
For those who dont know what it is, game runs 16.6ms. Anything above will create lag from game update. This is 8000+.