Skip to content
AI Primer
workflow

Amir Mushich builds a browser game with Blender depth passes and LTX sprites

Amir Mushich published a playable game, its code and assets, using Blender depth passes to guide LTX sprite animation. His production log reports 36 takes and 43 GPU minutes.

6 min read
Amir Mushich builds a browser game with Blender depth passes and LTX sprites
Amir Mushich builds a browser game with Blender depth passes and LTX sprites

TL;DR

  • Street Courier is playable in a browser, with code, assets and a tutorial shared in the launch thread.
  • Blender depth guides LTX-2.5 animation, while Nano Banana supplies the character’s appearance in the character workflow.
  • The build reached 36 video takes and 43 GPU minutes, according to the production log, with Claude Code combining the tools.

Blender exports the hand positions for parcel catches. Shop windows are little animation loops cut from otherwise stationary buildings, and even the final R in COURIER runs off on legs.

Street Courier

Amir Mushich’s free browser game follows a courier who jumps, bounces off shop awnings and throws parcels to waiting residents. Grey houses turn to colour when their deliveries arrive.

The published controls are:

  • Space or tap: jump.
  • X: throw a parcel.
  • M: toggle music.

Mushich started with rooftop running, then moved the action onto a street with stairs and awnings. He tested movement against grey-box geometry before adding finished art, as he describes in his concept walkthrough.

From Blender motion to sprite sheets

Mushich published the full character pipeline, including the pleasantly unglamorous sprite cleanup:

  1. Animate the mannequin. A grey character runs in place in Blender, viewed through an orthographic side camera. Each frame gets a clay render and a depth render.
  2. Paint one style frame. Nano Banana repaints the first clay frame into the finished courier against chroma green. That image anchors the face and clothing across takes.
  3. Generate the animation. LTX-2.5 starts from the painted image and follows the depth video through Union Control IC-LoRA, which guides pose and size.
  4. Pack the sprites. The cleanup process chroma-keys the background, selects the cleanest loop, samples every second frame and aligns the feet to a common baseline. pipeline/scripts/make_sheet.py packs the result into a PNG sheet and JSON descriptor.

LTX settings and sharper run cycles

Mushich ran the generation workflow in ComfyUI on Comfy Cloud with these settings:

  • Model: LTX-2.5 22B distilled.
  • Motion control: Blender depth video through Union Control IC-LoRA.
  • Appearance reference: the style image as frame one.
  • Length: 121 generated frames.
  • Resolution: 1024 × 576, upscaled to 2048 × 1152.
  • Reported compute: approximately 60 GPU seconds per take.

Every Blender clip begins on the run’s first pose, allowing the same painted image to open each LTX take. Mushich reported sharper legs after slowing the Blender cycle to 30 frames per stride and adding “crisp, no motion blur” to the prompt.

Three parallax layers

Nano Banana painted a composition of grey blocks into rooftops. Mushich then requested three edited versions:

  1. Sky.
  2. Far city.
  3. Near row.

Comparing edits pixel by pixel produced clean cutouts for separate parallax layers.

Window loops and street props

For animated windows, LTX received the painted building, its depth and the same picture pinned as both first and last frame. Mushich then cut each window out as an independent loop, including waving gloves and steaming bread.

Other assets followed a few variations:

  • Cars: six grey Blender boxes fixed size, placement and the road’s slant before becoming vehicles styled as the street’s “shops on wheels,” according to the car breakdown.
  • Animals and loose objects: Nano Banana supplied images, LTX animated them, and Claude integrated them into the game, as described in the asset breakdown.
  • Small environmental motion: flowers sway above stationary boxes, steam rises from manholes and newspapers drift in gusts in the street-detail demo.

Hand targets and planted feet

Blender supplied alignment data as well as animation:

  • Parcel catches: recipient animations include waiting and catching. Blender exports their hand positions on every frame so the delivered box meets their hands.
  • Walking speed: passers-by walk in place with a defined stride. Their movement through the game matches that stride, preventing their feet from sliding along the pavement.

For the grandmother sprite, a flat green background and “no ghosting of the hands” helped keep the cutout clean. Her published prompts also specify empty hands, a stationary orthographic camera and no cast shadow.

Audio-only ambience

LTX-2.5 generated the street ambience and the first music loop in audio-only mode.

The repository’s audio credits identify ElevenLabs for effects and Lyria for the final music, so LTX’s initial loop was only one part of the finished soundtrack.

Five-prompt compositing

Mushich also published a separate compositing experiment made without video-editing software. Its ingredients were:

  • Claude Code.
  • Five prompts.
  • One yellow-toned iPhone video.
  • The LTX API.

He said in an earlier post that he used to charge thousands of dollars for comparable work. His other browser experiments include an explorable Korn European tour experience built around memories of the tour.

Production totals, code and asset rights

Mushich released the code and prompts alongside a production log reporting:

  • 38 iterations, counted as his prompts.
  • 36 LTX-2.5 takes on Comfy Cloud.
  • 43 minutes of GPU time.
  • Canvas 2D in a browser page, with no game engine.
  • Claude Code for coding and combining the tools.
  • 1,584 Claude tool calls.

Mushich separately lists 30 takes for the street in the README. The 43-minute figure measures GPU usage; he said the project took “quite some time” in a reply.

The repository provides:

  • game/: the deployed game and assets.
  • pipeline/scripts/: Blender, generation and cleanup scripts.
  • pipeline/prompts/: prompts for video takes and repaints.
  • pipeline/workflows/: LTX-2.5 workflows in ComfyUI API format.

The static game has no build step. Its documented local launch is:

Lightricks also publishes the LTX-2.5 weights and ComfyUI nodes. Mushich’s pipeline scripts carry machine-specific default paths and read API keys from environment variables.

The licence splits code from creative assets: code is MIT; art and audio are CC BY-NC 4.0, with the credit “Street courier by Amir Mushich.”

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 9 threads
TL;DR1 post
Street Courier1 post
From Blender motion to sprite sheets1 post
LTX settings and sharper run cycles1 post
Window loops and street props3 posts
Hand targets and planted feet1 post
Audio-only ambience1 post
Five-prompt compositing2 posts
Production totals, code and asset rights3 posts
Share on X