π¦ Watermelon Yee
By yee
Based on the following code

π Watermelon Game
Just Sparrow
47 views Β· 19d ago
Watermelon Yee π¦
A Suika-style fruit-merging game where every fruit is "Yee" β the singing green-dinosaur meme. Drop fruits into a portrait container, merge identical pairs to evolve them up the chain, and try to make a watermelon β without overflowing the danger line at the top. Each tier is a Yee clip tinted in its fruit's colour; on every merge the Yee springs to life and shouts, pitched to the tier.
A re-skin of Watermelon Game: painted fruits became an embedded Yee clip, recoloured per tier with the original sketches layered back on, the merge sound became the clip's own voice, and the title became π¦ Watermelon Yee.
How to Play
- Tap GAME START.
- Move left/right to aim the fruit hovering at the top.
- Tap or lift to drop it straight down.
- Two of the same fruit touching merge into the next tier and score points.
- Keep merging up to a π watermelon β the goal!
- If a fruit's center stays above the dashed red line for 1.5 s, it's game over; launching one off the top is an instant loss.
Features
Yee Fruits
Every fruit's body is the Yee clip drawn into its circle:
- Frozen at rest, animates on merge. The clip holds one frame while fruits hover and settle; the moment a merge happens it plays once, then freezes again.
- Per-fruit colour filter. A
colorblend recolours the Yee to each fruit's hue (cherry-red, grape-purple, melon-greenβ¦) while keeping its shading, so tiers read by colour. - Original sketches on top. Cherry stem, strawberry seeds, orange segments, watermelon stripesβ¦ are drawn over the tinted Yee on the outer ring, so the face still shows.
- Rolls with the fruit β the clip spins to match each fruit's rolling angle.
Fruit Evolution Chain
Eleven tiers; each merge produces the next. Small fruits spawn most often.
| Tier | Fruit | Score | Spawnable |
|---|---|---|---|
| 1 | π Cherry | 1 | β |
| 2 | π Strawberry | 3 | β |
| 3 | π Grape | 6 | β |
| 4 | π Orange | 10 | β |
| 5 | π Persimmon | 15 | β |
| 6 | π Apple | 21 | merge |
| 7 | π Pear | 28 | merge |
| 8 | π Peach | 36 | merge |
| 9 | π Pineapple | 45 | merge |
| 10 | π Melon | 55 | merge |
| 11 | π Watermelon | 66 | merge |
Evolution Chart & Next
The bottom "Evolution" strip and the header "Next" preview show each tier as a still Yee snapshot, tinted with its colour and sketch. Higher tiers stay "?" until first produced, which plays a chime and pop.
Double Watermelon Bonus
Bumping two watermelons makes both vanish for +100, with a fanfare, confetti, and a toast.
Danger Zone
A dashed red line near the top; when a fruit's center crosses it, the area pulses red through a 1.5 s countdown. Brief bounces don't count; fresh drops get a 1.2 s grace period.
Sound
The merge sound is the clip's own "Yee!", and its pitch rises with the tier (deep "Yeee" early, a high "Yee!" an octave up for watermelon). Synth extras: a drop "tup", a soft collision tap, an unlock arpeggio, a 2-second watermelon fanfare, and game-over / restart arpeggios. A π / π mute silences all, the Yee included; audio auto-resumes from background.
Quality-of-Life
- π / π Mute and π Home buttons.
- Drop cooldown (500 ms), weighted spawning, live rescale on resize, and a game-over overlay with final score and Play Again.
Design
- Portrait (9:16) in
vwunits β fits a phone with no scrolling. - White background, warm dark-brown outline framing every Yee.
- π¦ Watermelon Yee title; Fredoka + Jua fonts.
Tech
- Single HTML file β no build, no external assets (one Google Fonts link).
- Canvas 2D; each body is
drawImagefrom a hidden<video>, recoloured with acolor-blend fill and overlaid with sketch marks. - The clip is embedded inline as a base64
data:video/webmURI (VP9 + Opus), re-encoded for reliable playback. - Play-on-merge: the video doesn't loop β rewound and played once per merge, then frozen; an offscreen frame cache keeps the body filled.
- The clip's audio is decoded to a buffer and replayed per merge with a tier-based
playbackRate, bypassing the low-pass master so the voice stays clear. - Reference icons use a tinted still snapshot, cached per colour. Web Audio for synth tones; custom physics.
Loading comments...
Other Codes
No other codes yet
