PD 직접 발화 "배경 리소스는 맵 가장 하위 레이어에서 항상 반복해서 배치 +
BgImg_1 + 스크롤 맵 배경으로 반복 이어붙여서 재생 + Resource Registry
수정" (2026-05-19) — client-team-lead Opus 단일 Task.
외부 git E:/EerieVillage 4 파일 수정:
- Assets/Scripts/Map/Data/MapResourceCatalog.cs (75→79L)
· `public Sprite backgroundSprite` 단일 슬롯 신규
- Assets/Scripts/Map/Runtime/MapApplier.cs (239→283L)
· ApplyBackgroundLayer 헬퍼·BG_ROOT_NAME 상수
· SpriteRenderer drawMode=Tiled·tileMode=Continuous
· sortingOrder=-1000 (맵 최하위)
· size = (mapWidthInUnits, mapHeightInUnits)
· Apply step 8·Clear DestroyByName 정합
- Assets/Editor/Map/MapResourceRegistryWindow.cs (~+67L)
· F 섹션 신규 — Background Sprite ObjectField + Preview thumbnail
· [Set] / [Clear] 버튼
- Assets/Editor/Map/MapAssetBootstrap.cs (193→200L)
· (9) backgroundSprite ← Assets/Resources/Map/BgImg_1.png 자동 link
MCP 검증 (PD 2026-05-15 정합):
- refresh_unity OK
- read_console Map 관련 에러·warning 0건
- run_tests MapGeneratorTests 15/15 PASS (회귀 0)
- 전체 42건 영역 실패 2건 = BT13 외 (CloneSkillTests T01·PlayerAttackTests
Player_Hit Transition) — 기존 issue·본 작업 무관
client-team-lead 자성: 4-edit batch 1차 col offset 정합 실수 (line 153·197
';' 위치)·즉시 fix·console 0건 정합 복원.
BT 레포:
- spec §17 v1.7 행 추가
- PD 지시 로그 BT13-Dev-Map "Phase 1+2+2.1+ResourceRegistry+배경반복 완료"
갱신
PD 사용법:
1. EerieVillage/Map/Bootstrap Placeholder Assets 클릭 (1회)
→ Console 영역 [Bootstrap] backgroundSprite ← BgImg_1.png 확인
2. EerieVillage/Map/Preview → Config 드래그 → Generate → Apply to Scene
→ Hierarchy 영역 MapBackground GameObject·drawMode=Tiled·
sortingOrder=-1000 확인
3. Play → 스크롤 시 배경 반복
외부 git: PD GitAutoSync 자동 push 위임.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| EerieVillage | ||
| 코어프레임워크 | ||