← all posts site ↗

3d printing game entropy phase system

the 3d printing game has a progression problem. i want weird things to happen — hammer flies out of your hand, gravity inverts, printed objects change shape when you pick them up — but i don't want them all firing on print two. need a system that layers these interactions across the game so they feel earned and escalating, not random.

the solution is a phase system driven by a print counter. every time you complete a print, the counter increments and the system evaluates which phase you're in. each phase is a scriptable object that defines what can happen at that stage — nozzle distortion at phase one, hammer throw at phase two, gravity inversion at phase three. the key insight is that phases are data-driven, not hardcoded. i can tweak thresholds and intensities in the editor without touching code.

the tricky part is the lighting mechanic. right now you can do everything in pitch dark which doesn't make sense. the fix is to gate interactions behind power — if the wheel isn't spinning and generating light, you can't see what you're printing. this forces the player to maintain the power cycle while also dealing with the escalating weirdness. it adds tension without adding complexity.

for the ending, i want the player to choose. not a forced cutscene — they walk into the glitching wall or press a button and the perspective shifts to cctv. the whole game builds to that moment of agency. the modular architecture means i can add new effects by just creating a new controller component and hooking it to the phase change event. each effect is independent, the printer just calls incrementprintcount and everything else is event-driven. it's cleaner than i expected.