shapez 2 Guide

Design. Automate. Optimize.

shapez 2 Guide hero banner

Last updated: July 4, 2026

shapez 2 MAM Design Guide

The Make Anything Machine (MAM) represents the pinnacle of automation engineering in shapez 2. Unlike a traditional factory that produces one specific shape repeatedly, a properly designed MAM reads the Hub delivery goal in real time, decomposes the target signal into its constituent parts, routes raw shapes through configurable processing lanes, and assembles the final output — all without any manual reconfiguration. Building a MAM is not required to complete shapez 2, but it transforms the late game from an active factory management exercise into a self-sustaining automation system. This design guide covers the MAM architecture, core component roles, the signal-layer logic that makes dynamic production possible, wire routing strategies, and the key architectural decisions that separate a fragile prototype from a robust universal factory.

What Is a MAM and Why Design Matters

At its core, a MAM is a signal-driven factory. The Hub broadcasts a target shape signal that describes exactly what to build — which quadrants go where, what colors to apply, and how many layers to stack. The MAM reads this signal using a Global Receiver, then uses a cascade of simulated buildings (Unstacker, Rotator, Shape Analyzer) to decompose it into individual pin signals. These pin signals control Belt Filters that route the correct physical shapes into the correct processing lanes. The result is a factory that automatically reconfigures itself whenever the Hub goal changes.

The difference between a working MAM and a reliable MAM comes down to design discipline. A fragile MAM works for the shapes you tested it with but fails silently when it encounters a new target. A well-designed MAM handles every shape the Hub can request — it normalizes quadrants, checks for null signals, provides explicit trash paths for rejected shapes, and validates output against the target before delivery. The following sections break down the components, signal layers, and architectural patterns that enable robust MAM design.

MAM Component Types — Roles and Design Tips

A MAM is composed of several distinct component categories, each serving a specific role in the signal-to-shape pipeline. Understanding what each component does and where it belongs in the architecture is the first step toward designing your own MAM rather than copying someone else's.

ComponentCategoryFunctionThroughputDesign Tip
Shape AnalyzerSignal InputReads the target shape signal from the Hub delivery goal and breaks it into individual pin signals for each quadrant layer.1 analysis/secPlace immediately after the Global Receiver. Use a Display to verify the signal before connecting downstream modules.
CutterPhysical ProcessingSplits a raw shape into two halves (vertical or horizontal). Each half exits from a separate output belt for independent processing.1.0 shapes/sec (2 outputs)Keep cutters modular — each cutter handles one shape type. Use both outputs even if one goes to storage or trash.
RotatorPhysical ProcessingRotates a shape by 90 degrees clockwise. Essential for aligning quadrants before stacking or matching signal orientations.1.0 shapes/secPlace before Stackers when the two input shapes need different orientations. Normalize all quadrants to NE direction for consistent signal matching.
StackerAssemblyCombines two shape halves into one complete shape. Top layer always enters from the left input, bottom layer from the right.0.5 shapes/sec (consumes 2)The bottleneck in most MAMs. If throughput is insufficient, add parallel Stacker lanes. Always verify input order — a swapped pair produces an inverted shape.
PainterColor ProcessingApplies paint to the entire shape or selected quadrants. Requires a fluid pipe connection from a Mixer supplying the correct color.0.5 shapes/secKeep Painters within 10 tiles of their Mixer. Fluid travels slowly in pipes — add valves to maintain full flow rate.
Belt FilterRoutingRoutes shapes based on pin signal matching. Only passes shapes that match the filter condition; rejects everything else to a trash line.1.0 shapes/secPlace on every processing lane input. Without filters, shapes contaminate neighboring lanes and produce incorrect output.
Wire SystemSignal InfrastructureCarries pin signals from the Signal Analyzer to Belt Filters, Rotators, and other signal-controlled components throughout the MAM.Instant signal propagationUse wire tunnels under production lines to keep the surface clear for belts. Color-code wires by quadrant for easier debugging.
TrashWaste ManagementDestroys any shape or fluid. Critical for disposing of incorrect shapes produced during target changes and overflow from backed-up lines.Unlimited disposalPlace a trash line at the end of every processing lane and after every Belt Filter rejection output. A MAM without trash is a MAM that will eventually deadlock.

The Five-Layer Signal Logic System

The most important concept in MAM design is the separation between the signal layer and the physical layer. The signal layer uses simulated buildings to operate on shape signals — deciding what should be built — while the physical layer uses real buildings to execute those decisions. A well-designed MAM keeps these two layers cleanly separated: signals flow from top to bottom through five distinct stages, and each stage is independently testable before the next stage is connected.

