Realms
2026-10-18

MOLLY

A psychedelic sky-island platformer about consequences.

Platformer
Psychedelic
Procedural
Live
The level select is something you take.
Banner
MOLLY

Technical Details

A concept from December 2017

MOLLY 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 frame

There 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 down

The 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 back

Twelve 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 playlist

A 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 it

About 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.

Play in your browser

Full game, free. Keyboard, gamepad or touch. Saves at the start of every day.

Game design: Can Ur (CanPixel)

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.

Realized with Claude Opus 5.5

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.

8 Γ— 3
spices, each with three stages
48
numbers describe how the whole world looks
1
post-FX shader that does every drug
0
image, audio or font files: all of it is code

Since December 2017

  1. Dec 2017
    A drug-fueled experience

    The first note: a slow sandbox platformer on cute sky islands, where the level select is something you take.

  2. 2017 β€Ί 2026
    The 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.

  3. 2026
    Realized 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.

MOLLY: the same island soberMOLLY: the same island on CannabisMOLLY: the same island on AlcoholMOLLY: the same island on LSDMOLLY: the same island on PsilocybinMOLLY: the same island on MDMAMOLLY: the same island on CocaineMOLLY: the same island on DMTMOLLY: the same island on KrokodilMOLLY: the same island in withdrawal
sober

Pick a spice and take it. Or don’t: the game is finishable sober.

Acid Trip

β€œthe world starts breathing.”

double jumpfloaty airrainbow paths
FX vector Β· stage IΓ—1 on distortion
  • 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
vertex shadersky passpost-FX
Hidden addictionno debt
  • 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.

  1. 01
    Base

    Time of day and the biome sky set all 48 numbers.

  2. 02
    High

    Lerp toward the spice: 2.2s to kick in, 2.5s to fade.

  3. 03
    Stage

    Distortion keys scale Γ—1, Γ—1.4 or Γ—1.8 with every repeat dose.

  4. 04
    Cost

    Withdrawal, craving and boss warnings layer on top.

  5. 05
    Draw

    Vertex warps, the sky pass and one post-FX shader read the result.

MOLLY: Sky islands
Sky islands

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

MOLLY: Walking into LSD
Walking into LSD

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

MOLLY: The Cosmic Jester
The Cosmic Jester

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

MOLLY: Eight addictions
Eight addictions

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

MOLLY: Coming down
Coming down

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

MOLLY: Nights at the campfire
Nights at the campfire

Sleep it off, buy a better blade, press poppies into hearts, or dilute an addiction with homeopathy.

Dependency-free JavaScript Β· WebGL2 Β· WebAudio Β· Tauri 2 (Rust) for macOS Β· designed by CanPixel, realized with Claude Opus 5.5

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.

Gallery
Slideshow thumbnail 1
Slideshow thumbnail 2
Slideshow thumbnail 3
Slideshow thumbnail 4
Slideshow thumbnail 5
Slideshow thumbnail 6
Slideshow thumbnail 7
Slideshow thumbnail 8
Slideshow thumbnail 9
Slideshow thumbnail 10
Slideshow thumbnail 11
Slideshow thumbnail 12