A Prompt for a Physics Puzzle Game
Place a few planks and springs, press Play and watch the ball find the basket, or not. This brief gives the agent the physics settings, the build-then-run loop and twelve levels to start from.

Key takeaways
- Separate a build phase from a run phase. Players arrange pieces with physics paused, then press Play: every attempt becomes a clean experiment.
- Ask for a fixed physics timestep and a full reset on retry, so the same setup always gives the same result.
- Design levels around one idea each and build them by hand. Random physics levels are rarely solvable or interesting.
Use this prompt to build a physics puzzle game where the player places a limited set of pieces (planks, ramps, springs) on a frozen scene, presses Play, and watches a ball roll, bounce and hopefully land in a basket. Stars reward solving with fewer pieces. The brief fixes the parts that usually break physics puzzles: repeatable results, a clean reset on every retry, and levels that are designed rather than random. It is a 2D game, which keeps the physics readable and cheap to run on phones.
The prompt
Make a 2D physics puzzle game in a clean, warm paper-craft style, for phones (portrait) and desktop. Each level is a small scene with a ball on a ledge, fixed walls and obstacles, and a basket. The player gets a limited tray of pieces for that level, chosen from: plank (long, can be rotated in 15 degree steps), short ramp, spring pad (launches whatever lands on it upward at a set strength), and fan (pushes objects in a 3 tile cone). Build phase: physics is paused; the player drags pieces from the tray onto the scene, drags to move them, and rotates the selected piece with a round handle (on desktop also Q and E). Pieces cannot overlap walls or each other; an invalid spot shows the piece in red. Run phase: pressing Play releases the ball with physics running. If the ball stays in the basket for 1 s, the level is solved. If it leaves the screen or stops moving for 2 s outside the basket, the run ends. Retry returns to the build phase with every piece exactly where the player placed it and the ball reset to its start. Physics: a well-known 2D physics library, a fixed 1/60 s timestep with an accumulator so results are the same on every device, a scale of 50 px per meter, ball radius 0.3 m, ball bounce 0.4, plank friction 0.5, gravity 9.8 m/s squared. Stars: 3 stars for solving with at most the number of pieces in the level's target, 2 stars for one more, 1 star for any solution. Twelve levels for v1, one idea each, in this order: drop into the basket using one plank; bridge a gap with a ramp; bounce up with a spring; combine plank and spring; use a fan to slow a fall; a level where the obvious plank is a trap and a spring is better; then six levels mixing two or three pieces with tighter targets. Controls on phones: drag pieces with one finger, the rotate handle is at least 48 px, a large Play button at the bottom. Undo removes the last placement. Feel: pieces snap into place with a small bounce, the ball leaves a short trail during runs, the basket wobbles and sparkles on a solve. Sound: soft wooden clicks on placing, a boing on springs, a gentle whoosh for fans, a bright chime on solve. Screens: level select grid with stars, level view with tray and Play button, solved card with stars and Next, pause.
Why the brief is shaped this way
- Build, then run. Physics puzzles where things move while you build turn into twitch games. Pausing physics during building lets the player think, and turns every Play into a test of a plan. It is the same loop that makes many classic contraption games satisfying.
- Exact reset on retry. If pieces jump or the ball starts slightly elsewhere after a retry, players cannot reason about their changes. Asking for an exact reset is what makes the game a puzzle instead of a lottery.
- A fixed timestep. Physics that steps with the frame rate gives different results on a 60 Hz phone and a 120 Hz laptop, and a solution can stop working on another device. The physics puzzle guide covers this and the choice of library in detail.
- Real-world scale. Physics libraries are tuned for objects around human size in meters. Mapping 50 px to a meter keeps a 0.3 m ball from behaving like a pebble or a boulder.
- A level order with one idea each. The first five levels each introduce a single piece; the sixth teaches that the obvious answer can be wrong. The level design basics article explains this teach, test, twist pattern.
- Stars by piece count. Fewer pieces is a clear, fair measure of elegance. It gives solved levels a reason to be replayed.
Your next three prompts
- 01Edit levels by hand. Make each level a scene where the ball, basket, walls, obstacles and the tray contents are things I can move and change in the World Editor, with the tray contents and star target as properties of the level.
- 02Show the attempt. During a run, draw a faint line of the ball's path, and keep the last attempt's line visible during the next build phase so the player can compare.
- 03Add a new piece. Add a rope piece: the player drags from one anchor point to another to hang a swinging platform. Introduce it in a new level 13 that teaches only the rope, then use it in levels 14 and 15.
After the first follow-up, test each level yourself before tuning anything else. A level you can solve in two seconds or not at all is a design problem, not a physics problem, and the fix is moving a wall in the World Editor, not a new prompt.
Two variations
Cut and drop
Swap placing for removing: "Each level is a stack of blocks held by ropes and supports. The player taps blocks and ropes to remove them, physics runs live, and the goal is to drop the ball into the basket while keeping a fragile vase on the stack." It is a faster, more reactive game, closer to a one-tap toy.
Draw the line
Instead of a tray, give the player ink: "Draw lines with a finger; each line becomes a solid plank once the finger lifts. The level has an ink limit shown as a bar. Stars for using less ink." Drawing is natural on phones and gives far more freedom, which also makes levels harder to balance, so keep the first ones tight.
What usually goes wrong, and the prompt to fix it
- The ball passes through thin planks. Fast objects skip over thin colliders between steps. Ask: "Enable continuous collision for the ball and make plank colliders at least 0.15 m thick."
- A solution works once and fails the next time. Usually the reset is not exact or the physics does not use a fixed step. Ask the agent to run the same placement 10 times in its test and confirm the ball ends in the same place every time.
- Pieces are hard to place precisely on phones. The finger covers the piece. Ask for the dragged piece to float 60 px above the finger, with a snapping grid of 0.25 m that can be turned off in settings.
- Springs launch things into space. Ask for spring strength as a dial in the Engine panel and a maximum launch speed.
- Players find unintended solutions. Sometimes those are the best part. If one breaks a level completely, ask for that specific fix: "In level 9, a plank can be wedged above the wall; add a ceiling so it cannot."
Scope and sharing
Twelve levels is a real first version: about twenty minutes of play for a newcomer. For a wider look at puzzle design that people finish, see how to make a puzzle game. Publish when the last three levels take you a few tries, then watch someone else play without helping: where they get stuck tells you which level to fix.
Frequently asked questions
Which physics engine should a 2D puzzle game use?
A well-known 2D physics library is enough. You can name one in your brief or let the agent choose and ask it to explain the choice. What matters more is a fixed timestep and an exact reset.
Why do physics puzzles behave differently on different devices?
Usually because the physics steps with the frame rate. Running physics on a fixed step, such as 1/60 s with an accumulator, makes results repeatable across devices.
Can I design the levels myself?
Yes. The first follow-up turns each level into a scene you can edit by hand in the World Editor, where Play runs the level as it is on screen, saved or not.

