RAVENFALL Bird Shooter (Verlet wire physics, GPU bullet trails, bird AI, mobile controls)

Merry Christmas, Three.js community!

Here’s my moody first-person bird shooter: :black_bird: RAVENFALL. Ravens perch on power lines, circle overhead, and dive-bomb your face. Shoot them down.

Play on CodePen →

Notable features:

  • Mobile controls using nipplejs (dual joysticks, sprint via force threshold)

  • Verlet wire physics: birds perch on cables and actually weigh them down

  • State-driven bird AI: perch, flock, swoop, attack, retreat

  • GPU-instanced bullet trails with custom billboard shader

  • Instanced feather/blood particles on kills

  • Multi-kill piercing (strict ray-line check, not bounding spheres)

  • Scoring combos: streaks, swoop bonuses, sniper distance, multi-kill rewards

  • Dynamic shadow frustum following the player

  • GLTF gun with shooting animation

  • Wing-folding via animation frame freezing (no extra assets)

  • Config-driven design: tweak bird count, swoop chance, wire stiffness, etc.

Hope it helps someone get started or just have some fun blasting ravens!

3 Likes