Survive the haunting
Play Midnight Manor — free, in your browser
Explore a haunted mansion in this retro overhead adventure. Find keys to unlock doors, discover secrets, and avoid the ghosts and monsters lurking in every shadow. Can you find the escape key and make it out alive?
You wake up outside a locked mansion. Your only way out is to find the Escape Key hidden deep inside.
First, find the front door key somewhere in the yard outside. Use it to enter the mansion. Inside, the mansion is dark — press F to toggle your flashlight.
Explore rooms to find keys that unlock new areas. Each key is color-coded to match its door. Some rooms contain items and clues.
Ghosts and monsters patrol the hallways. They’ll chase you if you get too close. Getting caught costs you health — if it hits zero, it’s game over.
Find the Escape Key and make it back to the front door to win. Your score is based on how many rooms you explored and how fast you escaped.
Midnight Manor loads no picture or sound file. The player, the ghosts, the vampires and the zombies are drawn by the game itself as it starts, a few coloured rectangles at a time, into the sprite sheets it then animates from. Every sound is synthesised on the spot: doors opening, locking and slamming, each kind of monster's attack, the flashlight click, footsteps, a dying battery, thunder, and a looping ambient bed under it all.
The mansion is built the same way. Two floors, each 50 tiles wide, are assembled by code rather than typed out as a fixed grid. Storm lightning flashes the screen at random intervals, and the thunder arrives with it.
A game about not being able to see far has an awkward problem on a big monitor: if the tile stays a fixed size, the window decides how much of the house you get. Measured, a 640 by 480 window showed 20 by 15 tiles and a full-screen 1080p one showed 60 by 34, so the whole floor sat on screen at once with black beyond the edge of the level, and the flashlight and the dark became decoration.
The camera now zooms to keep a roughly constant amount of mansion in view, between 20 and 24 tiles across on every desktop size. It zooms in half steps, because with 32 pixel tiles 1.5 and 2.5 times land on whole pixels and the pixel art stays crisp. The height target is deliberately tighter than the width target: showing too much sideways is what kills the tension, so a short, wide window gives up rows rather than showing more columns.
Zooming the camera turned out to take the health, score, floor and battery readouts with it. Pinning an object to the screen does not exempt it from the zoom, which still scales it about the middle of the view, so a readout placed ten pixels from the left edge of a wide camera at 2.5 times zoom landed more than a thousand pixels off the left side of the screen.
The fix is to run the mapping backwards. Every screen-pinned element remembers where it was authored, and each time the zoom changes it is moved and scaled so that it lands in exactly the same place on screen, at the same size. Elements are recognised by being pinned to the screen rather than by how they are layered, so anything added later is caught too.
The staircase is three tiles wide, and it used to be drawn as three copies of one self-contained tile, each with a banister on both edges, gold posts at all four corners and a carpet runner up the middle. Side by side that read as three narrow staircases, with rails and posts running through the middle of the flight and three parallel runners.
Now the left tile carries only the left rail, the right tile only the right, and the middle carries the runner. Treads run the full width of any edge without a rail so neighbouring tiles join into a single flight, and the game picks the right piece from what is beside it. Any structure drawn as one self-contained tile will show its own edges when it is repeated.
The help text and the reminder strip once named WASD and a row of keys on every device, including a phone, where the controls are a stick and a few labelled buttons. The wording now comes from one place and follows whatever you are using: a touch device sees the stick and the E, F and ? buttons, a keyboard sees the keys, and it switches live if you pick up a mouse or press a key partway through.
A test pins it. In touch mode nothing the game prints may name a key the player cannot press, and the game is checked for having no hard-coded key text of its own.
Midnight Manor is a free browser-based retro horror adventure game where you explore a haunted mansion, find keys, and escape while avoiding ghosts.
Yes, Midnight Manor is completely free to play in your browser with no downloads required.
Yes. On a phone you get a virtual joystick to move plus on-screen buttons for interacting and for the flashlight, so nothing needs a keyboard. Desktop uses WASD with E to interact and F for the light. This answer used to say the game was desktop-only, which stopped being true once the touch controls were added.
You start locked out. The front door key is hidden somewhere in the yard, so the first search happens outside. Once inside, every interior door is colour-coded and opens only to the key that matches it, so progress is a chain: find a key, it opens a wing, that wing holds the next key. The last one is the Escape Key, and finding it is not the end — you still have to get back to the front door with it.
Both, and choosing between them is most of the game. The mansion is dark enough that you will miss keys without it. But ghosts notice the light from considerably farther away than they notice you, so a lit room is a room that has announced itself. Short bursts to read a corner, then off again, is how it is meant to be played.
They walk fixed patrol routes and ignore you until you enter their detection range, at which point they commit. Because the routes are set rather than random they are learnable — a room that killed you once is survivable the third time. Moving fast makes noise and widens that detection range, so hurrying past a patrol is usually worse than waiting for it.
It costs health rather than ending the run outright. Health reaching zero is game over, so you can absorb a mistake or two but not a habit of them. There is no combat — nothing in the mansion can be fought, only avoided.
Yes, and it is the moment the game turns. Enemy activity increases the instant it is in your hands, so the route back is more dangerous than the route in. Working out your exit before you take it is the difference between a finished run and dying with the key.
On how much of the mansion you explored and how quickly you escaped. Those pull against each other on purpose: a dash along the shortest path scores badly on exploration, and a thorough sweep of every room costs time. A good score needs a route that does both.
Also in: Free Halloween Games You Can Play in a Browser · All collections
All 49 free browser games · Collections · About · Updates · Contact · Terms · Privacy