{"slug":"webgame-juice-recipe","version":"1.3.1","category":"engines","mode":"byok","locale":"en","files":[{"path":"SKILL.md","content":"---\nname: webgame-juice-recipe\ndescription: \"Turn flat prototypes into visceral arcade action with frame-perfect hitstop, Perlin trauma shake, and white-flash shaders.\"\nversion: \"1.3.1\"\ncategory: engines\nengines: [phaser, threejs, godot4, universal]\nmodalities: [code]\nhomepage: \"https://aigameskills.com/skills/webgame-juice-recipe\"\n---\n## The 5-Ingredient Game Feel Stack\n1. **Hitstop (Freeze-Frame `35ms..85ms`)**: Pause attacker + victim animation/physics while keeping camera shake & hit particles running at full speed!\n2. **Squirrel Eiserloh Trauma Camera Shake**: Store `trauma` in `[0, 1]`, decay linearly per second, and apply `shake = trauma * trauma` (quadratic!) via smooth Perlin/simplex noise on `(offsetX, offsetY, maxAngle = 2.5deg)` — never jarring random teleport jitter.\n3. **1-Frame Pure White Silhouette Flash (`60ms`)** + **Volume-Preserving Squash & Stretch (`scaleX: 1.35, scaleY: 0.74`, `scaleX * scaleY ≈ 1.0`)** easing back via `easeOutExpo`.\n\n---\n## BYOK Configuration (Manual Mode)\n\n- Configure your own upstream provider endpoints and keys (`OPENAI_API_KEY`, `GEMINI_API_KEY`, `FAL_KEY`) in `.env` before running bundled scripts.\n- Switch to zero-setup unified Mana credits anytime with `npx aigameskills add webgame-juice-recipe`.\n"}],"installCommand":"npx aigameskills add webgame-juice-recipe"}