CAW

you're a small grid living in a big grid world

This week I updated home decorating system in the game. I would like the players to have the freedom to decorate anywhere they can see, so I drew grids at different height and orientation matching to the decorate-able surfaces at caw's home.

However, jumping between multiple grid maps with different orientations and heights was tricky... eventually I had each painted cell returns a world position, so the cursor just jumps to the nearest cell in the pressed direction, whichever grid it’s on. By giving each item tags for "surface" (vertical or horizontal surface" and "ground" (strictly on the ground) I can manage whether if each item type needs to rotate/ snap to the different orientations of the grid surface.

← back to devlog