타워 디펜스 게임 맵을 생성하고 관리하기 위한 단일 파일 HTML 그리드 에디터입니다. .ini 형식의 맵 파일과 함께 작동하도록 설계되었습니다.

주요 기능

빠른 시작

  1. 웹 브라우저에서 grid-editor.html을 엽니다.
  2. 새 맵을 만들거나 기존 .ini 파일을 불러옵니다.
  3. 타일 팔레트로 그리드에 색칠하듯 타일 배치.
  4. 그리드 크기(가로 × 세로) 설정.
  5. 경로를 자동 또는 수동으로 생성.
  6. localStorage에 저장하거나 .ini/.json 파일로 내보내기.

.ini 포맷 구조 (요약)

[Meta]
GridWidth=19
GridHeight=10
TileWidth=300
TileHeight=300
Default=BLOCKED

[ClassMap]
TURRET1=/Game/01Blueprints/Tile/Tiles/BP_Tile_Turret_Forest_Stone1...
PATH=/Game/01Blueprints/Tile/Tiles/BP_Tile_Path_Default...
BLOCKED=/Game/01Blueprints/Tile/Tiles/BP_Tile_Blocked_Default...
SPAWN1=/Game/01Blueprints/Tile/Tiles/BP_Tile_EnemySpawner...
RUNE=/Game/01Blueprints/Tile/Tiles/BP_Tile_CoreRune...

[Grid]
Row0=BLOCKED,BLOCKED,BLOCKED,...