billstclair / elm-jsmaze

A simple networked maze game
MIT License
5 stars 0 forks source link

Maze editor #1

Open billstclair opened 6 years ago

billstclair commented 6 years ago
  1. Requires persistence, of the view and of the maze being edited.
  2. Click on the little overview to make it the primary view.
  3. Click there to be offered a switch into editing mode. You'll be editing the "temp" maze at that point. "Save" button allows you to name it. Movement still active, and 3D view shows as tiny rectangle to the left of the movement buttons. Click on any wall segment to toggle it.
  4. This will show problems in the simple rendering algorithm, but c'est la guerre.
billstclair commented 6 years ago

Persistence done. bfb98d9a

billstclair commented 6 years ago

This is working now, except it edits only the current maze. No offers to name. I'm going to wait for the server for that.

I would also like to add "shift click" to draw a line from the last clicked row/col to the click location, going around a corner if that makes sense. This probably implies an undo button. Might also want control-click to act like an eraser and allow dragging around.