France vs Spain
by Swan VR
Check out "France vs Spain " by Swan VR - featuring Canvas API, Sprite Store, Touch Events and more. 108.0k views. Try this Snapchat Lens on Easy Lens.
108.0k views
Features
- Canvas API: Draws the cartoon pitch, goal frame, aim sweep, scoreboard panels, and matchday reveal lights as crisp procedural graphics.
- Sprite Store: Stores the game-ready cartoon sprites used by the penalty shootout: France rooster facing right, Spain bull facing left, soccer ball, goal net, keeper gloves, and impact burst.
- Touch Events: Captures the penalty input: touch down to charge the kick, release to shoot, and tap after the reveal to replay.
- Sound: One-shot referee whistle cue for match start and reset.
- Sound: Short kick impact cue triggered on every penalty release.
- Sound: Stadium crowd cheer for goals and the final winner reveal.
- Generated Music: Looping instrumental matchday hype bed under the shootout.
- Sprite Manager: Runs the 2D penalty shootout sprites: mascots swap striker and keeper roles, the ball animates toward the goal, and save/goal reactions appear.
- UI Progress Bar: Kick power meter positioned at [0.5, 0.86] with width 0.78 and height 0.035, safely below the action and above the bottom edge.
- Text On Screen: Top broadcast-style title for the France vs Spain penalty oracle.
- Text On Screen: Dynamic score display for France and Spain during the shootout.
- Text On Screen: Dynamic instruction and round status text for charging, shooting, goals, saves, and sudden death.
- Text On Screen: Large final reveal text that announces the playful predicted winner with matchday hype.