Frog Snack Attack
by Nandini Tevar
Check out "Frog Snack Attack" by Nandini Tevar - featuring Canvas API, Sprite Manager, Sprite Store and more. 133.3k views. Try this Snapchat Lens on Easy Lens.
133.3k views
Features
- Canvas API: Draws the flat cartoon pond environment, fixed log, thin straight tongue animation, capture ripples, counters, instructions, and animated round-end messages.
- Sprite Manager: Displays the fixed frog and ten independently moving fly sprites, with gameplay collision handled by the controller.
- Sprite Store: Stores matching closed-mouth and open-mouth side-view frog poses plus the reusable cricket texture. The controller swaps frog poses only during each tongue strike.
- Sound: Plays one light bubble-pop pickup sound for each fly caught.
- Sound: Plays one short cheerful non-looping victory jingle when the tenth fly is caught.
- Sound: Loops the user-provided fly-flight audio while live flies are moving, stops immediately at win/loss, and restarts on replay.
- Sound: Plays one short descending cartoon loss sting when the fifth try ends without clearing the pond.
- Haptics: Provides one short tactile tick for each fly contacted by the tongue.
- Touch Events: Uses each screen tap to fire one fixed horizontal tongue shot, or restart after a finished round.
- Confetti: Win confetti burst (must render on top of HUD and trigger on last cricket)