품종별 스프라이트 8종 적용 (6포즈: 대기·걷기2·일·요리·잠)

- 시트 8장을 연결 성분 분석으로 슬라이스 (이미지에 새겨진 파일명 텍스트는
  면적 필터로 배제), 배경 플러드필 투명화, 256px 축소
- CAT_SPRITE_DIR 8품종 등록, catSprite 폴백 체인 (품종→work→기본)
- VillageView: src 키 지연 로드 캐시, 부엌 작업 시 cook(냄비 젓기) 포즈
- sleep 포즈는 낮/밤 시스템(3단계)용으로 준비됨

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
이 커밋은 다음에 포함됨:
kjs
2026-08-13 13:58:31 +09:00
co-authored by Claude Fable 5
부모 01cca9232c
커밋 e8c062d14f
50개의 변경된 파일과 42개의 추가작업 그리고 12개의 파일을 삭제
+9 -2
파일 보기
@@ -6,10 +6,17 @@ export const BASE_RATE = 0.2;
// 품종별 스프라이트 폴더 (public/assets/cats/{폴더}/). 미등록 품종은 기본(오렌지 태비) 사용
export const CAT_SPRITE_DIR: Record<string, string> = {
// 예: korean_shorthair: "korean_shorthair", ← 품종 시트가 준비되면 등록
korean_shorthair: "korean_shorthair",
munchkin: "munchkin",
norwegian_forest: "norwegian_forest",
bengal: "bengal",
russian_blue: "russian_blue",
persian: "persian",
sphynx: "sphynx",
maine_coon: "maine_coon",
};
export type CatFrame = "idle" | "walk1" | "walk2" | "work";
export type CatFrame = "idle" | "walk1" | "walk2" | "work" | "cook" | "sleep";
export function catSprite(breed: string, frame: CatFrame): string {
const dir = CAT_SPRITE_DIR[breed];