Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 541 Bytes

File metadata and controls

16 lines (13 loc) · 541 Bytes

overworld-map

Renders a map that a player can navigate in into the console. Intended to be used in other functions.

Can be easily modified to change:

  • Grid size (X,Y)
  • Player starting location (X,Y)
  • Wall character (default: /)
  • Player sprite (default: @)
  • Unexplored tile sprite (default: ?)
  • Default grid tile (default: ')
  • Default exploration state (default: all unexplored)
  • Movement type (Cardinal, WASD, Numpad, Numpad w/ diagonal)

Rendering and Movement performed in different functions. Grid stored as vector of vectors