Sweet Pair
by SAQIB
Check out "Sweet Pair" by SAQIB - featuring Canvas API, Sprite Store, Sprite Manager and more. 121.9k views. Try this Snapchat Lens on Easy Lens.
121.9k views
Features
- Canvas API: Draws only transparent correct-match sparkles, transformation rings, and the four-match confetti celebration. It adds no full-screen color, image, halo, panel, or other background, so the live Snapchat camera remains visible throughout.
- Sprite Store: Stores eight photorealistic transparent food sprites plus the toasted-sandwich and Belgian-waffle correct-match transformations. The additional crepe and pancake transformations are kept in a companion sprite store so all four matches can show a finished food presentation.
- Sprite Manager: Creates the four Snapchat-safe dessert targets and draggable center filling, detects drops, and stages polished correct-match presentations over the unobstructed live camera. Chocolate remains inside opened toast, honey and butter remain on the waffle, custard remains inside the crepe, and strawberry cream remains layered through the pancakes; after all four stay completed, gameplay stops for a confetti-and-victory celebration until Restart is tapped. Wrong drops still shake the selected dessert.
- Sound: Plays a light click immediately when the player picks up the center filling to drag it toward a dessert.
- Sound: Plays the bright correct-match chime.
- Sound: Plays the soft food reveal pop after a correct match.
- Sound: Plays a short playful negative buzzer for a wrong dessert.
- Sound: Plays a short descending playful sting as the lose screen appears.
- Sound: Plays a clean click when Restart is tapped.
- Text On Screen: Displays animated Perfect!, Wrong!, the large bright-pink outlined You Lose! message, and a bouncing Sweet Victory! title after all four fillings are matched.
- UI Button: Single centered Restart control for both the lose screen and the completed four-match victory screen. Position [0.5, 0.72], scale 1.0, safely separated from the result title and screen edges.
- Sprite Store: Stores the two remaining polished correct-match food transformations: pale-yellow custard revealed inside the rolled crepe and fluffy pink strawberry cream layered through the pancake stack. Both keep the same realistic three-quarter framing as the original desserts.
- Generated Music: Loops a very light, playful instrumental confectionery game bed beneath the feedback sounds.
- Touch Events: Captures center-filling drag-and-drop gestures onto the dessert targets, blocks conflicting Snapchat swipe behavior during a drag, and keeps the standard interaction hint visible.