쿼터뷰 마을 뷰 v1: 아이소메트릭 캔버스 + 고양이 이동·작업 애니메이션
- 11x11 아이소 타일 (잔디·물가·나무·장식), 회관/부두/벌목장 배치 - 고양이: 미배치 시 마을 배회, 배치 시 건물로 걸어가 작업(바운스+💦) - 생산 말풍선, 건물 배지 클릭으로 산출물 회수 - 렌더 루프는 engine.peek() 라이브 참조 사용 (매 프레임 클론 회피) - 컬러 이모지에 fillStyle 알파가 적용되는 문제 수정, 페이지 타이틀 변경 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
이 커밋은 다음에 포함됨:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { useState } from "react";
|
||||
import { useGame } from "@/hooks/useGame";
|
||||
import VillageView from "@/components/game/VillageView";
|
||||
import { engine, catRate } from "@/lib/game/engine";
|
||||
import { APTITUDE_LABEL, PASSIVES } from "@/lib/game/data";
|
||||
import type { Building, Cat, GameState } from "@/lib/game/types";
|
||||
@@ -28,6 +29,8 @@ export default function Game() {
|
||||
<div className="space-y-8">
|
||||
<TopBar state={state} onAdopt={() => run(() => engine.adopt())} />
|
||||
|
||||
<VillageView />
|
||||
|
||||
{message && (
|
||||
<p className="rounded-lg bg-amber-50 px-4 py-2 text-sm text-amber-700 dark:bg-amber-950 dark:text-amber-300">
|
||||
⚠️ {message}
|
||||
|
||||
새 이슈에서 참조
사용자 차단