MOLLY
A psychedelic sky-island platformer about consequences.


Technical Details
A concept from December 2017MOLLY has lived in my design documents since December 2017: a slow sandbox platformer on cute sky islands where the traditional level select is replaced by items you find and choose to take. Highs, comedowns, homeopathy at the campfire, an addiction boss for every substance and a rehab ending were all on those pages. I am the game designer. The game was realized with AI, working from that original design doc, with my direction and playtest feedback through every iteration.
The trip system: one vector, every frameThere is no separate code path per drug. The whole look of the world is a single vector of 48 numbers (saturation, kaleidoscope, chromatic split, tearing, world curvature, twist, plant growth, sky colours, fog, and so on). Every frame it is rebuilt: the time of day and the biome sky set the base, the active spice is blended in with a smooth envelope (2.2 seconds to kick in, 2.5 to fade), its distortion keys are amplified by Γ1, Γ1.4 or Γ1.8 for Stage I, II and III, and withdrawal, craving and boss warnings layer on top. Gameplay works the same way: speed, jump, gravity, air control and damage are multipliers, abilities like floating or pacifying are flags. Taking a different spice mid-high replaces the first one and puts the skipped comedown on your debt, paid all at once when you finally stop.
Rounded boxes all the way downThe WebGL2 renderer draws every object as an instanced rounded box whose bevel stays constant at any size, built in the vertex shader. The scene renders at about 480Γ270 into multiple render targets with shadow mapping and depth and normal pixel outlines, under a sky with a stereographic planet. World warps (breathing, waves, curvature, twist) happen in the vertex shader, and one big post-FX shader does the drugs: hue rotation, kaleidoscope, wobble, chromatic split, double vision, tearing, grain, tunnel vignette, heartbeat pulse and Bayer dithering.
A level generator that never folds backTwelve days across twelve biomes. The generator lays out a winding chain of segments against an occupancy map, so curves and forks never fold back into themselves, then places side islands, spice-only routes and three hidden poppies a day in a second pass. AABB physics with step-up, coyote time, jump buffering and moving-platform carry keeps the platforming tight.
A composer, not a playlistA small WebAudio composer writes a 16-bar song (A Aβ² B Aβ³) per mood, with chord progressions, motif-based melodies that vary and resolve, bass styles, arpeggios, counter-melodies, drum fills and key changes between loops. Every spice has its own mood; withdrawal is a drone and a heartbeat.
Shipping itAbout 6,600 lines of dependency-free JavaScript with no image, audio or font files: every model, texture, sound, song and letter is generated in code. It is wrapped as a native macOS app with Tauri 2 (Rust). Pushing a version tag runs GitHub Actions, which builds a universal .app and .dmg plus the web build you can play here, and publishes a release whose notes come straight from the changelog.
ΓΊ: plant, herb, remedy. The Sumerians used one sign for all three.
A game concept I have carried since December 2017. The spices, the comedowns, the addiction bosses and the rehab ending all started in that design doc.
Built in Claude Code from the original design doc: the WebGL2 renderer, the level generator, the eight bosses, the generative music and the release pipeline.
Since December 2017
- Dec 2017A drug-fueled experience
The first note: a slow sandbox platformer on cute sky islands, where the level select is something you take.
- 2017 βΊ 2026The design doc grows
Spices, comedowns, homeopathy at the campfire, an addiction boss for every substance, and Rehab(it): an ending where the brave thing is asking for help.
- 2026Realized with Opus 5.5
Claude Opus 5.5 turns the concept into a full game, engine and all, with me directing and playtesting every iteration.
Trip lab
The same spot on day 1, captured in-game. Every spice is a list of numbers that the trip system blends into the world each frame. Take the same one again and it goes deeper; take a different one and the comedown you skipped goes on your debt.










Pick a spice and take it. Or donβt: the game is finishable sober.
βthe world starts breathing.β
- psychedelic colour0.85
- breathing world0.75
- rainbow outlines0.75
- sky swirl0.60
- wobble0.55
- waves0.55
- hue cycling0.50
- chromatic split0.50
- saturation1.50
- kaleidoscope0.20
- Cannabis0%
- Alcohol0%
- LSD0%
- Psilocybin0%
- MDMA0%
- Cocaine0%
- DMT0%
- Krokodil0%
The tick is 40%: past it you crave the spice while sober. At 100% it takes a shape.
One vector, every frame
There is no separate code path per drug. The trip system rebuilds a single look vector every frame, and the renderer only ever draws that.
- 01Base
Time of day and the biome sky set all 48 numbers.
- 02High
Lerp toward the spice: 2.2s to kick in, 2.5s to fade.
- 03Stage
Distortion keys scale Γ1, Γ1.4 or Γ1.8 with every repeat dose.
- 04Cost
Withdrawal, craving and boss warnings layer on top.
- 05Draw
Vertex warps, the sky pass and one post-FX shader read the result.

Twelve generated days across twelve biomes. Paths curve, corner and fork into a safe way and a risky one.

Double jump, floaty air and rainbow stepping stones to the sky stashes. The world starts breathing.

Overdo DMT and it takes a shape. It turns gravity off and orbits its weak points around you.

One boss per spice, each built around what that drug does to you. Confront all eight to find the door.

Withdrawal drains the colour, slows you down, and sends the hollows after you.

Sleep it off, buy a better blade, press poppies into hearts, or dilute an addiction with homeopathy.
MOLLY contains depictions of drug use and addiction. It is a game, not advice. If you or someone you know is struggling, talking to someone helps; that is the whole ending.











