35 lines
1.5 KiB
Markdown
35 lines
1.5 KiB
Markdown
# Changelog
|
|
|
|
## 1.1.0
|
|
|
|
He gets a life.
|
|
|
|
- **Weather**: `denWeather('rain'|'snow'|'clear')`. Rain sends him to shelter under
|
|
the nearest POI, where he sulks until it passes. Snow delights him and makes his
|
|
prints linger 3x longer.
|
|
- **Treats**: `denTreat(x, y)` or the `treat` shell command. He sprints for it, eats
|
|
it, and it counts toward trust. Hunger builds over a session and he'll say so.
|
|
- **Scroll reaction**: he's carried by the page when you scroll, scrambles back to
|
|
your cursor, and arrives winded.
|
|
- **Personality drift**: idle mutterings change based on hunger, and on whether a
|
|
returning visitor has ever actually touched him.
|
|
- Trust is now pets + treats throughout (gift threshold, resting behaviour, emotes).
|
|
|
|
## 1.0.0
|
|
|
|
First release. He exists.
|
|
|
|
- Autonomous critter: chase / rest / wander / errand / mischief states, turn-rate
|
|
limited movement, stride-based paw prints that rotate to face travel direction
|
|
- Burrow spawn animation, ten-minute idle sleep cycle with bed and circling ritual
|
|
- Emote bubbles and speech; `denSay` / `denYip` helpers
|
|
- `localStorage` memory: visits, lifetime pets, name. Pet milestones at 10/25/50/100,
|
|
behaviour changes with trust
|
|
- Portable shell tab with critter commands
|
|
- POI system via `data-den-poi`
|
|
- Mischief system via `data-den-steal` — steals below 25 pets, gifts at and above
|
|
- Event API: `celebrate`, `investigate`, `alarm`, `mischief`, `sleepy`, `zoomies`
|
|
- Optional PHP presence endpoint with HMAC'd fingerprints and per-IP caps
|
|
- Secret typed codes and the Konami code
|
|
- Respects `prefers-reduced-motion`
|