Devlog 022 - Fluids & Painting

shapez

shapez is a game about building factories to automate the creation and processing of increasingly complex shapes across an infinitely expanding map.

Hello everyone! We got quite a few requests in our devlog feedback survey to talk about Fluids! It's a subject we haven't really talked about much before, mostly in passing and progress. So, let's have a look through what we're working with right now! As always, a lot you’ll see in the devlog is work in progress. The mechanics are there and almost at 100%, but the visuals are in various stages of development. https://store.steampowered.com/app/2162800/shapez_2/ [hr][/hr] [h2]What are fluids?[/h2] Fluids are what you’ll use to give shapes different colors. If you’ve played the first shapez, you’ll remember mining colors and transporting them by belt. For shapez 2 though, we wanted something different. Colors have been turned into colored fluids, which you move around through Pipes. This adds some visual variety and a couple of new challenges. In short, coloring shapes should be more exciting! [h2]Gathering & Transporting Fluids[/h2] The process of gathering and transporting fluids starts off very similar to regular shapes, though you’ll need the fluid variants of the regular buildings you’d use: [list] [*]Fluid Miner instead of Shape Miner [*]Fluid Miner Extension instead of Shape Miner Extension [*]Pumps instead of Extractors [*](Space) Pipes instead of (Space) Belts [*]Fluid Wagons instead of Shape Wagons [/list] All the specialized fluid variants behave the same as their shape counterpart. Pipes have some differences though. When placing, Pipes currently behave mostly the same as belts. They have the same placement limitations: They can split off horizontally in every direction. We plan to add more flexibility to the pipes, allowing you to branch them off of vertical parts, but this is planned for later. [img]{STEAM_CLAN_IMAGE}/43169810/50b41102c441e8007b824b67617005324e782bab.jpg[/img] To get fluids across a gap, you can place a Fluid Launcher. This version of the Launcher will accumulate fluid to create a blob that it will launch to the other side. It can store two blobs-worth of paint, scaling with painting speed. One fluid launcher will be enough to support one full belt of painters. [img]{STEAM_CLAN_IMAGE}/43169810/a5e7af7a92ae635c25c810f7e2f529888150dce6.gif[/img] Unlike shapes and belts however, there’s currently no limit to throughput for pipes. Pipes do not have capacity of their own: if there’s fluid available in the buffer of the output building, it will show the fluid in the pipes. When this buffer is empty, the pipes will be empty as well. Essentially, any paints used by another building will be taken directly out of the Painter buildings. The pipes determine where the building can get paint from. [img]https://i.imgur.com/I5IasCK.gif[/img] We plan to make some improvements for this, like a limit to throughput would be introduced to make pipes behave more realistically. However, there is no advanced fluid simulation planned. Adding flow / pressure-based simulation would add a lot of complexity to the game without major added gameplay value. We want you to be able to focus on solving shapes, instead of having to worry about fluids getting stuck in pipes. Then there’s the Fluid Tank. This building holds up to 1,800 liters and works as a buffer between out- and inputs to make sure the flow continues to flow for a while when your Painters run dry. They give you room for error, but can be optimized out of the system if you’d like! [img]{STEAM_CLAN_IMAGE}/43169810/c9f9801e3f92cf39b7eb0519ccbd81d341ac4ca3.png[/img] [h2]Painter[/h2] To paint a shape, you have the Painter building. This building can paint any shape you send through it, but only the top layer. To paint multiple layers, you’ll need to paint first, stack later. It has a buffer of 20 liters and has inputs on three sides for extra flexibility. Painting a layer uses 10 liters. [img]{STEAM_CLAN_IMAGE}/43169810/6add7a9ff93f8ea1c9361e62b2dc2e38f6588b44.gif[/img] In previous builds, we had a Full Painter building that painted every layer of the shapes you run through it. However, we recently removed it as it was not very useful for the challenges we set. [h2]Mixing[/h2] With default world settings, you’ll only be able to find Red, Green and Blue fluids throughout your world. To get the secondary colors and the tertiary, you’ll need to mix the fluids. For this, you have the Color Mixer! This building has two inputs next to each other, and one output on the opposite side. Colors are mixed as followed: [list] [*]RGB: Additive color mixing, [url=https://en.wikipedia.org/wiki/RGB_color_model]works like light[/url] [*]RYB: Subtractive color mixing, [url=https://en.wikipedia.org/wiki/RYB_color_model]works like paint[/url] [*]CMYK: Subtractive color mixing, [url=https://en.wikipedia.org/wiki/CMYK_color_model]works like printer ink[/url] [*]Colorblind: RGB with textures, with additive textures (dots mixed with lines becomes dots with lines) [/list] All three buffers have a capacity of 50 liters each. The ratio is 1:1, so 25 liters of each input fluid makes 50 liters of the output fluid. [img]https://i.imgur.com/ESthdEy.gif[/img][i]Visuals are work in progress[/i] [h2]Crystals[/h2] Towards the later stages of the game, you’ll start to run into Crystals. We did a [url=https://store.steampowered.com/news/app/2162800/view/3650785607754834894]deep dive into Crystals[/url] last year, though a lot of it is quite outdated by now. To summarize, Crystals are made by providing fluids to the Crystal Generator. This building will pump the fluid into any Empty or Pin quadrants up until the top layer of the shape you run through it. This paint will then harden into Crystal, matching the color of the fluid used. The problem with Crystals is that when you try to separate two adjacent Crystal quadrants or try to stack it on top of another shape, it will shatter and disappear. You [i]can[/i] separate Crystal from a regular shape and stack shapes on top of Crystals, however. Filling a shape uses 20 liters of fluid, regardless of the amount of quadrants it has to fill. [img]{STEAM_CLAN_IMAGE}/43169810/96791464a746ab2ce9acb3b5710ec742c1faa40b.gif[/img][i]Both the building and crystals themselves are still work in progress[/i] [h2]Other tidbits[/h2] The fluids fully support the newly added Color Schemes, including Colorblind RGB! [img]{STEAM_CLAN_IMAGE}/43169810/ed2b393d825e7050f4ded6e37b9ab092ba07c674.png[/img] When generating a new world, you have the option to include secondary and tertiary colors, allowing you to gather them using Pumps. If you choose to include all colors in the world, the Mixer becomes optional. You can also choose to remove primary colors, but some patches of primary color fluids will remain near the Vortex to allow you to progress. [hr][/hr] That’s about everything! We hope the new fluids make for a more interesting system than using belts to move colors. Let us know what you think! See you next time! ~ Tobias & the shapez 2 team [h3]Join the community:[/h3] [url=https://twitter.com/tobspr style=button]X / Twitter[/url] [url=https://www.youtube.com/@tobsprGames style=button]YouTube[/url] [url=https://discord.gg/bvq5uGxW8G style=button]Discord[/url] [url=https://www.reddit.com/r/shapezio/ style=button]Reddit[/url] [url=https://www.tiktok.com/@tobspr_games style=button]TikTok[/url] [url=https://www.patreon.com/tobsprgames style=button]Patreon[/url] [h3]Check out the previous devlog:[/h3] https://store.steampowered.com/news/app/2162800/view/4173225900655549931