# Wedding Cake Wobble

> Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Game creation](https://www.sandbase.ai/skills/games)
- Version: 0.2.1
- Runs online: yes
- Page: https://www.sandbase.ai/skills/games/wedding-cake-wobble

## What you get

Bring a ballroom layout, guest crossings, rug positions and delivery goals, or a new arrangement of the supplied obstacles. The Skill returns a reusable Skill with editable routes, included cake and character models, steering and braking controls, and an offline HTML build. Try two campaigns with five courses in total.

## Install

Download the Skill package from https://www.sandbase.ai/skills/games/wedding-cake-wobble (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/wedding-cake-wobble make a three-tier cake crossing a garden reception, with narrow turns, one moving guest and a generous first delivery target. Deliver the editable project and the offline HTML. Test every course, mistakes and recovery with keyboard and touch controls
```

## How it works

1. **Describe a campaign** Tell your coding Agent the setting, the player objective and the decisions each course should introduce. For example, ask for “a three-tier cake crossing a garden reception, with narrow turns, one moving guest and a generous first delivery target.” The Skill starts from an editable campaign and a self-contained Three.js project. Building requires Node.js 22 or later and the locked npm dependencies.
2. **Shape the routes and decisions** Place turns, tables, crossing guests and rugs so that braking changes the outcome. The cake uses a tuned two-axis spring model with animated falls, so test acceleration and steering together. Preserve a meaningful partial-delivery score when tiers fall, instead of turning every mistake into an immediate restart.
3. **Build and verify a playable file** Create a separate project with the included initializer, edit campaign.json, and run its configuration check and build commands. Wedding Cake Wobble embeds the supplied models and runtime into one HTML file. Reusing those assets makes no model call; replacing them through SandBase is optional and requires reviewing the current schema and estimate before billed generation. Open the final HTML in a WebGL2 browser and test completion, mistakes and recovery on every course. Check keyboard controls, touch buttons, pause, retry and both supported interface languages. Deliver the editable project together with the playable file, and record any remaining limits separately from successful build and gameplay checks.

## FAQ

### Does losing a cake tier end the delivery?

A damaged cake can still reach the destination and earn a partial-delivery result. Wedding Cake Wobble separates finishing the route from keeping all tiers and the topper intact. This gives the player a reason to recover after a mistake, while a clean run remains a distinct scoring goal.

### Why do braking and steering need to work together?

Steering inertia makes sudden direction changes unsettle the stack, while braking gives the cake time to settle before a turn. Wedding Cake Wobble combines that behaviour with crossing guests and rugs. A useful custom course therefore includes readable braking opportunities, rather than only increasing speed or crowding the lane with obstacles.

### Is the cake a general physics simulation?

The cake uses a bounded two-axis spring simulation with animated tier falls, not a general rigid-body stacking engine. Wedding Cake Wobble is designed for controllable fragile-cargo routes. New cargo shapes need matching collision proxies and visual checks; arbitrary objects will not automatically stack or collide like real objects.

### Does Wedding Cake Wobble need an API key?

Wedding Cake Wobble needs no API key to build or play with its included assets. Dependencies are installed locally, and the finished HTML runs offline. Optional replacement models use SandBase; inspect the selected model's current schema and estimate before authorizing billed generation. The Skill contains no author's credentials and does not require a particular machine.

### What can I edit in a Wedding Cake Wobble campaign?

The campaign contains titles, level layouts and game-specific challenge settings, and supports one to twelve stages. Wedding Cake Wobble includes a three-stage campaign and a separate two-stage example. A coding Agent can edit these inputs and the project source, but a new game genre requires new behaviour rather than configuration changes alone.

### Where can the finished Wedding Cake Wobble game run?

The finished game runs in a browser with WebGL2 using keyboard or touch controls, and its interface supports English and Simplified Chinese. Wedding Cake Wobble builds one offline HTML file plus an editable project. Best records use local storage when available; a sandbox that blocks storage still permits the complete current play session.

## Examples

- A Piece of Cake (scene)
- A Piece of Cake: After Hours (scene)
- A Piece of Cake (video)
- A Piece of Cake: After Hours (video)
