AI/Unity

타워 디펜스 만들기 - 맵 이미지 프롬프트

blacknabis 2026. 3. 1. 17:19
반응형

기존에 사용했던 맵

이제 어느정도 작업이 되었기 때문에 스테이지 제작 단계에 들어갈 필요성을 느꼈습니다.

맵은 오브젝트가 없는 배경이미지와 오브젝트들을 타일형태로 추가해서 aseprite를 사용하여 배치하던가 별도의 툴을 만들어서 배치 해볼까 고민중입니다.

Google Flow를 이용하여 만든 맵 배경이미지들
맵 배치에 들어갈 오브젝트들

그리고 AI프롬프트입니다.

킹덤러쉬 맵 배경 이미지 AI 프롬프트 가이드

이 문서는 이미지 생성 AI(Midjourney, Stable Diffusion 등)를 사용하여 킹덤러쉬(Kingdom Rush) 스타일의 타워 디펜스 맵 배경(아트워크)을 생성할 때 사용하는 프롬프트 지침입니다.

🎨 맵 디자인 핵심 가이드라인

  • 비주얼 & 아트 스타일 (Visual & Art Style)
    • 스타일: 2D 탑다운 아이소메트릭(Top-down Isometric), 카툰 렌더링(Cartoony), 수작업 느낌(Hand-drawn style).
    • 선(Line): 기계적인 타일이나 격자(Grid) 형태를 피하고, 부드러운 외곽선(Smooth outlines)과 깔끔한 벡터(Vector graphic) 느낌 사용.
    • 색감: 화사하고 다채로운(Colorful, Vibrant) 색깔.
  • 구도 및 레벨 구조 (Composition & Level Design)
    • 길(Path): 유닛들이 이동하는 넓고 굽은 흙길(Winding dirt paths)과 자연스러운 곡선.
    • 지형 병목: 길이 교차하는 지점(Crossroads)이나 자연스러운 병목 현상(Choke points)이 나타나도록 구성.
  • 배경 요소 (Background & Environment)
    • 배제 요소: (중요) 게임 내 타워가 배치될 공간이나 유닛의 스폰 위치 등은 인게임에서 처리할 예정이므로 이미지 생성 단계에서는 건설 슬롯용 원형 마커, UI 요소, 스폰 포인트 마커 등을 철저히 배제합니다.
    • 순수 배경: 유닛의 가시성을 방해하지 않는 깔끔한 환경(Clean UI-friendly background).

🚀 상황별 통합 AI 프롬프트 (그대로 복사해서 사용)

맵의 '길(Path)' 구조와 '테마(Theme)'가 모두 결합된 완성형 프롬프트입니다. 원하는 형태의 프롬프트를 복사하여 바로 사용하세요.

1. 기본 단일 경로 (Single Path) - 평화로운 숲(들판) 테마

A 2D top-down isometric view of a tower defense game map background, cartoony and hand-drawn style, clean vector graphic art, colorful and vibrant with smooth outlines. A SINGLE, continuous, dynamic, winding dirt path entering from one edge of the canvas and exiting from another, no rigid grids. Do NOT include any trees, forests, buildings, houses, farms, circular building slots, spawn points, or UI elements; keep it strictly as an empty natural terrain background. Natural choke points along the path. Surrounding environment filled with wide open green grassy plains, small wooden bridges, rocks and small bushes, clean UI-friendly background, Kingdom Rush art style --ar 16:9 --no UI, building slots, spawn points, markers, circles, grids, houses, buildings, farms, fences, trees, forests, woods, multiple paths, branching paths, intersections, crossroads, forks, shadows, drop shadows

2. Y자형 분기/합류 (Split & Converging Paths) - 설산 테마

A 2D top-down isometric view of a tower defense game map background, cartoony and hand-drawn style, clean vector graphic art, colorful and vibrant with smooth outlines. Dirt paths that split into two separate routes early on and converge back into a single path near the end, no rigid grids. Do NOT include any trees, forests, buildings, houses, farms, circular building slots, spawn points, or UI elements; keep it strictly as an empty natural terrain background. A strong natural crossroads choke point where paths meet. Surrounding environment filled with a snowy mountain pass, frozen rivers, and icy caves, cold blue and white tones, clean UI-friendly background, Kingdom Rush art style --ar 16:9 --no UI, building slots, spawn points, markers, circles, grids, houses, buildings, farms, fences, trees, forests, pine trees, shadows, drop shadows

3. 다중 입구 및 독립된 경로 (Multiple Entry Points & Independent Paths) - 화산/황무지 테마

A 2D top-down isometric view of a tower defense game map background, cartoony and hand-drawn style, clean vector graphic art, colorful and vibrant with smooth outlines. Multiple independent dirt paths starting from different edge entry points and leading to completely different areas or converging late, no rigid grids. Do NOT include any trees, forests, buildings, houses, farms, circular building slots, spawn points, or UI elements; keep it strictly as an empty natural terrain background. Surrounding environment filled with a volcanic wasteland, cracked dark earth, lava streams, and craters, dark red and grey tones, ominous atmosphere, clean UI-friendly background, Kingdom Rush art style --ar 16:9 --no UI, building slots, spawn points, markers, circles, grids, houses, buildings, farms, fences, trees, forests, dead trees, shadows, drop shadows

