a step

The hero one square on. The terminal redraws the @.

The terminal shows this in words, not as a letter.
Terminal
No picture of this is on the site yet.
Codex

Builtneeds review7 changes builtSeen all the timeLast touched November 27, 2026: a change of its own was written or changed. Commit 54deadb19.

In the terminal

Silent: the @ is redrawn on the new square, the old square shows what lies there, the map is updated for what the hero now sees, and the cursor rests on the hero. Arriving says what is underfoot ("You see here a dagger.", "There is a staircase down here.", an engraving's text) and entering some rooms gives a message (shops, temples, special rooms: the places surveyor's). A blocked step gives a reason: "You cannot pass through the bars.", "You can't move diagonally out of an intact doorway.", a closed door is opened (autoopen) or "Ouch! You bump into a door." when blind, stunned or clumsy; with mention_walls "It's a wall.". Moving into a monster attacks it (moment.melee); with 'm' into a peaceful one: "Pardon me, <mon>.". Fumbling: "You trip over <a rock>.", "You stumble.".

"Where do you want to travel to?" with getpos (the last travel target preselected; '<' or '>' jumps the cursor to stairs; '_' again confirms), then the hero moves step by step as in running, shown per runmode; "You stop, unsure which way to go." if the path loops; "You are already here."; #retravel (^_) repeats. autodescribe says "(no travel path)" over unreachable squares.

Quotes from NetHack

You cannot pass through the bars.
src/hack.c:1034
7 more quotes
You can't move diagonally out of an intact doorway.
src/hack.c:1212
Ouch! You bump into a door.
src/hack.c:1119
Pardon me, <Fido>.
src/hack.c:1942
It's <a wall>.
src/hack.c:1069, mention_walls; the map symbol's name
Where do you want to travel to?
src/cmd.c:5333
You stop, unsure which way to go.
src/hack.c:1411
(no travel path)
src/getpos.c:658

Decisions

Stepping diagonally into a wall slides you along it.

Codex draws it
Full text

Sliding along walls: ↑ diagonally into a wall sends the open sideways step and keeps the diagonal facing (slide_along_walls).

Backlog decisions: D-20

Notable moments animate, from the player's keys and the map alone.

Codex draws it
Full text

Notable moments animate (stairs, kicks, doors, corners, squeezes), derived only from the player's keys and what the map shows.

Backlog decisions: D-13

In Codex

A step slides the hero from one square to the next instead of jumping.

BuiltTransition

Details

A step glides: the hero (and the camera with them) moves from square to square along a short path instead of jumping, eased by the move motion style (a critically damped spring by default), its speed carried over from one step to the next so held keys read as walking; diagonals as natural as orthogonal steps. The terminal redraws the '@' one square over.

Id
codex.glide
Exact state
Built
Playtests
gallery-dark-corridor, gallery-doors
Settings
camera.stepping_feel, camera.step_snappiness, camera.step_seconds, camera.step_smoothing
Code
crates/nh-moments/src/command.rs, crates/nh-plays/src/hero/motion.rs, crates/codex-client/src/pov.rs

A turn or step can start gently and settle, sweep evenly, cut instantly, or lurch and then crawl.

BuiltCamera or view

Details

How turning and moving are eased, one of four styles for each (turning_feel, stepping_feel): spring (a critically damped spring, the default: starts gently, settles without overshoot, holding a turn key turns smoothly), ease (the same sine ease-in-out sweep every time, turn_seconds and step_seconds), snap (an instant cut like the classic grid crawlers) or exponential (the first version: lurches, then crawls to a stop). The director has not picked a default yet (N-19).

Id
codex.motion_style
Exact state
Built
Playtests
journey-game
Settings
camera.turning_feel, camera.stepping_feel, camera.turn_snappiness, camera.step_snappiness, camera.turn_seconds, camera.step_seconds, camera.turn_smoothing, camera.step_smoothing
Code
crates/nh-plays/src/smooth.rs
N-19DoneDirector chooses a default turn style (turn_motion).

A diagonal step past a corner curves through the open square beside it, not through the wall.

Builtneeds reviewTransition

Details

A diagonal step past a corner curves through the open square beside it (a quadratic path whose control point is in the open square) instead of cutting through the wall's corner. It bends only when the other square is shown as wall, stone or tree; never into a boulder's or a statue's square (the step goes straight past it, as NetHack lets it outside Sokoban); and half as far past a creature, so its letter and the hero's stay apart in every view; in first person, where no letter of the hero's is drawn, the eye takes the whole bend, which keeps it out of the rock's corner. Past a boulder the rock's own corner is cut back to make the room (codex.squeeze_slit).

