feat(BT13-Dev-Map 배경 반복): Sprite 등록·맵 최하위 레이어 Tiled 반복 배치
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>
This commit is contained in:
parent
5dce259d9c
commit
4055e697b0
File diff suppressed because one or more lines are too long
|
|
@ -1164,6 +1164,7 @@ EerieVillage `E:/EerieVillage/Assets/Editor/GitAutoSync/` 영역 영향 X (별
|
||||||
| 2026-05-18 | v1.4 — Bootstrap baseEnemyPrefab 자동 link (잔여 (가) PM 직접 처리) | PD "결정해야할 안건 없으면 후속 작업 바로 진행해" + 본 PM 자율 처리 — MapAssetBootstrap.cs §1-A 영역 Enemy.prefab 자동 link·MCP run_tests Map 15/15 Passed (0.27s) | 총괄PM (pm-general) |
|
| 2026-05-18 | v1.4 — Bootstrap baseEnemyPrefab 자동 link (잔여 (가) PM 직접 처리) | PD "결정해야할 안건 없으면 후속 작업 바로 진행해" + 본 PM 자율 처리 — MapAssetBootstrap.cs §1-A 영역 Enemy.prefab 자동 link·MCP run_tests Map 15/15 Passed (0.27s) | 총괄PM (pm-general) |
|
||||||
| 2026-05-18 | v1.5 — MapResourceRegistryWindow 신규 EditorWindow (Sprite→Tile·GameObject→Prefab 자동 변환 + Catalog 등록) | PD 직접 발화 "맵 리소스를 프리팹화 하는것도 툴에서 진행할 수 없을까?" + client-team-lead Opus Task 단일 구현 — Assets/Editor/Map/MapResourceRegistryWindow.cs 514 라인 신규·5종 기능 (A Sprite→Tile·B GameObject→Prefab·C 기존 Asset 직접 등록·D Catalog 미리보기·E 단일 slot)·메뉴 EerieVillage/Map/Resource Registry·MCP 컴파일 0·warning 0·Map 15/15 회귀 0건 | 클라이언트팀장 (client-team-lead) |
|
| 2026-05-18 | v1.5 — MapResourceRegistryWindow 신규 EditorWindow (Sprite→Tile·GameObject→Prefab 자동 변환 + Catalog 등록) | PD 직접 발화 "맵 리소스를 프리팹화 하는것도 툴에서 진행할 수 없을까?" + client-team-lead Opus Task 단일 구현 — Assets/Editor/Map/MapResourceRegistryWindow.cs 514 라인 신규·5종 기능 (A Sprite→Tile·B GameObject→Prefab·C 기존 Asset 직접 등록·D Catalog 미리보기·E 단일 slot)·메뉴 EerieVillage/Map/Resource Registry·MCP 컴파일 0·warning 0·Map 15/15 회귀 0건 | 클라이언트팀장 (client-team-lead) |
|
||||||
| 2026-05-18 | v1.6 — Bootstrap 전체 자동 link 확장 (PD UX 단순화) | PD 직접 발화 "툴 기능이 너무 어려운데? 뭘 해야할지 모르겠어" + 본 PM 자율 처리 — MapAssetBootstrap.cs §1-A 8종 슬롯 자동 link (baseEnemyPrefab·playerPrefab·groundTiles 3종·platformLeftEdge·platformMiddle·platformRightEdge·flyingEnemyPrefabs)·PD Inspector 작업 불요·Bootstrap 1회 + Preview Generate + Apply 3단계 영역 즉시 동작·MCP 컴파일 0·Map 15/15 회귀 0 | 총괄PM (pm-general) |
|
| 2026-05-18 | v1.6 — Bootstrap 전체 자동 link 확장 (PD UX 단순화) | PD 직접 발화 "툴 기능이 너무 어려운데? 뭘 해야할지 모르겠어" + 본 PM 자율 처리 — MapAssetBootstrap.cs §1-A 8종 슬롯 자동 link (baseEnemyPrefab·playerPrefab·groundTiles 3종·platformLeftEdge·platformMiddle·platformRightEdge·flyingEnemyPrefabs)·PD Inspector 작업 불요·Bootstrap 1회 + Preview Generate + Apply 3단계 영역 즉시 동작·MCP 컴파일 0·Map 15/15 회귀 0 | 총괄PM (pm-general) |
|
||||||
|
| 2026-05-19 | v1.7 — 배경 이미지 등록·반복 배치 기능 | PD 직접 발화 "배경 리소스는 맵 가장 하위 레이어에서 항상 반복해서 배치 + BgImg_1 + 스크롤 맵 배경으로 반복 이어붙여서 재생 + Resource Registry 수정" + client-team-lead Opus 단일 Task — (1) MapResourceCatalog.cs `Sprite backgroundSprite` 단일 슬롯 추가 (75→79L) (2) MapApplier.cs ApplyBackgroundLayer 헬퍼·BG_ROOT_NAME·SpriteRenderer drawMode=Tiled·tileMode=Continuous·sortingOrder=-1000·맵 전체 size (239→283L) (3) MapResourceRegistryWindow.cs F 섹션 신규 (Sprite ObjectField + Preview thumbnail + Set·Clear) (4) MapAssetBootstrap.cs (9) backgroundSprite ← Assets/Resources/Map/BgImg_1.png 자동 link (193→200L) · MCP 컴파일 0·Map 15/15 PASS 회귀 0 | 클라이언트팀장 (client-team-lead) |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue