Restrict Y to 66–90% and X to 15–85% with bottom-anchored positioning so the avatar stays on grass instead of sky or walls.
15 lines
349 B
TypeScript
15 lines
349 B
TypeScript
/** Percentage bounds for pet wander within the LCD viewport. */
|
|
export const PET_WANDER_BOUNDS = {
|
|
/** Horizontal inset — keep pet off side walls */
|
|
minX: 15,
|
|
maxX: 85,
|
|
/** Lower third of LCD — ground where hills/grass/floor render */
|
|
minY: 66,
|
|
maxY: 90,
|
|
} as const;
|
|
|
|
export const PET_WANDER_START = {
|
|
x: 50,
|
|
y: 78,
|
|
} as const;
|