4. 우회로 및 던전 터널 포함 (Paths with Hidden Tunnels/Bypass) - 해안/항구 테마

A 2D top-down isometric view of a tower defense game map background, cartoony and hand-drawn style, clean vector graphic art, colorful and vibrant with smooth outlines. Dynamic winding dirt paths where a section of the path visually dips underground into a hidden tunnel or cave, emerging further down the route, no rigid grids. Do NOT include any trees, forests, buildings, houses, farms, circular building slots, spawn points, or UI elements; keep it strictly as an empty natural terrain background. Surrounding environment filled with tropical coastal beaches, wooden docks, abandoned pirate ships, and clear blue water, clean UI-friendly background, Kingdom Rush art style --ar 16:9 --no UI, building slots, spawn points, markers, circles, grids, houses, buildings, farms, fences, trees, palm trees, forests, shadows, drop shadows


🏗️ 맵 오브젝트(Props) 개별 생성 프롬프트 (건물, 바위, 나무 등)

위의 배경 맵 생성 프롬프트와 조합하여 에디터에서 자유롭게 배치할 개별 맵 오브젝트 장식물(Props)을 생성하는 방법입니다.

배경을 투명화(누끼)하기 쉽도록 순백색 배경(Solid white background)에 오브젝트만 생성하는 것이 핵심입니다. 다양한 오브젝트를 하나의 시트(Sprite Sheet) 형태로 출력해서 잘라서 쓰는 것을 추천합니다.

특징 및 가이드

  • 시점 일치: 배경 맵과 시점을 동일하게 맞추기 위해 2D top-down isometric view 키워드는 유지합니다.
  • 분리 용이성: isolated on a solid white background 키워드 설정
  • 그림자 제거: 그림자가 겹치는 문제를 막고 투명화(누끼) 작업 시 깔끔하게 잘라내기 위해 그림자를 완전히 제거합니다. 유니티 엔진 내에서 별도의 방식으로 그림자를 처리하는 것이 효율적입니다.

🏠 프롬프트: 다양한 마을 건물/집 (House & Buildings)

A collection of separated 2D game props, top-down isometric view. [테마 입력: e.g., Medieval fantasy small wooden houses, farmers thatched cottages, small barns]. Cartoony and hand-drawn style, clean vector graphic art, colorful and vibrant with smooth outlines. Isolated on a solid pure white background. Arranged neatly as a sprite sheet, no overlapping, Kingdom Rush art style --ar 16:9 --no shadows, drop shadows, background, environment, terrain, paths

🌳 프롬프트: 자연물 장식 (Trees, Rocks, Bushes)

A collection of separated 2D game props, top-down isometric view. [테마 입력: e.g., Pine trees of various sizes, large mossy boulders, berry bushes, small wooden fences]. Cartoony and hand-drawn style, clean vector graphic art, colorful and vibrant with smooth outlines. Isolated on a solid pure white background. Arranged neatly as a sprite sheet, no overlapping, Kingdom Rush art style --ar 16:9 --no shadows, drop shadows, background, environment, terrain, paths



🎯 킹덤러쉬 방식 강력 추천 가이드: "통짜 배경 + 개별 프롭 배치" (Hybrid Method)

킹덤러쉬처럼 자연스럽고 역동적인 길을 표현하려면, 조각난 타일맵(Tilemap)이나 마름모 형태의 깍두기 아이소메트릭 블록 방식을 사용하는 것은 지양해야 합니다. 타일 방식으로 길을 이으면 특유의 둥근 느낌이 죽고 뚝뚝 끊기며 반복적인 패턴이 보이기 때문입니다.

가장 빠르고 퀄리티 높은 레벨 디자인 방법은 다음과 같습니다:

  1. 지형/길 생성: 1~4번 프롬프트를 사용해 나무나 건물이 없는 "굽은 길이 포함된 맵 전체 배경 1장(통짜)"을 생성합니다.
  2. 사전 보정 (Optional): 생성된 배경 이미지에서 길과 너무 가깝거나 타워 슬롯을 가리는 방해물(바위 등)이 섞여나왔다면, 포토샵 도장이나 AI 지우개 기능으로 살짝 지워 잔디밭으로 덮습니다.
  3. 개별 오브젝트(Props) 준비: 위의 🏠 건물🌳 자연물 장식 프롬프트로 유닛을 가리거나 배치될 집, 큰 나무, 바위 세트를 흰 배경으로 뽑고 누끼를 따서 스프라이트로 만듭니다.
  4. 유니티에서 조립: 유니티 씬에 "통짜 배경 이미지" 1장을 맵 베이스로 깔고, 그 위에 "개별 오브젝트(Props)"들을 얹습니다.
    • 적들이 이 오브젝트 뒤로 걸어갈 때 완벽한 뎁스(Z-Sorting) 효과를 줄 수 있습니다.
    • 타워 건설 슬롯 공간을 철저하게 통제할 수 있습니다.
    • 다채로운 에셋 재활용이 가능해집니다.
반응형