Rose Win Frame
by Nimra Rana
Check out "Rose Win Frame" by Nimra Rana - featuring Canvas API, Decorative Camera Overlay, Touch Events and more. 388.3k views. Try this Snapchat Lens on Easy Lens.
388.3k views
Features
- Canvas API: Renders the sliding puzzle board in 2D and draws the panda image tiles into their current positions each frame.
- Decorative Camera Overlay: Rose flower frame overlay for win selfie moment
- Touch Events: Provides touch input (touch down/move/up) for dragging tiles and tap to restart after completion and to exit the selfie moment.
- Sprite Store: Provides the single cupcake character portrait texture used as the source image for cutting into puzzle tiles.
- Text On Screen: Shows concise instructions during gameplay and, after solving, shows a short selfie prompt like "Solved! Take a selfie with the panda. Tap to play again".
- Selfie Attachments: A realistic 3D mini cupcake / tiny dessert mascot sitting near the RIGHT side of the user’s head for the post-win selfie moment.
- Decorative Camera Overlay: Candy-sprinkle / tiny-hearts / sugar-sparkle border overlay for the post-win selfie moment