Skip to content

Commit 88cab9b

Browse files
sktbrdclaude
andauthored
fix(stake): real Ephraim cut-out, and a larger chest trigger (#248)
Ephraim — replaces the interim asset with the photo supplied for him. It arrives already alpha-cut at 433x577, within a few pixels of Will's 442x564, so it finally matches the other riders instead of being a landscape crop upscaled 4x from a 191x148 thumbnail. The alpha profile reads as a full-body standing figure (narrow head at 10-20%, torso 30-60%, legs, feet), so the roster tile takes Will's 400% face zoom and StakeOrbit's aspect ratio is corrected to 577/433. Chest — the trigger grew from 60 to 92 (prompt) and 68 to 104 (rewards ready). The scene renders the object with padding inside its own canvas, so the chest read smaller than its box; with the plate gone there is nothing to anchor the size but the object itself. The badge moves inboard now that there is no rectangle corner to hang off. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 643fb0d commit 88cab9b

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

public/stake/cutout/ephraim.png

-349 KB
Loading

src/components/stake/CharacterSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const CHARACTERS: Character[] = [
158158
accentTo: "to-orange-600",
159159
ring: "ring-orange-400",
160160
hex: "#fb923c",
161-
face: { size: "300%", pos: "50% 8%" },
161+
face: { size: "400%", pos: "50% 8%" },
162162
stats: { speed: 7, air: 7, ollie: 7, spin: 7, rail: 7, flow: 8, devSkills: 6, creativity: 8 },
163163
},
164164
{

src/components/stake/MorLootbox.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export function MorLootbox({
295295
aria-label={t("lootbox.enableRewards")}
296296
className="relative block cursor-pointer opacity-70 drop-shadow-[0_6px_14px_rgba(0,0,0,.55)] transition-opacity hover:opacity-100"
297297
>
298-
<ChestIcon size={60} />
298+
<ChestIcon size={92} />
299299
</Link>
300300
</TooltipTrigger>
301301
<TooltipContent side="left">{t("lootbox.enableRewards")}</TooltipContent>
@@ -360,10 +360,10 @@ export function MorLootbox({
360360
transition={{ duration: 2, repeat: Infinity, ease: "easeInOut" }}
361361
/>
362362
<span className="relative">
363-
<ChestIcon size={68} />
363+
<ChestIcon size={104} />
364364
</span>
365365
<span
366-
className="absolute -right-1.5 -top-1.5 flex min-w-5 items-center justify-center rounded-full px-1.5 text-[10px] font-black"
366+
className="absolute right-1 top-1 flex min-w-5 items-center justify-center rounded-full px-1.5 text-[10px] font-black"
367367
style={{ backgroundColor: MOR_GREEN, color: "#04140d" }}
368368
>
369369
{badge >= 1 ? Math.floor(badge) : "!"}

src/components/stake/StakeOrbit.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ const RIDER_VISUAL: Record<
9292
ephraim: {
9393
hex: "#fb923c",
9494
image: "/stake/cutout/ephraim.png",
95-
face: { size: "300%", pos: "50% 8%" },
96-
ratio: 576 / 764,
95+
face: { size: "400%", pos: "50% 8%" },
96+
ratio: 577 / 433,
9797
},
9898
};
9999

0 commit comments

Comments
 (0)