The five-layer architecture provides a framework for thinking about MAM design systematically. Layer 1 receives the target signal. Layer 2 decomposes it into manageable pin signals. Layer 3 matches those signals to physical shapes and routes them. Layer 4 executes the physical transformations. Layer 5 validates the output against the original target. Every MAM, regardless of its physical layout, follows this same signal flow pattern. The differences between architectures are in how Layers 3 and 4 are physically arranged — not in what the layers do.

A critical design rule for signal layers: place a Display at every handoff point between layers. The signal chain should be: Global Receiver → Display → Layer 2 modules → Display → Belt Filter inputs → Display → Physical modules. If you cannot see the signal at each stage, you cannot debug it when something goes wrong.

LayerPurposeKey ComponentsSignal FlowCommon Error
Layer 1 — Target ReceptionRead the target shape from the Hub delivery goalGlobal Receiver, DisplayHub target → Global Receiver → Display (verify) → Signal input to Layer 2Global Receiver not connected to the correct target signal channel. Always verify with a Display before proceeding.
Layer 2 — Signal DecompositionBreak the target shape into individual quadrant and layer pin signalsSimulated Unstacker, Simulated Rotator, Shape AnalyzerTarget shape signal → Simulated Unstacker (split layers) → Simulated Rotator (normalize to NE) → Shape Analyzer (extract pin data)Skipping the NE normalization step. A different orientation produces different signals, breaking comparison logic downstream.
Layer 3 — Signal Matching & RoutingMatch pin signals to physical shapes and route shapes to correct processing lanesComparator, Belt Filter, Wire TunnelsPin signals → Comparator (check against lane assignment) → Belt Filter (pass matching shapes, reject others) → Wire tunnels route signals across the MAMForgetting to add a rejection path after the Belt Filter. Rejected shapes block the belt and deadlock the entire lane.
Layer 4 — Physical ProcessingExecute cutting, rotating, painting, and stacking operations on the routed shapesCutter, Rotator, Painter, StackerRouted physical shape → Processing modules in sequence → Assembled component → Output to final assemblyTesting modules in isolation but not verifying they work correctly when chained. Always test the full processing chain with a known target shape.
Layer 5 — Final Assembly & ValidationCombine processed quadrants into the final shape and verify it matches the targetStacker (final), Comparator, Trash, DisplayProcessed quadrants → Final Stackers → Comparator (check against target) → Match: Hub delivery | Mismatch: Trash → Display for visual verificationSkipping output validation. A MAM that silently produces wrong shapes wastes resources and fails delivery goals without any visible alert.

Wire System for Shape Routing

The wire system is the nervous system of a MAM. Pin signals travel along wires from the Signal Analyzer to every Belt Filter, Rotator controller, and Comparator in the factory. Unlike belts that carry physical shapes, wires carry information instantaneously — a signal change at the Global Receiver propagates to every connected component in the same tick. This instant propagation is what enables a MAM to switch production targets on the fly.

Wire routing requires careful planning because wires and belts occupy the same surface layer. The standard solution is wire tunnels — underground conduits that carry signals beneath your production lines, emerging only at connection points. Route all pin signals through tunnels so that the surface remains clear for belts carrying physical shapes. A common beginner mistake is routing wires on the surface in a way that blocks future belt expansion — by the time you need that space, the wire network is too complex to move.

Color-code your wire network by quadrant. Use one wire color for NE quadrant signals, another for NW, and so on. When debugging, you can instantly see which quadrant a signal belongs to without tracing the wire through multiple tunnels. This simple convention saves hours of debugging time in complex multi-lane MAMs.

Linear vs Branching Architectures

The physical layout of a MAM — how processing lanes are arranged — falls into three broad architectural patterns. Each has distinct trade-offs in throughput, complexity, and scalability. Choosing the right architecture for your current skill level and production goals is more important than copying the most advanced design you can find.

Linear (Serial Pipeline)

Structure: All processing stages arranged in a single straight line: Receiver → Decompose → Route → Process → Assemble → Output.

Advantages

Simple to build and understand. Easy to debug — trace the line from input to output. Minimal wire routing complexity.

Disadvantages

Slow throughput — each stage must complete before the next shape enters. A single failure blocks the entire pipeline. Cannot scale beyond one lane without complete redesign.

Best for: First MAM builds. Learning the signal layer system. Producing low-volume operator shapes.

Branching (Parallel Lanes)

Structure: Target signal is decomposed, then each quadrant is processed in a separate parallel lane. Lanes recombine at final assembly.

Advantages

High throughput — all quadrants process simultaneously. Lanes are independent — one failure does not stop others. Easy to scale by adding more parallel lanes.

Disadvantages

Complex wire routing. More space required. Signal distribution to multiple lanes needs careful channel management. Harder to debug when signals cross between lanes.

Best for: Mid-to-late game MAMs. High-volume task and milestone production. Multi-MAM factory complexes.

Hybrid (Branched Stages)

Structure: Linear processing within each quadrant lane, but lanes branch at specific stages (e.g., separate paths for pinned vs unpinned shapes, crystal vs non-crystal).

Advantages

Handles complex shape types (pins, crystals) without slowing down simple shapes. Maximum flexibility for any target the Hub can request.

Disadvantages

Most complex to design and debug. Requires advanced signal logic with null checks and conditional routing. Double the wire work of a basic branching MAM.

Best for: End-game universal MAMs that handle every shape type including pins and crystals. Players who have mastered the signal layer system.

MAM Optimization Tips

  • Start small — one layer, one NE quadrant. Your first MAM should process a single quadrant of a single-layer shape. Get the signal chain working end-to-end before adding complexity. A MAM that works for one quadrant can be expanded to four; a half-built MAM that tries to handle everything at once will never work at all.
  • Normalize all quadrants to NE before comparison. Use Simulated Rotators to rotate every quadrant signal to the NE orientation. This ensures that the same shape in a different quadrant position produces the same comparison result — a circle in the SW quadrant matches a circle in the NE quadrant after rotation. Without normalization, your comparison logic produces false negatives and routes shapes incorrectly.
  • Add trash paths at every rejection point. Every Belt Filter has a rejection output. Every Comparator has a mismatch path. Every processing lane has overflow. Connect every single one of these to a Trash building. A MAM that cannot dispose of wrong shapes will eventually deadlock when the Hub goal changes and the pipeline contains shapes from the previous target.
  • Test with at least 5 different target shapes. A MAM that works for square shapes may fail for circles, pinned shapes, or multi-layer targets. Test your MAM against a diverse set of Hub goals — include at least one pinned target and one multi-layer target — before declaring it complete. The shapes that break your MAM will teach you more than the ones that work.
  • Blueprint processing lanes, not the signal network. The physical processing modules (Cutter, Rotator, Painter, Stacker) are highly tileable and perfect for blueprinting. Save each processing lane as a reusable module. The signal routing — Global Receiver, Signal Analyzer, wire tunnels — is unique to each MAM layout and should be built manually per instance.
  • Handle null signals explicitly. Null signals cause shapes to stall instead of routing to trash or output. Add null-check logic at every decision point: if a signal is null, send the shape to a dedicated reject path rather than letting it occupy a belt slot indefinitely. Use a Display to verify that null signals are being caught.
  • Keep paint production centralized. Instead of building dedicated Mixers for each MAM lane, build a centralized paint production hub that supplies all lanes via a fluid bus. This reduces the number of Mixers and Crystalizers you need to manage and makes color supply problems easier to diagnose — if one lane is missing paint, the problem is in the lane, not in the paint source.
  • Use separate control channels for each MAM instance. When you copy-paste a MAM to scale production, change the control panel settings, channel identifiers, and receiver configuration immediately. Two MAMs using the same control channel will produce the same shape and double-deliver to the Hub, wasting production capacity. Each MAM instance needs its own independent signal identity.

Frequently Asked Questions

Q: How big should my first MAM be?

Start with a single processing lane that handles one quadrant of a single-layer shape. This compact design — roughly 20 by 30 tiles — is large enough to prove the signal chain works and small enough to debug. Once this single-lane MAM is reliable, expand to four parallel lanes (one per quadrant) in a 40 by 40 tile area. Building an 8-lane or 16-lane MAM as your first attempt is a recipe for frustration — the wire routing complexity scales quadratically with the number of lanes.

Q: Why does my MAM produce the wrong shapes after the target changes?

This is almost always caused by stale shapes in the pipeline. When the target changes, the shapes already on belts were produced for the previous target. The new signal propagates instantly, but the physical shapes take time to clear. Without trash paths at every rejection point, these stale shapes get processed by the new configuration and produce incorrect output. The fix: ensure every Belt Filter rejection output connects to a Trash, and every Comparator mismatch has a dedicated disposal route.

Q: Should I use a linear or branching architecture?

For your first MAM, use a linear architecture. Build one complete signal-to-output chain, verify it works, then replicate it for additional lanes. Once you understand how signals flow through a linear MAM, graduate to branching architecture for mid-game production where parallelism matters. Reserve hybrid architectures for end-game when you need to handle pins and crystals alongside standard shapes. The progression is: linear (learn) → branching (scale) → hybrid (master).