Friday Facts #161 – Infinite Research and Blueprint Library
The development of your favorite pollution-generating Factorio game doesn’t stop although much half of the office are sick.
Giving the optional resource sinks for those who love to make the huge factory in Factorio download is the main reason to create the infinite research. The cost for the research will be diminished. Thus, player bonuses will not be too unreasonable. The major issue was to determine how to specify the research requirements growth. Sometimes, it should be linear or quadratic or exponential. To make the modding become free enough, there is a formula for you. For example, this is the formula for the Worker robot speed research 6+: count_formula = “1000*2^(l-6)”
There is also a small math formula parser for Factorio download. Therefore, the formula will be parsed only one time. And, it will be stored internally as the graph of the expression. Thus, you can evaluate it for different values in the short time. There are many convenient usages of this on various places on Factorio after that. The formula as it stands means that the sixth level costs 1000:
The level 10 will cost tons:
This change is easy and very simple to add to the game. The playtesting base will be soon attached. However, the improvement of the circuit production will be will be prioritized.
Have some progress on the Blueprint Library. It will become one of the bigger 0.15 features. You can check the introduction in the FFF-156 at www.factorio.com if you want. The basics for the singleplayer usage are completed. Therefore, you will have the time to get blueprints stored in the game and in the persistent (across saves) storage. Hopefully, there is the intuitive GUI which working with the library. Now, you can export the blueprints and blueprint books from Factorio download to the library. By dragging either within the same storage or for instance from the storage to the persistent storage or vice versa, you can move the blueprints around, in and out of the blueprint book. The detail GUIs for blueprints and blueprint books are similar to the GUIs with the possibility of crafting and removing the blueprint or book from the library. The screenshots can show the details of a single blueprint book and a blueprint within that book opened.
The next point of the to-do list is that you are possible to observe other players’ blueprints and download them. This needs some fragmentation tricks so that you can avoid hiccups when sending the blueprint data.
Another 0.15 optimization
Being the part of multithreading update preparations, there is another nice optimization in Factorio game came up. This has the relation to many situations like:
Nevertheless, the problem here is that a lot of chunks where only the pollution requires to be calculated. The pollution simulation is displayed in the way that every chunk updates the own pollution spread per 60 ticks once for each second. The chink improves at different moments of the 60 tick cycle. And thus, the CPU drain is distributed. And the trouble is that the code was written: // handle pollution (every second for performance reasons) if (tick % 60 == uint32_t(abs(this->position.x) + abs(this->position.y)) % 60) … handling pollution logic …
It means that for all these chunks, the Factorio game must go through and test its pollution should not be updated this tick or not. This change can cause the improvement to the performance of big factories by 7%.
UX designer hunt
Factorio steam and the user experience are expected to be polished in the next releases. This will contain the GUI overhaul, improving the existing missions and adding mini-tutorials or interactive tips and tricks. So, with these plans, the game needs to be worked by a dedicated UI/UX designer. If you know someone fit the job description (https://www.factorio.com/job/ux-designer), you can send him or her.