Cutting mechanic in my game

Godot Version

v4.2.1

Hi. I’m working on this game where you make clothes, kinda like papa’s pizzeria games/good pizza great pizza, but you make clothes instead of food. And I need to make it so players can cut out shapes for clothes and sew them together later.
So what I need to know is how to make the cutting “minigame”, should I use Sprites, Polygon 2D…? If so how? <3

Polygon2D is a good bet, it can be shaped strangely and has UV coordinates. Keep in mind cutting is essentially asking the player to create two polygons, so it’s a fairly low-level feature, you will have to use intersection formulas that may not be available in-engine.

1 Like

You could also do this with textures; flood fill the “cut off” bits with transparency. It might not work out so well when you get to the “sewing together” part.

I suspect “sew them together” is going to be the hard part, and is going to drive the rest of your design decisions.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.