Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.22 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.22 KB

MapTool_Unity

Tiling system

How to use

  • Open Map Editor window [Tools/MapEditor]
  • Create New Map or load existing map to edit
  • Left mouse button click to paint a block
  • Right mouse button click to erase a block
  • Continues[fast] draw mode, hold shift key & hover mouse cursor over grid it will paint the selected block
  • Continues[fast] erase mode, hold control key & hover mouse cursor over blocks it will remove the block
  • Attach MapBlock script to your tile & put it under Resouces/TileSet folder
  • Map is saved as xml file under Resources/Maps folder
  • Map grid botton left corner is aligned to Zero position world

Note: set scene view to top & ISO (otherwise mouse clicks will not work)

Attach MapBlock script to your tile prefab

Map Tool Editor View

  • 1: Define map dimensions
  • 2: Rotate Last spawned or selected block
  • 3: Type a map name and save it