MMC

Explorable 3D world in the browser · 2026

Crimson Keep

A medieval castle in 3D to explore in first person, inside and out: seven inhabitants to talk to, and one click that flips the world from bright sun to a blood-red vampire night.

Chapter select

  1. Chapter 1The briefThe project in a few linesTo discover
  2. Chapter 2GameplayWhat the app does, feature by featureTo discover
  3. Chapter 3The numbersThe results screenTo discover
  4. Chapter 4Behind the scenesRole, period, platforms and stackTo discover
  5. Chapter 5Photo modeEvery screenshot, full sizeTo discover
  6. Chapter 6TrophiesWhat was achieved on this projectTo discover
  7. Chapter 7CreditsWho did whatTo discover
Chapter 1

The brief

An exploration game that runs in the browser with nothing to install and no backend: walk through the gatehouse, cross the courtyard, climb the keep up to the roof or go down to the crypt. Everything is generated in code, from the terrain to the sounds: the game loads no 3D model, no image and no audio file.

Chapter 2

Gameplay

  • A keep you can visit from cellar to roof: great hall with a throne, feast table, fireplace and chandelier, kitchen, bedroom and study upstairs, a battlemented roof through a hatch, and a crypt with an open coffin.
  • Curtain walls with a walkable wall-walk, 4 corner towers, a gatehouse with a portcullis, a stable and a well, set in a 1 km² procedural terrain with lakes, forests and snowy peaks.
  • Seven inhabitants and 43 lines of dialogue that change with the weather: patrolling guards, one of them on the wall-walk, villagers who head indoors when the sky turns red, and Lord Valdric, who only shows up on the vampire night, red-eyed.
  • Four moods, from the keyboard (1 to 4) or with one click, blended over about 2.5 s: sunny, cloudy, rainy (4,200 drops animated on the GPU, lightning, delayed thunder) and vampire (blood-red sky, moon, bats, red mist, red windows).
  • No downloaded files: textures drawn with Canvas, sky and rain in GLSL shaders, low-poly characters built in code, sounds synthesized with Web Audio (wind, rain, thunder, footsteps, voices, a night drone).
  • Built to stay smooth: castle geometry merged per material, 2 draw calls per character, instanced vegetation, and the resolution drops automatically if the game falls below 42 frames per second.
  • First-person controls (pointer lock, with an automatic drag-to-look fallback), a sprint that widens the field of view, jumping, a live minimap and a world map (M key).
Chapter 3

The numbers

1 km²of world to roam
EngineThree.js 0.166 + Vite 5
World1 km², explorable castle
Inhabitants7, one of them a vampire
WeatherSun, clouds, rain, vampire
Asset filesNone, everything is generated in code
Chapter 4

Behind the scenes

Role
Creator, solo developer
Organization
Personal project
Period
July 2026
Platforms
Web
Status
Personal project

Tech stack

JavaScriptThree.jsWebGLGLSLWeb AudioCanvasVite
Chapter 5

Photo mode

Chapter 6

Trophies

Crimson Keep

Web · 3 trophies

111100% earned
  • Blood moon

    Flip a whole 3D world from bright sun to a blood-red vampire night with one click.

    Gold
    Very rare · Earned July 2026
  • Handmade

    Build the castle, its people, textures and sounds in code alone, with no downloaded files.

    Silver
    Rare · Earned July 2026
  • Night visit

    Meet Lord Valdric, who only shows up under the red sky.

    Bronze
    Common · Earned July 2026
Chapter 7

Credits

A production by

Personal project

Design and development

Mohamed Melek Chtourou

Role

Creator, solo developer

Period

July 2026

Tech stack

JavaScript · Three.js · WebGL · GLSL · Web Audio · Canvas · Vite

Thanks for playing

Other games