Id
codex.round_corners
Exact state
Built, not reviewed
Playtests
diagonal-steps
Settings
camera.round_corners
Code
crates/nh-plays/src/hero/motion.rs
V-3Built, not reviewedDiagonal step past a corner curves through the open square.

Stepping diagonally into a wall or door, the hero slides sideways to the open side instead.

BuiltCamera or view

Details

Sliding along walls (D-20): up pressed while facing diagonally into something the map shows you cannot enter diagonally (a wall, a door, or out of an open door) sends the sideways step toward whichever side is open instead, and keeps the diagonal facing. It reads the terminal's own rule that doors are not entered or left diagonally from the map, and only changes which key the arrow sends.

Id
codex.slide_along_walls
Exact state
Built
Playtests
journey-game
Settings
controls.slide_along_walls
Code
crates/nh-site/src/lib.rs, crates/codex-client/src/input.rs
V-12DoneSlide along walls.

Squeezing between two wall corners, the hero's letter turns edge-on and slips through the gap.

Builtneeds reviewTransition

Details

Squeezing diagonally between two walls that touch only at their corners, where NetHack's diagonal is tight (hack.c test_move, bad_rock: both squares beside it rock, wall or tree): the hero's letter turns edge-on on the squeeze's own clock (squeeze_seconds; a quarter turn eased in over its first 40% and out over its last 40%, edge-on through the slit) and slips through the slit the walls leave (squeeze_slit_width). From high up (the director's view and the map) the turn fades out and the letter stays upright toward the camera: a quarter turn of a letter lying back would only turn it sideways. A side never shown (blind) is no wall, so the step goes straight.

Id
codex.squeeze
Exact state
Built, not reviewed
Playtests
diagonal-steps
Settings
camera.turn_edge_on_to_squeeze, camera.squeeze_seconds, dungeon.squeeze_gap
Code
crates/nh-plays/src/hero/motion.rs, crates/nh-knobs/src/camera/squeeze.rs
V-4Built, not reviewedSqueeze between two walls:

Two walls touching only at their corners are cut back so the slit between them shows the way.

Builtneeds reviewCamera or view

Details

Where two walls touch only at their corners and both squares beside the corner are open, a diagonal NetHack counts as tight but lets the hero through (hack.c test_move, bad_rock), each of the two corners is cut back along its faces by a narrow upright face, so the slit between them is squeeze_slit_width across (0.4 of a square) instead of the hairline squeeze_gap leaves: from first person the way through reads before the step, and the eye slips through without touching the stone. The walls' bumps fade out near the cut, so the slit is as wide as drawn, and the camera's walls are cut the same way (it neither leaps nor clips there). A rock corner diagonal to a boulder or a statue, both squares beside it open, is cut the same way: NetHack lets the step past it (a boulder is rock only in Sokoban, hack.c bad_rock) and the boulder fills its square, so the rock's own corner makes the room. Only those corners; every other corner and the grid as they were. It stays far narrower than an open diagonal (1.4 across).

Id
codex.squeeze_slit
Exact state
Built, not reviewed
Playtests
diagonal-steps
Settings
dungeon.squeeze_slit_width
Code
crates/nh-scene/src/mesh/shell.rs, crates/nh-scene/src/build/terrain.rs, crates/nh-knobs/src/dungeon/squeeze_slit.rs, crates/nh-plays/src/shot/pose/walls.rs, crates/nh-scene/src/paintings.rs
V-4Built, not reviewedSqueeze between two walls:

The camera rises and falls once with each step.

BuiltCamera or view

Details

A step bob: the eye and the camera rise and fall once per step by bob_while_walking, zero at rest.

Id
codex.step_bob
Exact state
Built
Playtests
gallery-dark-corridor
Settings
camera.bob_while_walking
Code
crates/nh-plays/src/shot/pose.rs
Applies to everything on the map (2)
  • The hero faces one of eight ways, changed by turning, stepping, aiming or attacking.
  • Up steps forward, down steps back, and left and right turn in place without using a game turn.

Accepted pictures and playtests

Playtests: gallery-dark-corridor, gallery-doors, journey-game, diagonal-steps

Details for builders

Id: step. Lexicon subjects: moment.step, moment.travel.

Design notes from NetHack

No message of its own: the @ is redrawn one square on and the map updated; arrival messages say what is underfoot.

Backlog rows

N-19DoneDirector chooses a default turn style (turn_motion).
V-3Built, not reviewedDiagonal step past a corner curves through the open square.
V-12DoneSlide along walls.
V-4Built, not reviewedSqueeze between two walls: