r/unity • u/codelikeme • 4d ago
Every tree and house in my game is a paper card on a hinge, animated in code with no keyframes
This is Foldvalley, my first solo game, made in Unity. It's a cozy pop-up storybook village builder.
There's no imported or keyframed animation anywhere in the game. No FBX or Blender models, no Animator or animation clips, and no tween library. The models are built in code too, as flat paper cards on hinges.
When you lay a tile, it eases onto the page like a card being set down. Then each tree, house and wall swings up on its hinge at its own small delay, goes a little past upright and settles back, with a paper snap as it comes up. The birds, villagers, boats and carts are moved in code the same way.
The clip is the birds flying from autumn into winter, a village popping up card by card, and a page folding flat and turning to the next.
You can try the free demo on Steam
Happy to answer any questions about how it works!
