30 November · Harder Battles and 3D

Choosing the 3D look and its moving camera

Three browser tests led to the final choice: 3D models drawn like sprites from an old handheld console, with a camera that moves with you. Punches could now be thrown facing the phone.

The goal

The developer wanted the view to change with their body. Stepping sideways should move the camera, and crouching should lower it. They also wanted to choose one clear look for Battles.

What was tried

The first moving camera slid the painted shore's layers. On the phone, it followed a face held close but hardly reacted at playing distance. It had remembered the player's starting place while the phone was still in their hand. After a fix, it ignored close-up faces and moved more, but it was still too subtle from afar.

Claude then collected pictures of other games and grouped them into four directions. The developer picked a 3D duel seen from behind the hero, so Claude built it as a browser test. A second test had flat, pixelated figures on the painted shore. The third put that pixel look in a real 3D scene, with shadows and depth. The developer liked its chunky, old handheld-console version. Its camera moved on its own, so that was changed to follow only the player.

What went wrong

In the main game's browser version, a phone test first showed both the old and new crabs, then only the old one. Claude's first fix was a guess and didn't explain the problem. It then added a message showing whether the 3D models had loaded. Other phone tests found the hero behind the crab during a stomp, with lane lines drawn over the hero.

Punches had meant turning away from the phone, which didn't feel good. For punches thrown straight at the phone, the camera saw only a small change in distance. Claude used one of the developer's own test recordings of body points to change the rules, and the replay counted more punches. On 1 December, more of the developer's recordings showed that some had been counted twice. A close-up for the whole punch phase also never worked in the 30 November version, because a mistake in the code had turned it off.

What shipped

The look, player-led camera and forward punches went into the game on 30 November. Claude also built all eight of its ideas for bigger effects. The next update covers the rest of the monsters and places.

The 30 November Battle. The view drops during squats, then the hero runs in to punch. With the camera off, the game plays itself.Recaptured from the version of 30 November
The first 3D test, with cartoon, plain 3D and pixel versions, then an attack and a punch.
The first 3D test, with cartoon, plain 3D and pixel versions, then an attack and a punch.Made at the time, 30 November
The second test: flat, pixelated figures on the painted shore.
The second test: flat, pixelated figures on the painted shore.Made at the time, 30 November
The third test combined the pixel look with a real 3D scene. The scenery was only for testing.
The third test combined the pixel look with a real 3D scene. The scenery was only for testing.Made at the time, 30 November
The camera when standing, stepping to the right and crouching.
The camera when standing, stepping to the right and crouching.Made at the time, 30 November
A problem in the first version inside the game: during a stomp, the hero was drawn behind the crab.
A problem in the first version inside the game: during a stomp, the hero was drawn behind the crab.Made at the time, 30 November
Read the 18 prompts