skypeck.fun , i saw this game i want you to create this game for me in which the…
- User
skypeck.fun , i saw this game i want you to create this game for me in which the mediapipe trace the body and bird fly in the 3d
Assistant
Built a complete Sky Peck–style body-controlled 3D flight game in React + Vite + Tailwind, using:
- MediaPipe Pose (
@mediapipe/tasks-vision) to track your body from the webcam - Three.js + React Three Fiber for the 3D world, bird, rings, apples, rocks, trees and clouds
- A single-file Vite build, ready to serve from
dist/index.html
What it does
- Flap / raise your arms → the parrot climbs
- Lean or move left/right → steer through the sky
- Fly through golden rings → +50 points
- Collect red apples → +20 points
- Dodge brown rocks → lose a heart; 3 hits = game over
- Keyboard fallback is included: Arrow keys + Space
Files created/edited
src/App.tsx— main UI, score/energy HUD, start/game-over screens, camera flowsrc/hooks/usePose.ts— MediaPipe Pose landmarker + webcam + skeleton debug overlaysrc/components/Game.tsx— 3D scene, flight physics, camera follow, spawning & collisionssrc/index.css— full-screen, no-scroll layoutindex.html— updated title
Build result
npm run buildcompleted successfully — the app is bundled intodist/index.html.Open the app, allow camera access, then click “Allow camera & fly” to play.
Files built:
src/hooks/usePose.ts,src/components/Game.tsx,src/App.tsx,index.html,src/index.css- MediaPipe Pose (