DEV Community

Cover image for Wizar devlog 21 - Panning 
 the map
Daniel Neveux
Daniel Neveux

Posted on

Wizar devlog 21 - Panning the map

I added recently a new feature to the map: panning. It is an abvious and small step for the player but it was a complete refactor of the threejs map renderer with an endless queue of issues.
Finally I am quite happy with the result !
Press space and move mouse to pan.
Press mouse and drag to draw.
Press mouse + shift and drag to dig.

Next steps are:

  • optimize tiles loading to get a smoother map translation
  • implement panning on mobile

Top comments (0)