Commit Graph
16 Commits
Author SHA1 Message Date
xmanrui 1f67240653 fix: render heatmap and photograph as z-sorted wall decorations
Add them as drawables with zY = TILE_SIZE + 0.5 so they render
on top of wall sprites but below characters. Fixes occlusion issue.
2026-02-25 19:46:03 +08:00
xmanrui 274c19db6f feat: display photograph on right room wall
Load photograph.png and render it on the right work room's top wall,
scaled 4/3x with bottom-anchored positioning.
2026-02-25 18:49:41 +08:00
xmanrui f47b5d5ddc feat: add pixel cat that wanders the office
Orange pixel cat spawns at a random walkable tile and continuously
wanders around the office at 60% walk speed with short pauses.
Cat cannot be selected or assigned to seats.
2026-02-25 17:10:43 +08:00
xmanrui f75fe3f4a8 feat: add phone emoji with emojiScale support on left room desk
Add PHONE furniture type with 📱 emoji at 2/3 scale. Add emojiScale
field to FurnitureCatalogEntry and FurnitureInstance for per-item
emoji sizing.
2026-02-25 16:57:49 +08:00
xmanrui c6f3246ea0 fix: use white background for heatmap so gray cells are visible 2026-02-25 16:37:07 +08:00
xmanrui 0e36beb073 feat: add GitHub-style contribution heatmap on left room top wall
Mock 52×7 green heatmap rendered on the top wall of the left room,
using GitHub's 5-level color scheme. Follows zoom and pan.
2026-02-25 16:32:20 +08:00
xmanrui f820792b41 feat: add page title, PC emoji with rotation support
- Add i18n title "OpenClaw Agents 两室一厅办公室" to pixel office page
- Replace PC sprites with 💻 emoji, camera-only flash effect
- Add rotation field to PlacedFurniture/FurnitureInstance for emoji rotation
- Adjust PC positions for better visual alignment with desks
2026-02-25 15:42:08 +08:00
xmanrui 12e43f5983 feat: add idle furniture interaction and doorway entrance animation
Idle characters now have a 40% chance to walk to nearby furniture
(water cooler, bookshelf, whiteboard, fridge) and linger for 5-15s.
Agents spawning from offline walk in from doorway tiles instead of
appearing directly at their seat.
2026-02-25 13:53:07 +08:00
xmanrui a497240ee7 feat: add camera emoji furniture with flash effect on right room desk
Add emoji-based furniture rendering support. Camera placed at center of
right room desk with a radial flash effect every 10 seconds. Fix surface
item z-sorting for fractional positions.
2026-02-25 05:41:59 +08:00
xmanrui 1de7fa6a2b feat: add i18n agent status labels, color-coded tags, and working state effects
- Add i18n for agent states (working/idle/offline/waiting) in zh/en
- Working tag: green with pulse animation
- Idle tag: yellow with pulse animation
- Offline tag: slate gray, clearly visible
- Working character label: green with breathing blink effect
2026-02-25 05:21:56 +08:00
xmanrui 55a123a659 feat: add horizontal wood table, rearrange left room layout, fix fractional seat pathfinding
- Add TABLE_WOOD_SM_HORIZONTAL type with transposed sprite
- Left room: 4 horizontal desks in 2x2 grid with benches and PCs
- Support fractional furniture positions (half-tile offset for centering)
- Round seat coords for pathfinding while keeping fractional x/y for visual alignment
2026-02-25 04:42:00 +08:00
xmanrui e6dec3623c style: improve agent label visibility with larger gold text and darker shadow 2026-02-25 03:49:07 +08:00
xmanrui 9775828a05 style: add alternating dotted horizontal grid lines for ceramic tile effect 2026-02-25 03:31:06 +08:00
xmanrui 3cef998727 style: thicken floor grid lines for better ceramic tile effect 2026-02-25 03:19:58 +08:00
xmanrui 4f8e73bfae fix: improve floor rendering with seamless tiles and ceramic grid effect
- Use fillRect for floor tiles to eliminate hairline seams between tiles
- Add subtle half-tile grid overlay for ceramic tile floor effect
- Auto-fit zoom uses 0.5-step floor for pixel-perfect screen fit
2026-02-25 03:17:19 +08:00
xmanrui eebe431560 feat: implement Pixel Office Phase 2 - layout editor, persistence, sound, sub-agent visualization
- Add layout editor with floor/wall paint, erase, furniture place/move/rotate/delete tools
- Add editor state management (undo/redo, selection, drag, ghost preview)
- Add EditorToolbar and EditActionBar UI components
- Add layout persistence API (GET/POST to ~/.openclaw/pixel-office/layout.json)
- Add notification sound system (Web Audio API ascending chime on agent completion)
- Add sub-agent visualization via session JSONL parsing
- Fix agent activity API to read from agents.list config and correct session paths
- Add agent name labels above character sprites in canvas renderer
- Add i18n translations for editor features (zh/en)
2026-02-25 01:39:44 +08:00