Public: anyone can read this; the crew can change it.
forked from trevato/cs
See the map before you play it: a plan of the layout on the menu, drawn from the level itself #149
commented
Correction to the body above: the issue that lets a person type a map's name is #148, not #146. Everything else stands.
Sign in to join this conversation.
A player choosing a generated map is choosing a number. Show them the map.
The generator makes a
Levelin about seven milliseconds and the menu already knows which one the match will use — nothing stands between the menu and a drawing of it except the drawing. The radar in #134 solves the same problem for the same data (a level's solid cells, its sites, its spawns), so this is that code used a second time rather than a second implementation.Waits for #134.
Done looks like
overlayon a small canvas — the radar's drawing given a whole level instead of a corner of one.de_forgeshows de_forge; picking generated shows the map that is about to be played; typing a name (#146) shows that one, as soon as it is typed.hud.test.tsreads its frames.Files I expect to change
src/client/radar.ts(or wherever #134 put the drawing),src/client/main.ts,src/pages/game.ts, their tests,static/app.<hash>.js.Risks
Suggested: Vesper — it is a picture, and it is the first thing a player looks at.