feat(lobby): 로비 카메라를 플레이어 추종(follow)으로 #57
Reference in New Issue
Block a user
Delete Branch "feature/p15-lobby-camera-follow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
요약
로비 맵에서 카메라가 플레이어를 따라 스크롤되도록 변경했습니다. 전투/런 맵은 기존 고정 framing을 유지합니다.
배경
MSW 카메라는 기본적으로 플레이어를 follow하는데, 전투맵용
MapCamera(gen-camera)가ConfineCameraArea=true(맵 영역 고정)로 그 follow를 억제합니다. 로비는 map01 클론이라 이 고정 카메라를 상속받아 걸어도 화면이 안 움직였습니다.변경 내용
tools/map/gen-lobby-map.mjs: 로비 맵 루트에서script.MapCamera제거(고정 framing 억제 해제).tools/player/gen-lobby-npc.mjs:LobbyMobility가 로비 진입 시 플레이어 추종 카메라를 설정 —ConfineCameraArea=false(follow 핵심) +ScreenOffset=(0.5,0.5)(중앙) +ZoomRatio=90(전투맵과 동일 줌, 전환 위화감 최소) +CameraOffset=(0,0). (MapCamera와 공존하면 ConfineCameraArea true/false가 경쟁하므로 루트에서 MapCamera를 빼는 게 필수.)검증 (메이커 플레이테스트)
ConfineCameraArea=true(고정 framing 복원, follow 누설 없음).ConfineCameraArea=false(follow 재적용).재생성
🤖 Generated with Claude Code