![]() When posting a screenshot, add a comment explaining your image or pointing out what you want people to look at. Think about how your words affect others before saying them.Įxplain your screenshots Take a screenshot (or a video), not a picture/recording with your phone. Every post must be about Factorio or of content you have made that is directly inspired by Factorio (such as fan art). If you want to post about other things, there are subreddits for that. This is a subreddit for the game Factorio. Maybe it can make your development as fun as Factorio.Factorio has never in many years had a sale, is currently not on sale, and is not expected to ever be on sale.įactorio developers: "Not having a sale ever is part of our philosophy." Generate away all the glue and friction of integrating things, check it out, With Mify we're aiming for that kind of development. Imagine if you could justĬopy some recommendation algorithm to your app and connect it to users as simply Just paste the optimized solution wherever you want. But the tools that Factorio provides allow us to just horizontallyįactorio's blueprint library acts as a GitHub for factories and allows you to What we essentially done here is everything that average engineer does during ![]() ![]() If copper is a bottleneck then we can do the same thing as we did with the output Pasting individual circuit production units, and as we connect more of them weĬan see that more circuits are flowing to the output:īut wait, now there isn't enough copper. Having blueprints we can easily horizontally scale our logic by copying and Words, do code generation, think of it if you could just run some This will allow you to automatically construct copied blueprints, or in other Beforeĭoing that, add yourself a power armor with a reactor with a portable roboport,Īnd add around 50 construction robots, the armor layout should look like that: A player canĬopy and paste the area of the factory using simple CTRL+C/CTRL+V shortcuts. Blueprintsįactorio has a nifty way to reuse the design called blueprints. ![]() Now, let's scale the circuits to fix that. Up, we can see it as if the distance between different green circuits is like request timeĪnd it got too big. Now we see that all circuits are flying through the conveyor and nothing is piling Will evenly distribute resources from the conveyor to the chests: Output chests and improve the consumption logic by using so-called balancers which Let's say that suddenly people need more circuits. Stuff, here it is just a matter of putting manipulators and conveyors, no needįor writing a ton of configuration and then sitting and debugging integrations, One thing that we can immediately notice here, is how simple it is to connect Now we can see that green circuits are flowing to the output chest at a regular pace. Infinity chest or, in other words, calling the service logic in handler and from the client. Together with iron they should be passed to the circuits assemblers, so let's doĪfter wiring all assemblers we need to connect the output conveyor to the The logic to process copper and iron plates to green circuits.Īccording to the recipe, copper plates are processed to wires and To begin, put an infinity chest with a manipulator to the conveyor to generate iron and copper like this:Īlright, so after we've got hardware to run the service, it's time to implement Let's just imagine them as our CPU and RAM. Same here, for greenĬircuits we need to provide raw resources on which most of the Factorio items are When we thinking of running the service, first thing that comes to mind is gettingĮnough compute resources and hosting provider to run it. So let's take something moderately simple as a model for service - green In Factorio there is a variety of things you can build a factory for, and someĬomplex items would take a great deal of time to put all components together, So, let's grab a copy of the game and start it! We'll create a sandbox world,īecause it is easier to mock input and output resource flow, instead of buildingĪll mining and electricity infrastructure from scratch, we're here for science,Īfter you created a sandbox world, open the console (yes, even here we need to run code) and add some infinity chests: /c Maybe there is something that we can learn from Factorio to make our day-to-dayĮngineering better? With that in mind, let's try to model a service inįactorio and we'll see! Creating a playground world This alwaysįascinated me because they manage to make engineers do the same job duringīut what makes sitting for hours, building and scaling a factory so appealing? There is an unique kind of popularity of the factory-building simulators likeįactorio among software engineers. Your browser does not support the video tag.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |