TUXDB - LINUX GAMING AGGREGATE
by NuSuey
NEWSFEED
▪️ GAMES
▪️ STEAM DECK ▪️ DEALS ▪️ CROWDFUNDING ▪️ COMMUNITY
tuxdb.com logo
Support tuxDB on Patreon
Currently supported by 8 awesome people!

🌟 Special thanks to our amazing supporters:


✨ $10 Tier: [Geeks Love Detail]
🌈 $5 Tier: [Arch Toasty][Benedikt][David Martínez Martí]


Devlog 006 - Fluids

Hey everyone! Today I wanted to give you some insights about the fluids in Shapez 2! As always, be sure to wishlist & follow Shapez 2 to get a notification on important updates: https://store.steampowered.com/app/2162800/shapez_2/ Alright, so let's dive into the devlog!

Devlog 006 - Fluids & Painting


Recap - Shapez 1


Shapez 1 didn't have fluids, and colors were simply items that you could mine, just like shapes. The painter would then take those items as an input and modify the shape color:
This worked, but for Shapez 2 we wanted something more interesting and also more "visual" and easy to understand. This is why we are introducing fluids:

Fluid Extraction


The first step to acquire fluids is to find a fluid resource on the infinite map. In the area close to the HUB you will be able to find the 3 primary colors: red, green and blue. Farther apart, we can imagine that there will also be secondary colors, but that's not settled on yet.
We still haven't figured how those fluid resources should look, so they are still placeholders in the game. Daniel already made some concepts for them, but all of these are super early!
Once you found a resource to mine, you can place a fluid extractor island on it. Again, this is only a placeholder:
There is already a concept for it as well, but again, very early!
On the miner itself, there will be a fluid patch, similar to the shape miner, where you can place pumps to extract fluids. Pumps currently extract 1200 Liters per minute, but this is not final. Currently the unit used to measure fluid volume is liters, although we could imagine introducing additional units in case we ever want to add steam for example.

Fluid Transport & Simulation


To transport fluids on the island, you can then place different types of pipes. There are straight, corner, junction and cross pipes. As everything in the game is open, we wanted the pipes to also be open so you can see the fluids actually flow through your factory!
Fluids are simulated at a fixed tickrate right now. Basically every pipe has a "storage" called "FluidContainer" internally. The size of that storage is 50 L for pipes currently. Every container then stores the current flow to the adjacent containers. When updating the simulation, it basically goes like this: 1. Iterate over all containers and "spread" fluids. Every container can only store one fluid at a time, so once it is "tagged" with that fluid, it can only store that fluid until it is entirely empty again. More about that in the "Mixed Pipes" section. 2. Compute & propagate pressure differences Pressure in a container is simply computed as value / maxValue. The simulation then tries to achieve a state of "balance" where all containers the system have the same pressure. However, just trying to average the container levels won't work great, because then the throughput will be extremely low at some point. Thus, instead of storing only the pressure, we also store a flow rate, which is determining how much fluid from one container flows to another container in one tick. The flow rate only changes very slowly, and increases / decreases based on the pressure difference. There are still some issues that a lot of fluids simulations typically have, for example dealing with waves. But we already have a few ideas how to tackle them! 3. Clamping & clearing In the last step, all containers that are empty are now un-tagged, so they can receive a different type of fluid again. Also in case any container did over- or underflow, it will be clamped. While the fluid simulation can be a little technical, our goals is and was that if you just want to use fluids, it should be intuitive and "just work". With the current system in place and the visual indicators, we feel that already is the case, but we are very interested in your feedback!

Mixed Pipes


Since mixed fluids in the same pipe wouldn't really make sense, we don't allow them. Instead, every fluid container can only store one fluid and is tagged with that. Transfer between containers then only works if they have the same fluid:
There are also buttons to flush pipes or the entire network, in case you mess up.

Secondary & Tertiary colors


In order to produce secondary and/or tertiary colors, you can mix colors with the color mixer:

Cross-Layer Transport


Fluids can be transported up and down, however, in order to transport them up you will have to place a pump:
The pump will limit the flow to one direction, so you can also use it as a gate to prevent backflow:
We are also considering to add a building just for that, in case it becomes a commonly used pattern. Instead of going for an overly complex system, the rules for cross-layer transport are very simple: Fluids only go up in a pump, and they go down in regular pipes. This should be very intuitive and still allow for some interesting designs. However since it's not final - let us know what you think!

Buffering


In case you want to store some fluids, there is also a fluid tank, and because of the cross-layer pipes, you can also stack them on top of each other:
Keep in mind that, because the simulation effectively averages the pressure, the tanks will only fill once you have a surplus of fluid in the system.

Painting


There will be different types of painters in the game, for now we have planned a topmost painter and a full painter. The topmost painter only paints the highest layer of a shape where as the full painter paints the whole shape (and needs more paint in exchange). Here's an early concept of the topmost painter in action (the animation is currently broken):
As you might have seen, there are multiple inputs - and again, due to the multi-dimensionality of the game, you can build some pretty cool & compact setups!

Fluid Packing & Cross-island transport


If you read the past devlogs, you might wonder how you actually transport fluids between islands, since there is no building space for pipes in between. Disclaimer: The following mechanics are work in progress and we don't know whether they will end up exactly like this in the game. However, let me explain what we have right now! To transport fluids, first you have to produce barrels. Barrels are produced from shapes, and the size & color of the barrel depends on the used shape:
Once you produced the barrels, you can now fill them using the fluid packer:
Then transport them between islands and unpack them again.
Since barrel production is pretty slow, you can also recycle the production by returning the empty barrels again (as seen in the above gif) We are not 100% certain this feature will be a great fit, so be sure to leave your feedback on it, so we know whether you like it or not!

Color Blind Support


As soon as colors are a crucial part of the gameplay, we have to think about color-blind support as well. We are still looking for good ways to make it easier in case you are affected, such as patterns, or different symbols for fluids. If you have any ideas please let us know!

Wishlist Shapez 2


I hope you enjoyed the devlog, and I wish you a nice remaining weekend! And as always, be sure to wishlist & follow Shapez 2 to get a notification on important updates: https://store.steampowered.com/app/2162800/shapez_2/ ~Tobias


[ 2023-05-21 17:21:34 CET ] [ Original post ]



shapez.io
Tobias Springer
  • Developer

  • Tobias Springer
  • Publisher

  • 2020-06-07
  • Release

  • Indie Strategy Simulation Singleplayer
  • Tags

  • Game News Posts 78  
    🎹🖱️Keyboard + Mouse
  • Controls

  • Overwhelmingly Positive

    (11184 reviews)


  • Review Score

  • https://shapez.io
  • Website

  • https://store.steampowered.com/app/1318690 
  • Steam Store



  • Linux [159.96 M]shapez.io Chinese Linux [358.63 M]

  • Public Linux depots



  • shapez.io is a game about building factories to automate the creation and combination of shapes. Deliver the requested, increasingly complex shapes to progress within the game and unlock upgrades to speed up your factory.

    Since the demand raises you will have to scale up your factory to fit the needs - Don't forget about resources though, you will have to expand in the infinite map!

    Since shapes can get boring soon you need to mix colors and paint your shapes with it - Combine red, green and blue color resources to produce different colors and paint shapes with it to satisfy the demand.

    This game features 18 levels (Which should keep you busy for hours already!) but I'm constantly adding new content - There is a lot planned!


    Standalone Advantages

    • Waypoints
    • Unlimited Savegames
    • Dark Mode
    • More settings
    • Allow me to further develop shapez.io ❤️
    • More features in the future!

    Planned features & Community suggestions

    This game is open source - Anybody can contribute! Besides of that, I listen a lot to the community! I try to read all suggestions and take as much feedback into account as possible.

    • Story mode where buildings cost shapes
    • More levels & buildings (standalone exclusive)
    • Different maps, and maybe map obstacles
    • Configurable map creation (Edit number and size of patches, seed, and more)
    • More types of shapes
    • More performance improvements (Although the game already runs pretty good!)
    • Color blind mode
    • And much more!

    Be sure to check out my trello board for the full roadmap! https://trello.com/b/ISQncpJP/shapezio
    GAMEBILLET

    [ 5951 ]

    7.64$ (15%)
    1.60$ (90%)
    5.35$ (69%)
    6.80$ (60%)
    2.47$ (17%)
    3.33$ (78%)
    16.52$ (17%)
    16.99$ (15%)
    1.00$ (80%)
    17.19$ (14%)
    5.57$ (15%)
    12.44$ (17%)
    3.33$ (78%)
    8.49$ (15%)
    12.59$ (16%)
    8.59$ (14%)
    20.65$ (17%)
    5.92$ (73%)
    26.09$ (13%)
    5.91$ (15%)
    4.00$ (80%)
    2.00$ (80%)
    10.66$ (73%)
    1.83$ (8%)
    0.75$ (85%)
    16.57$ (17%)
    16.39$ (18%)
    3.50$ (90%)
    16.59$ (17%)
    7.35$ (8%)
    GAMERSGATE

    [ 1903 ]

    6.0$ (70%)
    0.68$ (83%)
    0.53$ (92%)
    0.56$ (81%)
    9.0$ (70%)
    0.75$ (92%)
    0.56$ (81%)
    4.05$ (77%)
    4.5$ (77%)
    3.0$ (85%)
    2.25$ (85%)
    3.0$ (92%)
    3.0$ (81%)
    3.0$ (85%)
    5.06$ (66%)
    6.52$ (57%)
    7.2$ (76%)
    2.5$ (50%)
    1.88$ (81%)
    1.31$ (81%)
    3.9$ (70%)
    13.49$ (33%)
    15.0$ (70%)
    0.23$ (92%)
    0.56$ (81%)
    3.75$ (81%)
    3.67$ (47%)
    9.71$ (19%)
    3.0$ (50%)
    0.9$ (92%)

    FANATICAL BUNDLES

    Time left:

    3 days, 9 hours, 19 minutes


    Time left:

    26 days, 9 hours, 19 minutes


    Time left:

    8 days, 9 hours, 19 minutes


    Time left:

    39 days, 9 hours, 19 minutes


    Time left:

    45 days, 9 hours, 19 minutes


    HUMBLE BUNDLES

    Time left:

    6 days, 3 hours, 19 minutes


    Time left:

    6 days, 3 hours, 19 minutes


    Time left:

    15 days, 3 hours, 19 minutes

    by buying games/dlcs from affiliate links you are supporting tuxDB
    🔴 LIVE