Snack Panic
by domac
Check out "Snack Panic" by domac - featuring Face Events, FaceLandmarks, Sprite Store and more. Try this Snapchat Lens on Easy Lens.
Features
- Face Events: Starts and arms Snack Panic with mouth-open expression events and reads head-roll tilt for responsive mouth-zone steering.
- FaceLandmarks: Supplies stable 2D mouth landmarks for the active catch zone and mouth-open ratio calculation.
- Sprite Store: Holds eight isolated, centered, upright arcade food sprites: burger, pizza, boba, broccoli, donut, taco, fries, and a rare glowing jalapeno. All core sprites must keep transparent backgrounds, clean silhouettes, and thick dark outlines for responsive animation.
- Sprite Manager: Renders falling snacks in face-aware screen layers, safely hides them behind the closed-mouth face guard, and animates each open-mouth catch into the tracked mouth target.
- Face Deformation: Drives Snack Mode plus escalating miss reactions: a subtle sad mouth on miss one, squashed eyes on miss two, and an oversized crying mouth on the final miss before the reaction card capture.
- Sound: One-shot wet cartoon gulp/pop feedback for good snack catches and Snack Mode.
- Sound: One-shot harsh arcade buzzer/thud for broccoli penalties, misses, and game over.
- Device Camera: Captures a frozen close-up just after the third-miss crying reaction is applied, giving the final meme card a genuine fail-frame image.
- Canvas API: Procedurally draws localized chomp crumbs, camera-plane face guard masking, sauce splats, X-eye final-miss graphics, and the share-ready meme card with its dynamic caption and rank stamp.
- Text On Screen: Anchored top-center arcade scoreboard showing the live score, misses, and combo while preserving Snapchat's upper safe area.
- Text On Screen: Lower-safe-area launch prompt that disappears after the first mouth-open start.
- Text On Screen: Centered arcade callout for catches and escalating misses, then a clear TAP TO REMATCH action after the final meme card is generated.
- Sound: Distinct burger drop thump, played once whenever a cheeseburger enters the Snack Panic playfield.
- Sound: Distinct fluttering pizza swoosh, played once whenever a pizza slice enters the playfield.
- Sound: Distinct heavy liquid boba plop, played once whenever a boba cup enters the playfield.
- Sound: Distinct airy broccoli boing, played once whenever broccoli drifts into the playfield.
- Sound: Distinct soft donut bounce, played once whenever a frosted donut enters the playfield.
- Sound: Distinct crisp taco rattle, played once whenever a taco enters the playfield.
- Sound: Distinct French fries carton rattle, played once whenever fries enter the playfield.
- Sound: Distinct hot jalapeno sizzle, played once when the rare pepper power-up enters the playfield.
- Sound: A higher-pitched catch layer used for escalating middle combo streaks.
- Sound: An ultra-high chipmunk-style catch layer reserved for 10+ catch streaks.
- Persistent Storage: Saves only the local personal-best score for an asynchronous Snack Panic rival marker; no face frames or motion histories are stored.
- Head Particles: Starts disabled in the controller, then emits bright fire embers from the mouth for three seconds after the rare jalapeno is eaten while incoming broccoli is auto-incinerated.
- Touch Events: Handles the on-screen TAP TO REMATCH control after the final reaction card; normal Snapchat gestures remain available.
- Sound: One-shot wet cartoon sauce splat played for the first missed snack.
- Sound: One-shot descending slide-whistle cue played for the second missed snack.
- Sound: One-shot arcade buzzer and cartoon thud for the third miss and final reaction card.
- Head Particles: Starts disabled and releases large cartoon sweat drops after the second missed snack.