๐Ÿฆ– Jumping Yee

By yee

yee

0 subscribers

Based on the following code

๐Ÿค Jumping Bird

๐Ÿค Jumping Bird

Just Sparrow

24 views ยท 20d ago

4 viewsยท1h ago

#yee #game

Jumping Yee ๐Ÿฆ–

A single-file tap-to-flap side-scroller in the Flappy Bird mold, in the same picture-book style as Watermelon Game, Jumping Bird, and Snake (warm brown outlines, pastel fills, rounded canvas, Fredoka + Jua type). The twist: the bird's round body is a looping clip of "Yee" โ€” the singing green-dinosaur meme โ€” that replays on every flap. Fly through a corridor of saguaro cacti, keep tapping to stay airborne, and beat your best.

It began as a re-skin of Jumping Bird: the chick's drawn body became an embedded WebM clip (re-encoded for reliable playback), the title became ๐Ÿฆ– Jumping Yee, and a frame cache was added so the body never flickers on a flap.

How to Play

  1. Tap GAME START to enter.
  2. Tap the play area (or Space / โ†‘) to flap โ€” each flap snaps Yee up and replays the clip; gravity pulls it down.
  3. Aim for the gap between each pair of cacti โ€” +1 per pass.
  4. Hitting a cactus or the ground ends the game; clipping the ceiling just halts upward velocity.
  5. Tap Play Again, or ๐Ÿ  Home to return to the start.

Features

Yee (the bird)

A round character whose body is a live WebM clip drawn into a circle:

  • The clip's current frame is the body fill, so Yee animates โ€” and each flap rewinds it to the start, syncing the motion to your taps.
  • Brown circular outline, an orange beak that opens on each flap, and a white eye โ€” all sized to the radius so they scale together.
  • Body rotation follows velocity โ€” nose-up rising, nose-dive falling.

Flicker-Free Body

Each flap rewinds the clip (currentTime = 0); during that brief seek the video has no frame for ~1 paint. The most recent decoded frame is kept in an offscreen canvas and drawn whenever a live frame isn't ready, so the body never flashes empty. A one-time decoder warm-up through the audio graph keeps replays stutter-free.

Cactus Obstacles

Each pair is two saguaro cacti โ€” one from the ceiling, one from the ground โ€” split by a gap:

  • Sage-green trunk with a rounded tip facing the gap and faint vertical ribs.
  • A pink-and-yellow flower on every ground cactus.
  • The gap shrinks as the score climbs โ€” harder without speeding up.

Tip-Area Forgiveness

The tip is a semicircle, so its hitbox is shrunk vertically โ€” Yee can lightly graze the rounded corner without dying.

Best-Score Persistence

The high score is stored in the browser; beating it shows a โœจ New Best โœจ flourish.

Sound

The flap sound is the clip's own audio โ€” "Yee" replays on every tap instead of a synth chirp. Everything else is synthesized: a pentatonic score chime (pitch rises with the streak), a soft collision thud, and game-over / restart arpeggios. A ๐Ÿ”Š / ๐Ÿ”‡ mute button silences all; audio auto-resumes from background.

Quality-of-Life

  • ๐Ÿ”Š / ๐Ÿ”‡ Mute (bottom-left) and ๐Ÿ  Home (bottom-right).
  • Single tap to flap โ€” mouse, touch, Space, โ†‘.
  • Live rescale on resize, and a game-over overlay with score, best, and Play Again.

Design

  • Portrait (9:16) โ€” fits a phone with no scrolling.
  • Sky-blue canvas, dark-brown outlines on every shape, fully rounded corners.
  • Yellow + orange pressable buttons; ๐Ÿฆ– Jumping Yee title; Fredoka + Jua fonts.

Tech

  • Single HTML file โ€” no build, no external assets (one Google Fonts link).
  • Canvas 2D; the body is drawn with drawImage from a hidden <video>.
  • The clip is embedded inline as a base64 data:video/webm URI (VP9 + Opus), re-encoded to decode and loop reliably.
  • Offscreen frame cache keeps the body filled during the per-flap rewind.
  • Web Audio API for synth tones, with the clip routed through the graph for glitch-free replays. Fixed-timestep physics at 60 Hz.

Loading comments...

Other Codes

No other codes yet