[Feature]: More noticeable permission alert — jump animation + exclamation bubble + face camera

Author: splash-of-coffeeCreated May 31, 2026Updated May 31, 2026

Idea

When an agent requests permission approval, the current amber "..." bubble is easy to miss. I'd love a more attention-grabbing alert:

  1. Red exclamation bubble — replaces the "..." with a red "!" for urgency
  2. Jump animation — character bounces 3 times with decreasing height (~0.75s total)
  3. Face camera — character turns to face DOWN (toward the user) during permission state, then restores original direction when cleared

The effect feels like the character is startled and looking at you for help.

Permission alert demo

Implementation sketch

I have a working prototype that touches:

  • New bubble-alert.json sprite (red "!" on white, same 11×13 format)
  • Jump offset via sine wave with decay in renderer.ts
  • prePermissionDir on Character to save/restore facing direction
  • Constants: PERMISSION_JUMP_HEIGHT_PX, PERMISSION_JUMP_DURATION_SEC, PERMISSION_BOUNCE_COUNT

Happy to open a PR if this fits the project's direction.

Source: pixel-agents-hq/pixel-agents