Improve pet habitat UX with ground-aligned walk, floating rename, and demo points.

Anchor room floors on resize, constrain wandering to a ground zone, add an editable floating name badge on the avatar screen, and let profile demo tools grant 100 test points.
This commit is contained in:
2026-05-24 09:33:08 -06:00
parent cd4f7bc7e0
commit 19b0ece147
9 changed files with 357 additions and 24 deletions

View File

@@ -50,7 +50,16 @@ export function AvatarPageContent() {
return (
<div className="flex w-full flex-col">
<div className="bit-home-pet-stage">
<PetHabitat customization={customization} fillViewport />
<PetHabitat
customization={customization}
fillViewport
nameEditable
onNameChange={(name) =>
setCustomization((current) =>
current ? { ...current, name } : current,
)
}
/>
</div>
<section className="grid w-full gap-6 pt-6 lg:grid-cols-2 lg:items-start">