PD 보고 "맵을 선택하고 실행해도 배경 맵이 로테이션 되지 않는거 같아" (2026-05-19) — 본 PM 직접 진단·fix. 진단: - Sprite pivot = (0.5, 0.5) center (BgImg_1.png.meta 확인) - 기존 ApplyBackgroundLayer position = (0, minGroundY-6, 10) - 결과: 배경 sprite 영역 x ∈ [-60, +60] (lengthTiles=120 기준 size 영역) - 지면 영역: x ∈ [0, lengthTiles] (GroundPlanner.cs 영역 확인) - 맵 우측 절반 (x=60~120) 영역 배경 없음 → Player 우측 이동 시 빈 화면 fix (MapApplier.cs ApplyBackgroundLayer): - position.x = lengthTiles * 0.5f (맵 중심) - position.y = (maxGroundY + minGroundY) * 0.5f + 6f (점프 영역 상단 여유) - position.z = 0f (sortingOrder=-1000 영역 transparency sort 우선) - heightUnits = (maxGroundY - minGroundY) + 6f + 24f (지면 두께 6 + 점프 도달 H_max 11.24m × 2 여유) - minGroundY 초기값 0 → groundSurfaceY[0] 정합 (지면이 양수 영역만 있을 때 minGroundY=0 영역 음수 영역 인식 미흡 fix) MCP 검증: - refresh_unity OK - read_console MapApplier 필터 에러 0건 - run_tests MapGeneratorTests 15/15 PASS (회귀 0) BT 레포: - spec §17 v1.8 행 추가 외부 git: PD GitAutoSync 자동 push 위임. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| EerieVillage | ||
| 코어프레임워크 | ||